stylo: compile with --enable-stylo , force-cargo-libray-build module always error on linux
Categories
(Firefox Build System :: General, defect, P4)
Tracking
(Not tracked)
People
(Reporter: hwjeastd07, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(9 files, 1 obsolete file)
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
Updated•8 years ago
|
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
| Reporter | ||
Comment 8•8 years ago
|
||
| Reporter | ||
Comment 9•8 years ago
|
||
| Reporter | ||
Comment 10•8 years ago
|
||
| Reporter | ||
Comment 11•8 years ago
|
||
| Reporter | ||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
| Reporter | ||
Comment 14•8 years ago
|
||
| Reporter | ||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
| Reporter | ||
Comment 17•8 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 18•6 years ago
|
||
Same problem here, from amd64-[sun|pc]-solaris2.11 using the [Net|Open]BSD ports tree (thx joyent).
It seems that the build system now unconditionally requires AppleClang (which is the default on the platforms pkgsrc natively supports, or that one temporarily override the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to clang's default header search path if using GNU CC.
Comment 19•6 years ago
|
||
which also implies that LLVM and clang be installed as a prerequisite (ports build system takes care of that here)
Comment 20•6 years ago
|
||
this still leaves system header paths unsatisfied (stddef.h not found), despite /usr/include already in the search paths
Comment 21•6 years ago
|
||
Building stylo requires clang/llvm. If bindgen's invocation of clang isn't finding the correct headers, one or more of the following things might be broken:
- an appropriate --target isn't being passed to clang; we pass --target for a non-exhaustive set of os/arch combinations:
your combination may not be in there. This is particularly important for cross-compiles, but it probably doesn't hurt for native compiles.
- your clang installation may be broken in some way, since it apparently can't find headers on its own.
- bindgen might not be using the clang that you are using when you compile from the command line.
- you may need to set BINDGEN_CFLAGS in your mozconfig in the event that you have a peculiar standard library setup.
- something else TBD.
We'd need more information to determine which point above you might be running into.
Updated•3 years ago
|
Description
•