Closed Bug 1168671 Opened 11 years ago Closed 10 years ago

central fails to compile with clang-3.5 and gnu libstdc++ in ubuntu 14.04

Categories

(Firefox Build System :: General, defect)

39 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jya, Unassigned)

Details

Compilation of mbft/tests/TestAtomics.cpp fails with: /usr/bin/../lib/gcc/i686-linux-gnu/4.8/../../../../include/c++/4.8/bits/atomic_base.h:496: undefined reference to `__atomic_load_8' 0:18.07 clang: error: linker command failed with exit code 1 (use -v to see invocation) This seems related to the problem describe here: https://llvm.org/bugs/show_bug.cgi?id=23262 my .mozconfig contains: CC=/usr/bin/clang-3.5 CXX=/usr/bin/clang++-3.5 LLVMCONFIG=/usr/bin/llvm-config-3.5
it appears my linux VM is 32 bits, and using mozilla::Atomic<T> where sizeof(T) is 8 fails (e.g. with uin64_t and int64_t) seeing that building on 32 bits platform isn't supported anymore, feel free to close this bug as invalid
(In reply to Jean-Yves Avenard [:jya] from comment #1) > it appears my linux VM is 32 bits, and using mozilla::Atomic<T> where > sizeof(T) is 8 fails (e.g. with uin64_t and int64_t) > > seeing that building on 32 bits platform isn't supported anymore, feel free > to close this bug as invalid Don't we still build 32-bit linux and Windows on infra, and don't most Windows folks build 32-bit as well? I'm confused... Also, if it's not supported, shouldn't ./configure error out instead of the build just breaking halfway through? Anyway, also 8 months old, any idea if this is still happening? I'm kinda assuming you reimaged the VM and moved on...
Component: General → Build Config
Flags: needinfo?(jyavenard)
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jyavenard)
Resolution: --- → WORKSFORME
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.