I've run into a problem trying to validate SM and FF for 8.4, First SM.
It appears that SM prefers clang over gcc. The build fails early
because it uses clang by default and the sanity check fails because the
CFLAGS we pass are incompatible with clang.
I added CC=gcc CXX=g++ and SM built. It seems to run OK, so I've added
those variables to the book with a note that says if you want to use
clang, don't set the flags.
The problem with FF is more serious. At the 29 minute point I get:
27:48.76 Compiling gkrust v0.1.0
(/tmp/firefox/firefox-65.0/toolkit/library/rust)
29:17.59 error: Could not compile `gkrust`.
29:17.60 Caused by:
... (long command line here)
(signal: 11, SIGSEGV: invalid memory reference)
We use clang for FF so I tried gcc and got the same error.
The funny thing is that I built FF a week ago with exactly the same
instructions (the same script) on my Skylake workstation (basically a
less complete 8.4 system) and it is fine. My development system is a
Haswell. Both are running rustc 1.32.0.
The only thing I could find on google is
https://aur.archlinux.org/packages/icecat/?comments=all
but it doesn't seem to have a solution.
Any ideas?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page