On 29/09/22 17:43, John Paul Adrian Glaubitz wrote:
> Source: glibc
> Version: 2.35-1
> Severity: normal
> User: debian-sp...@lists.debian.org
> Usertags: sparc64
> X-Debbugs-Cc: debian-sp...@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 /<<PKGBUILDDIR>>/build-tree/sparc64-libc/elf/ldconfig || LC_ALL=C \
> /<<PKGBUILDDIR>>/build-tree/sparc64-libc/elf/ldconfig -r
> /<<PKGBUILDDIR>>/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 '/<<PKGBUILDDIR>>'
>
> 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.
Yes, I almost sure it is a issues in glibc build where the default
--eanble-static-pie
is enabling build flags that it is not suppose to. Meanwhile I think using
--disable-default-pie is the best option, although I will most likely backport
it once I fix it.
>
> Thanks,
> Adrian
>
>> [1]
>> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=sparc64&ver=2.35-1&stamp=1664309564&raw=0
>
> --
> .''`. John Paul Adrian Glaubitz
> : :' : Debian Developer
> `. `' Physicist
> `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
>