View previous topic :: View next topic |
Author |
Message |
pjp Administrator
Joined: 16 Apr 2002 Posts: 20514
|
Posted: Fri Dec 20, 2024 7:45 am Post subject: icu rebuild of firefox failure |
|
|
This is on a build host in a chroot for a laptop.
I first did a rebuild of whatever icu wanted with firefox deselected from world (to avoid rebuilding it and nodejs at the same time).
After that, I then rebuilt nodejs using --oneshot. That went fine. To rebuild firefox, I used my normal update @world command.
This seemed notable: Code: | 847:35.85 x86_64-pc-linux-gnu-clang++-19: error: clang frontend command failed with exit code 139 (use -v to see invocation)
847:35.85 clang version 19.1.4
847:35.85 Target: x86_64-pc-linux-gnu
847:35.85 Thread model: posix
847:35.86 InstalledDir: /usr/lib/llvm/19/bin
847:35.86 Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang++.cfg
847:36.57 x86_64-pc-linux-gnu-clang++-19: note: diagnostic msg:
847:36.57 ********************
847:36.57 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
847:36.57 Preprocessed source(s) and associated run script(s) are located at:
847:36.58 x86_64-pc-linux-gnu-clang++-19: note: diagnostic msg: /var/tmp/notmpfs/portage/www-client/firefox-128.5.0/temp/Unified_cpp_dom_ipc5-9cd37e.cpp
847:36.58 x86_64-pc-linux-gnu-clang++-19: note: diagnostic msg: /var/tmp/notmpfs/portage/www-client/firefox-128.5.0/temp/Unified_cpp_dom_ipc5-9cd37e.sh
847:36.58 x86_64-pc-linux-gnu-clang++-19: note: diagnostic msg:
847:36.59 ******************** | emerge-info-firefox.out
Your paste can be seen here: https://bpa.st/XLRQ
emerge-pqv-firefox.out
Your paste can be seen here: https://bpa.st/TPNA
Unified_cpp_dom_ipc5-9cd37e.sh
Your paste can be seen here: https://bpa.st/VOQA
firefox-build.log ~20MB
Your paste can be seen here: http://0x0.st/XCwj.log
Unified_cpp_dom_ipc5-9cd37e.cpp ~41MB
Your paste can be seen here: http://0x0.st/XCw2.cpp _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9844 Location: almost Mile High in the USA
|
Posted: Fri Dec 20, 2024 8:21 am Post subject: |
|
|
Well, assuming the fact other people were able to build the same firefox and looks like clang crashed with a stack trace, something going on with your clang. Does it crash in the same place each time if you just rerun it (save your old build for reference) - checked for hardware issues?
Is there a specific reason why you compiled icu and nodejs separately, though it shouldn't matter, they may pick up older deps that weren't absolutely necessary. Agreed it should be safe. I don't think I've had issues building nodejs with anything else at the same time, it's the qtwebengine thing that needs to run by itself... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20514
|
Posted: Fri Dec 20, 2024 6:18 pm Post subject: |
|
|
I'm trying to rebuild it again now. I'm not sure how long it took before failure.
It indeed could be hardware. I have suspected possible heat issues in the past, but haven't ruled out memory. In the past, I've only seen "internal compiler error", but maybe that was only from gcc and not clang.
Reducing from -j3 to -j1 for bigger packages has helped. gcc, clang, firefox and nodejs off the top of my head. I've been using -j2 for firefox for a while without issues, so it seemed odd that it happened on a rebuild due to icu change and not a new firefox version.
The possible heat issue is why I try to limit how many large packages get built at any given time. From the output of which packages icu was causing a rebuild, they've all been rebuilt except firefox. I only mentioned just in case.
I'll update when it fails or completes. I'll see about scheduling a memtest. I guess I could do that overnight sometime. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9844 Location: almost Mile High in the USA
|
Posted: Fri Dec 20, 2024 6:40 pm Post subject: |
|
|
Since you're chrooting, I assume the machine you're using to build is a desktop or larger system? If so it's worth to resolve overheating issues...I'd be kind of upset if I can't use all cores on a cpu full tilt on a desktop -- Your X4 has 16GB RAM and that would make me mad if I couldn't run all 4 cores at the same time. My i7-2700k is actually on the borderline, it reaches 90°C when running on all 4 cores 8 threads but that's fine, at least it doesn't crash or give ICEs.
Yeah Internal Compiler Error is a gcc thing. Clang gives a more useful stack trace it appears, but I can't make heads or tails out of it. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2519
|
Posted: Fri Dec 20, 2024 7:39 pm Post subject: |
|
|
I just compiled Firefox-133.03 today, but I'm using the binhost for the most of my packages, so I believe clnag/llvm were compiled on the binhost. Can you try those?
Best Regards,
Georgi
p.s. out there some say 139 might be concurrent access to a file or null pointer. IDK if those statements have merit. Did you check your dmesg for segfaults? |
|
Back to top |
|
|
|