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

Bug 928892

Summary: dev-libs/libdex-0.4.3 - dex-fiber.c:(.text+<snip>): undefined reference to getcontext
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: gnome, jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-libs:libdex-0.4.3:20240407-154026.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-04-07 16:06:10 UTC
too long lines were shrinked:

[35/39] x86_64-pc-linux-musl-gcc -Isrc/libdex-1.a.p -Isrc -I../libdex-0.4.3/src -I/usr/lib/libffi/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -I/var/tmp/portage/dev-libs/libdex-0.4.3/work/libdex-0.4.3-build -fvisib
[36/39] rm -f src/libdex-1.a && x86_64-pc-linux-musl-ar csrDT src/libdex-1.a src/libdex-1.a.p/dex-aio.c.o src/libdex-1.a.p/dex-aio-backend.c.o src/libdex-1.a.p/dex-async-pair.c.o src/libdex-1.a.p/dex-async-result.c.o src/libdex-1.a.p/dex-block.c.o src/libdex-1.a.p/dex-cancellable.c.o src/libdex-1.a.
[37/39] x86_64-pc-linux-musl-gcc  -o src/libdex-1.so.1.0.0  -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libdex-1.so.1 -Wl,--whole-archive -Wl,--start-group src/libdex-1.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-Bsymbolic -fno-plt -O2 -pipe -march=nativ
FAILED: src/libdex-1.so.1.0.0 
x86_64-pc-linux-musl-gcc  -o src/libdex-1.so.1.0.0  -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libdex-1.so.1 -Wl,--whole-archive -Wl,--start-group src/libdex-1.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-Bsymbolic -fno-plt -O2 -pipe -march=native -fno-d
/usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: src/libdex-1.a.p/dex-fiber.c.o: in function `dex_fiber_context_init':
dex-fiber.c:(.text+0x267): undefined reference to `getcontext'
/usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: dex-fiber.c:(.text+0x2af): undefined reference to `makecontext'
/usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: src/libdex-1.a.p/dex-fiber.c.o: in function `dex_fiber_scheduler_dispatch':

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240406-125502

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
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.3
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 5dbef1b88e9ca265091c4dc400d4290b27baf18e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 7 15:04:16 2024 +0000

    2024-04-07 15:04:16 UTC

emerge -qpvO dev-libs/libdex
[ebuild  N    ] dev-libs/libdex-0.4.3  USE="introspection sysprof -eventfd -gtk-doc -liburing -test -vala"
Comment 1 Toralf Förster gentoo-dev 2024-04-07 16:06:12 UTC
Created attachment 889732 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-07 16:06:13 UTC
Created attachment 889733 [details]
dev-libs:libdex-0.4.3:20240407-154026.log
Comment 3 Toralf Förster gentoo-dev 2024-04-07 16:06:14 UTC
Created attachment 889734 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-07 16:06:16 UTC
Created attachment 889735 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-07 16:06:17 UTC
Created attachment 889736 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-07 16:06:18 UTC
Created attachment 889737 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-07 16:06:19 UTC
Created attachment 889738 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-07 16:06:20 UTC
Created attachment 889739 [details]
temp.tar.xz
Comment 9 NHO 2024-05-12 14:06:39 UTC
https://wiki.musl-libc.org/open-issues.html#ucontext.h

This should be masked on musl.