Opened 7 years ago

Closed 7 years ago

#9436 closed enhancement (wontfix)

Build Firefox with clang

Reported by: DJ Lucas Owned by: blfs-book@…
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 bdubbs@…, 7 years ago

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.

comment:2 by ken@…, 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 DJ Lucas, 7 years ago

Resolution: wontfix
Status: newclosed

No further comments, I'm just going to close it.

Note: See TracTickets for help on using tickets.