* [Bug build/29575] [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
@ 2022-09-16 11:43 ` carlos at redhat dot com
2022-09-30 8:53 ` glaubitz at physik dot fu-berlin.de
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: carlos at redhat dot com @ 2022-09-16 11:43 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2022-09-16
Ever confirmed|0 |1
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to John Paul Adrian Glaubitz from comment #0)
> The testsuite currently fails with so many failed tests on Debian unstable
> on sparc64 that I assume there is some underlying issue on SPARC that needs
> to be addressed:
Please reach out to the debian-glibc team discuss these issues. The distro team
is best placed to understand the test results of Debian's glibc given the
context of the previous build results.
> Full build log:
> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=sparc64&ver=2.35-
> 0experimental3&stamp=1662895877&raw=0
There were no distribution or machine maintainers that did any testing for
sparc64 in glibc 2.36:
https://sourceware.org/glibc/wiki/Release/2.36#SPARC_.2864-bit.29
I'd say the sparc64 support is at risk of being removed if maintainers and
developers are not testing or supporting the architecture.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
2022-09-16 11:43 ` [Bug build/29575] " carlos at redhat dot com
@ 2022-09-30 8:53 ` glaubitz at physik dot fu-berlin.de
2022-09-30 8:53 ` [Bug build/29575] [Regression 2.34/2.25]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-* glaubitz at physik dot fu-berlin.de
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2022-09-30 8:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
--- Comment #2 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
The issue is alleviated by building with "--disable-default-pie".
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [Regression 2.34/2.25]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
2022-09-16 11:43 ` [Bug build/29575] " carlos at redhat dot com
2022-09-30 8:53 ` glaubitz at physik dot fu-berlin.de
@ 2022-09-30 8:53 ` glaubitz at physik dot fu-berlin.de
2022-09-30 8:54 ` [Bug build/29575] [2.35/2.36]: " glaubitz at physik dot fu-berlin.de
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2022-09-30 8:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[Regression 2.34/2.25]: |[Regression 2.34/2.25]:
|Large number of testsuite |Many testsuite failures
|failures on |when not building with
|sparc*-linux-*-* |"--disable-default-pie" on
| |sparc*-linux-*
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [2.35/2.36]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
` (2 preceding siblings ...)
2022-09-30 8:53 ` [Bug build/29575] [Regression 2.34/2.25]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-* glaubitz at physik dot fu-berlin.de
@ 2022-09-30 8:54 ` glaubitz at physik dot fu-berlin.de
2022-10-04 17:32 ` adhemerval.zanella at linaro dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2022-09-30 8:54 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[Regression 2.34/2.25]: |[2.35/2.36]: Many testsuite
|Many testsuite failures |failures when not building
|when not building with |with
|"--disable-default-pie" on |"--disable-default-pie" on
|sparc*-linux-* |sparc*-linux-*
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [2.35/2.36]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
` (3 preceding siblings ...)
2022-09-30 8:54 ` [Bug build/29575] [2.35/2.36]: " glaubitz at physik dot fu-berlin.de
@ 2022-10-04 17:32 ` adhemerval.zanella at linaro dot org
2022-11-06 15:08 ` glaubitz at physik dot fu-berlin.de
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-10-04 17:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
On sparc, where static PIE is not supported but PIE is, both libc and static
binaries are built with -DPIC. It leads to wrong startup code for static
binaries. I will send a patch.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [2.35/2.36]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
` (4 preceding siblings ...)
2022-10-04 17:32 ` adhemerval.zanella at linaro dot org
@ 2022-11-06 15:08 ` glaubitz at physik dot fu-berlin.de
2022-11-07 6:54 ` sam at gentoo dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2022-11-06 15:08 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
--- Comment #4 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
FWIW, this issue affects sh4 as well.
Unless glibc is built with "--disable-default-pie", building a static busybox
binary on sh4 fails with the following linker errors:
(...)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(kill.o)(.text+0x3a):
unexpected instruction 0XA005 (expected 0xd0??: mov.l)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(kill.o)(.text+0x3c):
unexpected instruction 0XE0FF (expected 0x0?12: stc)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(kill.o)(.text+0x3e):
unexpected instruction 0X09 (expected 0x0?ce: mov.l)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(uname.o)(.text+0x3a):
unexpected instruction 0XA005 (expected 0xd0??: mov.l)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(uname.o)(.text+0x3c):
unexpected instruction 0XE0FF (expected 0x0?12: stc)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(uname.o)(.text+0x3e):
unexpected instruction 0X09 (expected 0x0?ce: mov.l)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(alarm.o)(.text+0x3a):
unexpected instruction 0XA005 (expected 0xd0??: mov.l)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(alarm.o)(.text+0x3c):
unexpected instruction 0XE0FF (expected 0x0?12: stc)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(alarm.o)(.text+0x3e):
unexpected instruction 0X09 (expected 0x0?ce: mov.l)
/usr/bin/ld:
/usr/lib/gcc/sh4-linux-gnu/12/../../../sh4-linux-gnu/libc.a(vfork.o)(.text+0x26):
unexpected instruction 0XA005 (expected 0xd0??: mov.l)
(...)
See:
https://buildd.debian.org/status/fetch.php?pkg=busybox&arch=sh4&ver=1%3A1.35.0-4&stamp=1667730661&raw=0
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [2.35/2.36]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
` (5 preceding siblings ...)
2022-11-06 15:08 ` glaubitz at physik dot fu-berlin.de
@ 2022-11-07 6:54 ` sam at gentoo dot org
2022-11-12 23:44 ` glaubitz at physik dot fu-berlin.de
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: sam at gentoo dot org @ 2022-11-07 6:54 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gentoo dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [2.35/2.36]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
` (6 preceding siblings ...)
2022-11-07 6:54 ` sam at gentoo dot org
@ 2022-11-12 23:44 ` glaubitz at physik dot fu-berlin.de
2023-07-19 11:48 ` glaubitz at physik dot fu-berlin.de
2023-07-19 12:46 ` adhemerval.zanella at linaro dot org
9 siblings, 0 replies; 11+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2022-11-12 23:44 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
--- Comment #5 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
Similar segfaults observed on alpha as well starting with 2.34:
> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=alpha&ver=2.34-8&stamp=1662963628&raw=0
> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=alpha&ver=2.35-4&stamp=1666729919&raw=0
> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=alpha&ver=2.36-4&stamp=1667607306&raw=0
However, building with "--disable-default-pie" doesn't seem to help in this
case.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [2.35/2.36]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
` (7 preceding siblings ...)
2022-11-12 23:44 ` glaubitz at physik dot fu-berlin.de
@ 2023-07-19 11:48 ` glaubitz at physik dot fu-berlin.de
2023-07-19 12:46 ` adhemerval.zanella at linaro dot org
9 siblings, 0 replies; 11+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2023-07-19 11:48 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
--- Comment #6 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
(In reply to Adhemerval Zanella from comment #3)
> On sparc, where static PIE is not supported but PIE is, both libc and static
> binaries are built with -DPIC. It leads to wrong startup code for static
> binaries. I will send a patch.
Wasn't this issue fixed a year ago? Can we close this bug?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug build/29575] [2.35/2.36]: Many testsuite failures when not building with "--disable-default-pie" on sparc*-linux-*
2022-09-16 8:44 [Bug build/29575] New: [Regression 2.34/2.25]: Large number of testsuite failures on sparc*-linux-*-* glaubitz at physik dot fu-berlin.de
` (8 preceding siblings ...)
2023-07-19 11:48 ` glaubitz at physik dot fu-berlin.de
@ 2023-07-19 12:46 ` adhemerval.zanella at linaro dot org
9 siblings, 0 replies; 11+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2023-07-19 12:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=29575
--- Comment #7 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to John Paul Adrian Glaubitz from comment #6)
> (In reply to Adhemerval Zanella from comment #3)
> > On sparc, where static PIE is not supported but PIE is, both libc and static
> > binaries are built with -DPIC. It leads to wrong startup code for static
> > binaries. I will send a patch.
>
> Wasn't this issue fixed a year ago? Can we close this bug?
The issue is even if static-pie is disabled for sparc64, it changes some build
flags that end up using the wrong flags on the start files build. So currently
we still require --disable-default-pie.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread