Bug#1020974: glibc: Please build with --disable-default-pie on sparc64

2022-09-29 Thread John Paul Adrian Glaubitz
Source: glibc
Version: 2.35-1
Severity: normal
User: debian-sparc@lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc@lists.debian.org

Hi!

Starting with 2.35, glibc causes segmentation faults in some programs on 
sparc64,
these can also be seen in the build log [1], e.g.:

test ! -x /<>/build-tree/sparc64-libc/elf/ldconfig || LC_ALL=C \
  /<>/build-tree/sparc64-libc/elf/ldconfig -r 
/<>/build-tree/sparc64-libc/testroot.pristine \
/lib/sparc64-linux-gnu /usr/lib/sparc64-linux-gnu
make[3]: [Makefile:113: install] Segmentation fault (ignored)
make[3]: Leaving directory '/<>'

Adhemerval from glibc upstream recommended to try a build with 
"--disable-default-pie"
which indeed fixes the problem for me. Can you therefore add 
"--disable-default-pie"
to the configure options on sparc64 for 2.35 and 2.36?

In the meantime, Adhemerval said he would be investigating the bug.

Thanks,
Adrian

> [1] 
> https://buildd.debian.org/status/fetch.php?pkg=glibc=sparc64=2.35-1=1664309564=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



[Warning]: Do not upgrade glibc to 2.35-1

2022-09-29 Thread John Paul Adrian Glaubitz

Hello!

glibc is currently broken on sparc64. All versions 2.35-1 and newer result in a 
segmentation
fault during upgrade, so please don't upgrade the package for the time being.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913