← Back to team overview

debcrafters-packages team mailing list archive

[Bug 1987438] Re: Build libc_nonshared with -fPIE not -fpie

 

24.04 has 2.39-0ubuntu8.6 which I think has @rth's fix in it:

➜  git tag --contains 51231c469b49fb3837590f40a93f88db9a20bb86
glibc-2.37

So I think this bug can be closed now.

-- 
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:
  New

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