Opened 7 years ago
Closed 7 years ago
#9436 closed enhancement (wontfix)
Build Firefox with clang
Reported by: | DJ Lucas | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | x-future |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Have had a report of issues with GCC-7 on firefox. Workaround is, of course, to relax the opts to -O2 (in the book). Was noted by darklink in IRC that using clang provides a working build as well. Since clang will already be required for rustc, suggest looking into using it for the FF build as well. Thought?
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
This ticket is based on a false premise - llvm is required for rustc, clang is an optional extra in llvm. At the moment we are using llvm3 in /opt and NOT building clang for that version of llvm3, so not everybody who builds firefox will have clang.
If people want to use clang, and have any useful notes beyond that export, the wiki is probably the best place for those notes.
comment:3 by , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
No further comments, I'm just going to close it.
Is it more than just adding 'export CC=clang'. Adding an option like that would be simple enough.
OTOH, how much does -O3 provide over -O2? From the users perspective, I suspect nothing.