Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928892 - dev-libs/libdex-0.4.3 - dex-fiber.c:(.text+<snip>): undefined reference to getcontext
Summary: dev-libs/libdex-0.4.3 - dex-fiber.c:(.text+<snip>): undefined reference to ge...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-07 16:06 UTC by Toralf Förster
Modified: 2024-04-07 16:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2024-04-07 16:06 UTC, Toralf Förster
Details
dev-libs:libdex-0.4.3:20240407-154026.log (dev-libs:libdex-0.4.3:20240407-154026.log,77.94 KB, text/plain)
2024-04-07 16:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,60.47 KB, text/plain)
2024-04-07 16:06 UTC, Toralf Förster
Details
environment (environment,139.19 KB, text/plain)
2024-04-07 16:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,992 bytes, application/x-xz)
2024-04-07 16:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,40.95 KB, application/x-xz)
2024-04-07 16:06 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,112.07 KB, text/plain)
2024-04-07 16:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.85 KB, application/x-xz)
2024-04-07 16:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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