Your message dated Tue, 05 Oct 2021 05:34:05 +0000
with message-id <[email protected]>
and subject line Bug#995473: fixed in picolibc 1.7.3-2
has caused the Debian Bug report #995473,
regarding picolibc: aarch64 autopkgtest fails in Ubuntu
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 [email protected]
immediately.)


-- 
995473: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995473
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: picolibc-aarch64-linux-gnu
Version: 1.7.2-2
User: [email protected]
Usertags: origin-ubuntu impish

Hi Keith,

Recent versions of picolibc are failing to migrate into the Ubuntu release
because the new(ish) aarch64 autopkgtest fails on Ubuntu:

[...]
autopkgtest [19:05:54]: test command3: [-----------------------
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: 
/usr/lib/picolibc/aarch64-linux-gnu/lib/../lib/libc.a(stack_protector.c.o): in 
function `__stack_chk_fail_weak':
./aarch64-linux-gnu/../../../newlib/libc/ssp/stack_protector.c:54: undefined 
reference to `_exit'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: 
/usr/lib/picolibc/aarch64-linux-gnu/lib/../lib/libc.a(puts.c.o): in function 
`puts':
./aarch64-linux-gnu/../../../newlib/libc/tinystdio/puts.c:41: undefined 
reference to `__iob'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: 
./aarch64-linux-gnu/../../../newlib/libc/tinystdio/puts.c:41: undefined 
reference to `__iob'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: 
/usr/lib/picolibc/aarch64-linux-gnu/lib/../lib/libc.a(signal.c.o): in function 
`raise':
./aarch64-linux-gnu/../../../newlib/libc/signal/signal.c:131: undefined 
reference to `getpid'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: 
./aarch64-linux-gnu/../../../newlib/libc/signal/signal.c:131: undefined 
reference to `kill'
collect2: error: ld returned 1 exit status
[...]

  (https://autopkgtest.ubuntu.com/packages/p/picolibc/impish/amd64)

I believe the issue is that, unlike other architectures, the aarch64 support
is using gcc-aarch64-linux-gnu instead of a compiler that uses a libc-less
target by default, and makes an incorrect assumption that in its default
configuration it will not generate references to glibc.  This happens to
work for the autopkgtest test case on Debian, but fails on Ubuntu (from the
output, probably related at least in part to the additional security
hardening features that are turned on in Ubuntu gcc by default).

The following compile command succeeds:

aarch64-linux-gnu-gcc -ffreestanding --specs=picolibc.specs -o 
/tmp/touch-aarch64 debian/tests/touch.c -lm

So perhaps picolibc.specs just needs to include the equivalent of
-ffreestanding in order to be portable.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: picolibc
Source-Version: 1.7.3-2
Done: Keith Packard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
picolibc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Keith Packard <[email protected]> (supplier of updated picolibc 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 04 Oct 2021 22:02:31 -0700
Source: picolibc
Architecture: source
Version: 1.7.3-2
Distribution: unstable
Urgency: medium
Maintainer: Keith Packard <[email protected]>
Changed-By: Keith Packard <[email protected]>
Closes: 995473
Changes:
 picolibc (1.7.3-2) unstable; urgency=medium
 .
   * Add -fno-stack-protector to touch test build. Closes: #995473.
 .
   * Update standards to 4.6.0.1
Checksums-Sha1:
 c1c6af70699730ef695eafd3bcf9ffbf0ef48c25 2299 picolibc_1.7.3-2.dsc
 d76ae51385e71ac6bb400b1da014aba6f4ab9f65 28888 picolibc_1.7.3-2.debian.tar.xz
 aaf8089b53df75d9a4723560bf7293ba9fceb949 10307 picolibc_1.7.3-2_amd64.buildinfo
Checksums-Sha256:
 fbd832923ea7170dd0b8c6584e61b172c26a6aa29ef80cd4a40f11c09d542ae3 2299 
picolibc_1.7.3-2.dsc
 039b2dcf2423344125da192cdec16b0da139409dc491b0de7624badfd11f4a7b 28888 
picolibc_1.7.3-2.debian.tar.xz
 4cd8bec4decf8f2a5503f7e359e6710b7a5584695ccc481faedd00dd0f703a15 10307 
picolibc_1.7.3-2_amd64.buildinfo
Files:
 5d9a1eec42b17968bcd5435019674db4 2299 devel optional picolibc_1.7.3-2.dsc
 afd5c4a86285191bba7c3089abe2c035 28888 devel optional 
picolibc_1.7.3-2.debian.tar.xz
 6ad6fdefb3c7f9c0014644c399d5859a 10307 devel optional 
picolibc_1.7.3-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmFb4gcACgkQ2yIaaQAA
ABGycg//fY5T9WC1MH3aOolWa6PaPT4Q/nwWqhgEHEYqYBrpWEyT6k596RXEcYpA
Ulc/n9CW/TNMrn7Vr1w1YiSoB2GkS7v3+0OIX41Yt90w2H4WyfvG9TtpP0SorXBd
BCzqNi7sTaGzSK0mDYr4j2F0kMypzoZbouss7N7vJ3Y9cTseeLDH5Y0QxokmUbrg
QQbW+r9wEOzgxuqv/X9QYg4z8a//S7zayO4YE/YBrmxUKTLwleBakmCNpMUgasvT
rZwDbPXgR2uiwzWN1/WU0pNPmXFay+ZH9n4GIY+Pt98B0lgf107eEcdcZ8FgkBPC
cWXodgxOC/3hxLWXb7kj0ixZv+YIcxCqE5EYp6DbR7gj3iiF/agSl1bEs2bqn/Im
X5euRUU6ePDOiR7XPkuOKUi5D/K3MJLB5y7IpjA3RHhQJPghg63HMgSKbMeWYD/r
8NOdrFVGG4O0OjsIzje1+o0XfzzDp1FAwqNTh73+ye3Blvhoyce9Q7orO9vY1Kei
Bu1ZQJCvZPhNupzNCD1PDMdHGkgJ0TKcoGBZuwPBI4THZ7IFnRUw9oEa9ls/vz9m
ZZJEh9EGXV48Q0GpPwyyG48yhVP40fcKPpbNQ9H8rm1tHvUKOahSCXv50Ou6EIJV
DD51VPED5E84TniUoyrRj3F93nSxDXugmEGMi3vmNsj7GBtyacE=
=bAad
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to