Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919704 - sys-devel/gcc: fails to build with `-Wl,--no-undefined-version` due to undefined versions in libatomic
Summary: sys-devel/gcc: fails to build with `-Wl,--no-undefined-version` due to undefi...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-11 11:42 UTC by Sandi (Sandy) Vujaković
Modified: 2023-12-11 12:08 UTC (History)
1 user (show)

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


Attachments
gcc-13.2.1_p20231209:20231211-105534.log (gcc-13.2.1_p20231209:20231211-105534.log.xz,137.11 KB, application/x-xz)
2023-12-11 11:42 UTC, Sandi (Sandy) Vujaković
Details
emerge --info (emerge-info.txt,28.38 KB, text/plain)
2023-12-11 11:46 UTC, Sandi (Sandy) Vujaković
Details
The build logs tarball (gcc-build-logs.tar.xz,230.28 KB, application/x-xz)
2023-12-11 11:46 UTC, Sandi (Sandy) Vujaković
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandi (Sandy) Vujaković 2023-12-11 11:42:26 UTC
Created attachment 878657 [details]
gcc-13.2.1_p20231209:20231211-105534.log

When building snapshots of GCC 13.2.1, for the past month or so (maybe longer, I can't remember 😅), I've been getting errors when linking with `-Wl,--no-undefined-version` in my `LDFLAGS`. The following is a snippet of said errors:
```
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: acc_delete_finalize_async_array_h_: undefined version: OACC_2.5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: acc_delete_finalize_async_64_h_: undefined version: OACC_2.5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: acc_delete_finalize_async_32_h_: undefined version: OACC_2.5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: acc_copyout_finalize_async_array_h_: undefined version: OACC_2.5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: acc_copyout_finalize_async_64_h_: undefined version: OACC_2.5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: acc_copyout_finalize_async_32_h_: undefined version: OACC_2.5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: failed to set dynamic section sizes: bad value
```
Comment 1 Sandi (Sandy) Vujaković 2023-12-11 11:46:01 UTC
Created attachment 878658 [details]
emerge --info
Comment 2 Sandi (Sandy) Vujaković 2023-12-11 11:46:47 UTC
Created attachment 878659 [details]
The build logs tarball