Closed Bug 1389568 Opened 7 years ago Closed 7 years ago

Firefox 56 fails to build without clang under gnu/linux

Categories

(Firefox Build System :: General, defect)

56 Branch
Unspecified
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170810190248

Steps to reproduce:

build firefox 56.0b1


Actual results:

checking for llvm-config... /usr/bin/llvm-config
ERROR: Could not find the clang shared library in the path /usr/lib
returned by `llvm-config --libdir` (searched for files [u'libclang.so.1', u'libclang.so']).
Please check your system configuration.

*** Fix above errors and then restart with\
               "make -f client.mk build"
make[2]: *** [/tmp/firefox-56.0b2-1-work/src/firefox-56.0b2/client.mk:383: configure] Error 1



Expected results:

Build should work without clang
It seems firefox 56.0bN requires clang to be available. 

Now, this is not really an issue for most firefox users. But for those of us that compile our own programs using the gnu toolchain this prevents us from using your browser.

Are Mozilla deprecating the GNU toolchain? As an outsider i've failed to locate any information on this subject.
OS: Unspecified → Linux
Version: 55 Branch → 56 Branch
Component: Untriaged → Build Config
Product: Firefox → Core
Are you enabling stylo?  clang is required to build stylo, but you don't necessarily have to use it as the C++ compiler for the browser itself.

Using --disable-stylo should be enough to not require clang.
Flags: needinfo?(bugzilla)
I wasn't explicitly enabling stylo, but it was indeed enabled by default. Disabling it allows the build to continue. Thanks!
Flags: needinfo?(bugzilla)
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.