https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/crystal-1.2.2 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 761657 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: pthread_start.c:(.text+0x6b): undefined reference to `__pthread_unregister_cancel' Error: execution of command failed with code: 1: `x86_64-gentoo-linux-musl-gcc "${@}" -o /var/tmp/portage/dev-lang/crystal-1.2.2/homedir/.cache/crystal/var-tmp-portage-dev-lang-crystal-1.2.2-work-crystal-1.2.2-src-ecr-process.cr/macro_run -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic -L/var/tmp/portage/dev-lang/crystal-1.2.2/work/crystal-1.2.2-1/bin/../lib/crystal -lpcre -lm -lgc -lpthread -levent -lrt` mach_dep.c:(.text+0x3b): undefined reference to `getcontext' pthread_start.c:(.text+0x44): undefined reference to `__pthread_register_cancel' pthread_support.c:(.text+0xe39): undefined reference to `gnu_get_libc_version' collect2: error: ld returned 1 exit status
tinderbox_musl has reproduced this issue with version 1.5.0 - Updating summary.