https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/crystal-0.35.1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
Created attachment 654556 [details] build.log build log and emerge --info
Yeah, I also occasionally see such crashes: """ CRYSTAL_CONFIG_LIBRARY_PATH="" CRYSTAL_CONFIG_BUILD_COMMIT="" SOURCE_DATE_EPOCH="1597361476" ./bin/crystal build --release --stats --progress --threads 16 --link-flags="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0" --verbose -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib ... Codegen (crystal): 00:00:08.061026833 (1236.71MB) Invalid memory access (signal 11) at address 0x7fbc3e2e85a8 [0x7fbc8291bf96] ??? [0x7fbc82865beb] ??? [0x7fbc836e9831] ??? make: *** [Makefile:121: .build/crystal] Error 11 """ It's probably a bug in already built bin/crystal binary. Needs detailed debugging.
Did not happen to me lately on recent versions. Perhaps was fixed? Please reopen or file a new bug if happens again.