indeed, NEWS file even mentions it. marking as released
> [29514] build: Need to use -fPIE not -fpie
** Changed in: glibc (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1987438
Title:
Build libc_nonshared with -fPIE not -fpie
Status in glibc package in Ubuntu:
Fix Released
Bug description:
Upstream bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=29514
$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
In Makeconfig, similar to "pic-ccflag = -fPIC", the default
for pie-ccflag should be '-fPIE' not '-fpie'.
Otherwise, large projects using -static-pie may see, e.g.
/usr/lib/gcc/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/lib/../lib/libc.a(init-first.o):
in function `__libc_init_first':
(.text+0x10): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15
against symbol `__environ' defined in .bss section in
/usr/lib/gcc/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/lib/../lib/libc.a(environ.o)
/usr/bin/ld: (.text+0x10): warning: too many GOT entries for -fpic, please
recompile with -fPIC
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438/+subscriptions
--
Mailing list: https://launchpad.net/~debcrafters-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~debcrafters-packages
More help : https://help.launchpad.net/ListHelp