Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830816 - dev-lang/crystal-1.5.0 fails to compile: ld: pthread_start.c:(.text+0x6b): undefined reference to __pthread_unregister_cancel
Summary: dev-lang/crystal-1.5.0 fails to compile: ld: pthread_start.c:(.text+0x6b): un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-08 21:37 UTC by Agostino Sarubbo
Modified: 2023-07-21 22:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,38.85 KB, text/plain)
2022-01-08 21:37 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-08 21:37:15 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-08 21:37:18 UTC
Created attachment 761657 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-08 21:37:18 UTC
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
Comment 3 Agostino Sarubbo gentoo-dev 2022-09-03 08:42:15 UTC
tinderbox_musl has reproduced this issue with version 1.5.0 - Updating summary.
Comment 4 Maciej Barć gentoo-dev 2023-07-21 22:22:39 UTC
1.2.2 and 1.5.0 long gone from the tree