[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023554: marked as done (glibc: Please build with "--disable-default-pie" on sh3 and sh4 to workaround glibc bug)



Your message dated Sat, 12 Nov 2022 14:46:32 +0000
with message-id <E1otrmC-001D2w-1G@fasolo.debian.org>
and subject line Bug#1023554: fixed in glibc 2.36-5
has caused the Debian Bug report #1023554,
regarding glibc: Please build with "--disable-default-pie" on sh3 and sh4 to workaround glibc bug
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1023554: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023554
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: glibc
Version: 2.36-4
Severity: normal
User: debian-superh@lists.debian.org
Usertags: sh3 sh4
X-Debbugs-Cc: debian-superh@lists.debian.org,helmutg@debian.org

Hello!

Similar to sparc64, sh3 and sh4 are affected by the upstream bug #29575 [1]
which breaks static builds. This is visible on sh4 when the static busybox
binary is being linked which fails with [2]:

(...)
/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)
(...)

Adding

	extra_config_options = --disable-default-pie

to debian/sysdeps/sh4.mk fixed the problem for me. On sh3, the change should be
incorporated as well since sh3 is being bootstrapped regularly in Helmut Grohne's
rebootstrap project where this issue has shown as well.

Thanks,
Adrian

> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=29575
> [2] https://buildd.debian.org/status/fetch.php?pkg=busybox&arch=sh4&ver=1%3A1.35.0-4&stamp=1667730661&raw=0

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

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.36-5
Done: Aurelien Jarno <aurel32@debian.org>

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1023554@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 12 Nov 2022 14:23:05 +0100
Source: glibc
Architecture: source
Version: 2.36-5
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Closes: 1023554 1023661
Changes:
 glibc (2.36-5) unstable; urgency=medium
 .
   [ Samuel Thibault ]
   * debian/patches/hurd-i386/git-sigtimedwait.diff: Add support for
     sigtimedwait and sigwaitinfo.
   * debian/testsuite-xfail-debian.mk: Update accordingly.
 .
   [ Aurelien Jarno ]
   * debian/sysdeps/sh{3,4}.mk: build with --disable-default-pie.  Closes:
     #1023554.
   * debian/control.in/main: bump binutils build-depends to 2.38.
   * debian/control.in/libc: add a Breaks against binutils (<< 2.38).  Closes:
     #1023661.
   * debian/control.in/libc: add a Breaks against check (<< 0.15.2-2+b1) on
     s390x.  Addresses: #1023531.
   * debian/patches/git-updates.diff: update from upstream stable branch.
Checksums-Sha1:
 43fe6d5fba6cd8d3932cc5724111b7f10b481ad1 9689 glibc_2.36-5.dsc
 3fd2e56e533d0128b2f087db51a515ef4562b3c1 820064 glibc_2.36-5.debian.tar.xz
 ae94da946fd07b7fccb685f206b052be6be2b12c 9495 glibc_2.36-5_source.buildinfo
Checksums-Sha256:
 7d6a6b90ff19c66f2704a8d2a9a21f2e2c1e0e67517b67fa9d0f5f862bbb69d3 9689 glibc_2.36-5.dsc
 11ab403a5dd75750f1670671704a30571af73ad59f5ab3e3bfd86ca189cc80ec 820064 glibc_2.36-5.debian.tar.xz
 39beec400599134e34762f9cb91ecfa202cc1fee79c2bac13f61bb64190316ab 9495 glibc_2.36-5_source.buildinfo
Files:
 c538ed3b0fb1701eb14ee8eebcacbac4 9689 libs required glibc_2.36-5.dsc
 fd332666384fbc18aa7e3edb569b3f11 820064 libs required glibc_2.36-5.debian.tar.xz
 cc59d6b22ad46c8fa5f67d467a589785 9495 libs required glibc_2.36-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmNvpfcACgkQE4jA+Jno
M2vRmg//cEcZFLY+PON1zt8PNVjbdPprRGWs3wSqnKNWocZrLcmn7SEBwrhghIGS
1+zBkdw+WyEEJTXahnZI/af4Ussf6NDQih3Nm2C56vS8VUAIoq39tgmH2rxkcKTF
A8lvCfcIfZ3sL90L6StmX8iKLlzOiWrG56yVWRwkzMUISeP+Hk50EQAFT5B4PF+p
lpaNlUGYluKd5A9afXL+f7sHyjbMaYRlMpJ2JeZg9KttdwZas/+kdv5Luj2mkz9y
mcProlxcQAwu8wbKp/32e1lqn/W5EKCdr6s/vY12zlADDiUt9bIKSOM8LcSvANpM
iTErKlw84c9b88Vpn2F2UzveuiuihI7AreJvkd3lagpCpgVUmhF6Y62uIg3gqZ10
PTUDhnTI6KBf3UiWxwvOHF3A36TLbxlafmJNIJy8EVuCSudvv7ifMEEWX8EtdzMZ
mDuaWVuKML88lx4x6VBHbcCVsQHsqyP8PGJ8m+n8JUH9FfB6/mMpBZPsPuxRtKMH
cR77ZCInv0u7mbTjbzT37b9uxl0qF5P71KS3sVlXGheaDWjjLfe+z7AlIBRcrSug
jli+jgg8AQsKl1nHqQH/p0UcVzGkpsxPJkLu0IzsgR1NLFSGSopiPNkS857sCz6l
EBwrcLjSuw2I6vv2nHQIIStmrMixWsaoqyMKP4Py0byZ0XBYvBw=
=hI4S
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: