Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937446 - sys-devel/gcc-14.2.0, undefined referece to _Unwind_GetIP, on ARM MUSL
Summary: sys-devel/gcc-14.2.0, undefined referece to _Unwind_GetIP, on ARM MUSL
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-06 09:02 UTC by Marius Dinu
Modified: 2024-08-06 18:56 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,7.07 KB, text/plain)
2024-08-06 09:03 UTC, Marius Dinu
Details
build log (gcc-14.2.0.log.tar.gz,61.69 KB, application/gzip)
2024-08-06 09:07 UTC, Marius Dinu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Dinu 2024-08-06 09:02:48 UTC
emerge sys-devel/gcc-14.2.0 fails with this error:

/usr/lib/gcc/armv7a-unknown-linux-musleabihf/14/../../../../armv7a-unknown-linux-musleabihf/bin/ld: ../libbacktrace/.libs/libbacktrace.a(backtrace.o): in function `unwind':
backtrace.c:(.text+0x1c): undefined reference to `_Unwind_GetIP'
collect2: error: ld returned 1 exit status

Thank you.

Reproducible: Always
Comment 1 Marius Dinu 2024-08-06 09:03:29 UTC
Created attachment 899274 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-06 09:05:10 UTC
Please include gcc-build-logs.tar.xz.
Comment 3 Marius Dinu 2024-08-06 09:07:49 UTC
Created attachment 899275 [details]
build log
Comment 4 Marius Dinu 2024-08-06 18:56:34 UTC
I did more tests:
- emerge sys-devel/gcc:13 fails with the same error
- after installing gcc:13 binpkg and activating it in eselect gcc, emerge sys-devel/gcc:14 fails with the same error.

I don't know if it's important or not, but I'm using kernel v6.10 from github/torvalds and linux-headers v6.9 from portage. I couldn't find a guide how to install headers from an external kernel source. Running make headers_install in the kernel source dir made a mess in /usr/include.