Closed Bug 1379517 Opened 7 years ago Closed 5 years ago

memory/mozalloc/mozalloc_abort.cpp:72:1: error: all paths through this function will call itself [-Werror,-Winfinite-recursion]

Categories

(Core :: Memory Allocator, defect)

ARM
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1396889

People

(Reporter: jbeich, Unassigned)

References

(Blocks 1 open bug)

Details

$ cc -v
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Target: armv6-unknown-freebsd11.1-gnueabihf
Thread model: posix
InstalledDir: /usr/bin

$ pkg install autoconf213 gmake python27
$ cd js/src/
$ autoconf-2.13
$ ./configure --disable-jemalloc --enable-warnings-as-errors
$ gmake
[...]
In file included from objdir/memory/mozalloc/Unified_cpp_memory_mozalloc0.cpp:11:
memory/mozalloc/mozalloc_abort.cpp:72:1: error: all paths through this function
      will call itself [-Werror,-Winfinite-recursion]
{
^
1 error generated.

Is this bug still relevant?

Flags: needinfo?(jbeich)

No. Builds fine with Clang 8.0.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jbeich)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.