Summary: | sys-devel/llvm-6.0.1 - .../work/llvm-6.0.1.src/lib/CodeGen/ScheduleDAG.cpp:63:1: internal compiler error: Aborted | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maurice Volaski <mvolaski> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | llvm, mgorny, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge info |
Created attachment 562700 [details]
emerge info
Normally I'd guess you ran out of memory but that 'double free' looks like legitimate bug. Is failure reproducible for you or was it a one-off? > double free or corruption (out) This is heap corruption detected by glibc at: https://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c;h=feaf7ee0bf362ed86375c290d7f55a75c3d2edcf;hb=HEAD#l4319 suggests it's I'll try to reproduce locally. (In reply to Sergei Trofimovich from comment #3) > I'll try to reproduce locally. I did not succeed. We'll need more data or you'll need to investigate yourself. A few avenues to explore: 0. Post your 'gcc -v'. I'll try bring the setup closer to yours. 1. Make sure your RAM is intact by running sys-apps/memtest86+ or similar. 2. Check if you can reproduce the same crash by rerunning emerge 3. Check if you can reproduce the crash by rerunning failed g++ command (might require multiple runs). If you are lucky with [3.] you can extract selfcontained example: https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide I rebooted and this time it compiled fine. I have no explanation. I'm running inside VitualBox on a Mac Pro with ECC RAM. Aha. Must be some software corruption then. Either in Gentoo or in hypervisor. Let's close this bug as WORKSFORME as there are no leads to follow. And start afresh in a new bug if it happens again. |
Created attachment 562698 [details] build.log Freshly installed Gentoo 32-bit and trying to emerge X11 resulted in FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/ScheduleDAG.cpp.o /usr/bin/i686-pc-linux-gnu-g++ -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/CodeGen -I/var/tmp/portage/sys-devel/llvm-6.0.1/work/llvm-6.0.1.src/lib/CodeGen -I/usr/include/libxml2 -Iinclude -I/var/tmp/portage/sys-devel/llvm-6.0.1/work/llvm-6.0.1.src/include -DNDEBUG -O2 -march=i686 -pipe -mno-bmi -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -fPIC -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/ScheduleDAG.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/ScheduleDAG.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/ScheduleDAG.cpp.o -c /var/tmp/portage/sys-devel/llvm-6.0.1/work/llvm-6.0.1.src/lib/CodeGen/ScheduleDAG.cpp double free or corruption (out) /var/tmp/portage/sys-devel/llvm-6.0.1/work/llvm-6.0.1.src/lib/CodeGen/ScheduleDAG.cpp: In member function ‘void llvm::ScheduleDAG::clearDAG()’: /var/tmp/portage/sys-devel/llvm-6.0.1/work/llvm-6.0.1.src/lib/CodeGen/ScheduleDAG.cpp:63:1: internal compiler error: Aborted } ^