Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931100

Summary: dev-lang/crystal-1.12.1 - pthread_support.c:(.text+<snip>): undefined reference to gnu_get_libc_version
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: brahmajit.xyz, xgqt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412, 941869    
Attachments: emerge-info.txt
dev-lang:crystal-1.12.1:20240502-082635.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-05-02 17:51:38 UTC
Semantic (type declarations):      00:00:00.335218043 ( 178.71MB)
Semantic (abstract def check):     00:00:00.045234348 ( 194.71MB)
Semantic (restrictions augmenter): 00:00:00.032862608 ( 194.71MB)
Semantic (ivars initializers):     00:00:19.601230185 (1254.64MB)
Semantic (cvars initializers):     00:00:00.023495154 (1254.64MB)
/usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: /var/tmp/portage/dev-lang/crystal-1.12.1/work/crystal-1.12.1-1/bin/../lib/crystal/libgc.a(pthread_support.o): in function `GC_thr_init':
pthread_support.c:(.text+0xee1): undefined reference to `gnu_get_libc_version'
/usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: /var/tmp/portage/dev-lang/crystal-1.12.1/work/crystal-1.12.1-1/bin/../lib/crystal/libgc.a(mach_dep.o): in function `GC_with_callee_saves_pushed':
mach_dep.c:(.text+0x3b): undefined reference to `getcontext'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240501-134026

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.4
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.4
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit f7eb3309f1e5a7dc8b8b07c128ef7734d08fae61
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu May 2 07:19:28 2024 +0000

    2024-05-02 07:19:27 UTC

emerge -qpvO dev-lang/crystal
[ebuild  N    ] dev-lang/crystal-1.12.1  USE="-debug -doc -llvm-libunwind"
Comment 1 Toralf Förster gentoo-dev 2024-05-02 17:51:39 UTC
Created attachment 892148 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-02 17:51:39 UTC
Created attachment 892149 [details]
dev-lang:crystal-1.12.1:20240502-082635.log
Comment 3 Toralf Förster gentoo-dev 2024-05-02 17:51:40 UTC
Created attachment 892150 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-02 17:51:41 UTC
Created attachment 892151 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-02 17:51:42 UTC
Created attachment 892152 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-02 17:51:43 UTC
Created attachment 892153 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-02 17:51:44 UTC
Created attachment 892154 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-05-02 17:51:45 UTC
Created attachment 892155 [details]
temp.tar.xz
Comment 9 Brahmajit Das 2024-05-02 19:00:48 UTC
https://github.com/crystal-lang/crystal/issues/12035