Summary: | sys-devel/gcc: ICE when building dev-libs/nodejs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Hartley <mhartley> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge info
build log build environment |
Description
Matt Hartley
2023-01-03 04:34:51 UTC
Created attachment 846808 [details]
build log
Created attachment 846810 [details]
build environment
The error message in your attached build.log is different to the snippet you quoted wrt heap.h. This is not a good sign and implies possible memory issues. The fact there's no proper backtrace makes this more likely too. In fact, with ICEs, it's the main cause. But of course, real ICEs exist too. If this is reproducible, please follow https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide, but I strongly recommend doing a memtest first. Also...
>The bug is not reproducible, so it is likely a hardware or OS problem.
I was verifying that it still crashed with various changes, which is why I got similar messages in multiple places (In reply to Matt Hartley from comment #5) > I was verifying that it still crashed with various changes, which is why I > got similar messages in multiple places The problem is they're not very similar. It's a segfault and an ICE but the compiler doesn't even say which function inside GCC it died in. This sort of ICE (essentially no details, usually on a large C++ codebase, not on the same source file) is almost always hardware. You can try without -freport-bug (counter-intuitive, I know) as sometimes that leads to worse information but it's not necessarily going to help. oh, ok. Thank you so much. I'm not sure how to do a memtest, but will set that up. I rebooted and the crashes went away so you were right. No worries at all, I've been there plenty of times - both "fake" and real ones (most recently finding my RAM had gone bad, just got ECC). |