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

Bug#996906: marked as done (klibc FTBFS on armhf: cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU)



Your message dated Mon, 27 Dec 2021 00:48:29 +0000
with message-id <E1n1eBh-000BJX-30@fasolo.debian.org>
and subject line Bug#996906: fixed in klibc 2.0.9-1
has caused the Debian Bug report #996906,
regarding klibc FTBFS on armhf: cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
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.)


-- 
996906: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996906
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: klibc
Version: 2.0.8-6.1
Severity: serious
Tags: ftbfs

klibc fails to build from source in unstable on armhf. I suppose this is
fallout from gcc-11.

Reproduced by reproducible builds:
https://tests.reproducible-builds.org/debian/rbuild/unstable/armhf/klibc_2.0.8-6.1.rbuild.log.gz
| /usr/bin/make all INSTALLROOT=debian/tmp ARCH=arm CONFIG_AEABI=y CPU_ARCH=armv7-a CPU_TUNE=cortex-a8 CONFIG_KLIBC_THUMB=y KBUILD_VERBOSE=1 CONFIG_DEBUG_INFO=y
| make[2]: Entering directory '/build/1st/klibc-2.0.8'
| /usr/bin/make -f /build/1st/klibc-2.0.8/scripts/Kbuild.klibc obj=klcc
| rm -f klcc/klibc.config
| echo 'ARCH=arm' >> klcc/klibc.config
| echo 'ARCHDIR=arm' >> klcc/klibc.config
| echo 'CROSS=' >> klcc/klibc.config
| echo 'KCROSS=' >> klcc/klibc.config
| echo 'CC=gcc' >> klcc/klibc.config
| echo 'LD=ld' >> klcc/klibc.config
| echo 'REQFLAGS=-D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -ggdb -fno-exceptions -mthumb -mabi=aapcs-linux -nostdinc -iwithprefix include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32' >> klcc/klibc.config
| echo 'OPTFLAGS=-Os -march=armv7-a -mtune=cortex-a8' >> klcc/klibc.config
| echo 'LDFLAGS=--thumb-entry _start --build-id=sha1' >> klcc/klibc.config
| echo 'STRIP=strip' >> klcc/klibc.config
| echo 'STRIPFLAGS=-R .ARM.exidx --strip-all -R .comment -R .note' >> klcc/klibc.config
| echo 'EMAIN=--thumb-entry main' >> klcc/klibc.config
| echo 'BITSIZE=32' >> klcc/klibc.config
| echo 'VERSION=2.0.8' >> klcc/klibc.config
| echo 'prefix=/usr/lib/klibc' >> klcc/klibc.config
| echo 'bindir=/usr/lib/klibc/bin' >> klcc/klibc.config
| echo 'libdir=/usr/lib/klibc/lib' >> klcc/klibc.config
| echo 'includedir=/usr/lib/klibc/include' >> klcc/klibc.config
|   perl klcc/makeklcc.pl /build/1st/klibc-2.0.8/klcc/klcc.in klcc/klibc.config /usr/bin/perl > klcc/klcc || ( rm -f klcc/klcc ; exit 1 ) && chmod a+x klcc/klcc
| :
| /usr/bin/make -f /build/1st/klibc-2.0.8/scripts/Kbuild.klibc obj=.
| /usr/bin/make -rR -f /build/1st/klibc-2.0.8/scripts/Kbuild.klibc obj=scripts/basic
|   gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -o scripts/basic/fixdep scripts/basic/fixdep.c
| :
| /usr/bin/make -rR -f /build/1st/klibc-2.0.8/scripts/Kbuild.klibc obj=usr/klibc
|   gcc -Wp,-MD,usr/klibc/.__static_init.o.d  -nostdinc -iwithprefix include -I/build/1st/klibc-2.0.8/usr/include/arch/arm -Iusr/include/arch/arm -I/build/1st/klibc-2.0.8/usr/include/bits32 -Iusr/include/bits32 -I/build/1st/klibc-2.0.8/usr/klibc/../include -Iusr/klibc/../include -I/build/1st/klibc-2.0.8/usr/include -Iusr/include -I/build/1st/klibc-2.0.8/linux/include -Ilinux/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -ggdb -fno-exceptions -mthumb -mabi=aapcs-linux -Os -march=armv7-a -mtune=cortex-a8 -W -Wall -Wno-sign-compare -Wno-unused-parameter -c -o usr/klibc/__static_init.o usr/klibc/__static_init.c
| cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
| make[4]: *** [/build/1st/klibc-2.0.8/scripts/Kbuild.klibc:261: usr/klibc/__static_init.o] Error 1
| make[3]: *** [/build/1st/klibc-2.0.8/./Kbuild:9: all] Error 2
| make[2]: *** [Makefile:121: klibc] Error 2
| make[2]: Leaving directory '/build/1st/klibc-2.0.8'
| make[1]: *** [debian/rules:51: override_dh_auto_build] Error 2
| make[1]: Leaving directory '/build/1st/klibc-2.0.8'
| make: *** [debian/rules:45: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Also seen by crossqa:
http://crossqa.debian.net/build/klibc_2.0.8-6.1_armhf_20211019164552.log

Helmut

--- End Message ---
--- Begin Message ---
Source: klibc
Source-Version: 2.0.9-1
Done: Ben Hutchings <benh@debian.org>

We believe that the bug you reported is fixed in the latest version of
klibc, 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 996906@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <benh@debian.org> (supplier of updated klibc 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: Mon, 27 Dec 2021 00:17:05 +0100
Source: klibc
Architecture: source
Version: 2.0.9-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <benh@debian.org>
Closes: 988027 996906
Changes:
 klibc (2.0.9-1) unstable; urgency=medium
 .
   * New upstream version
   * armhf: Update compiler options for gcc 11 (Closes: #996906)
   * sig{set,long}jmp: do not ignore sigsetjmp's second argument
     (Closes: #988027)
   * Fix implementation of utimes
Checksums-Sha1:
 58c6ea0280815d0221bd7e19e912b62182e8bee9 2107 klibc_2.0.9-1.dsc
 26b2555270760b1ee61507b474d6aaefd8a7c3e5 473956 klibc_2.0.9.orig.tar.xz
 7b85f1e5a3dced270e014018b5811527bccd9f97 20280 klibc_2.0.9-1.debian.tar.xz
 36a582ea1c77c7d100da1f85c661da84830ecc90 6480 klibc_2.0.9-1_amd64.buildinfo
Checksums-Sha256:
 cd5c98eabfbc9ee56a0ae20184e36ab2d9ab196807d967c19b53483c6055413f 2107 klibc_2.0.9-1.dsc
 6dcca708913320d26309f05b0c2bf68071bf11b3dadcc4e6c7d923837fc23ee1 473956 klibc_2.0.9.orig.tar.xz
 b43cffbf567061dd989f7046ebda0c66f644e3df0985d795894f4fc4ae6fd77c 20280 klibc_2.0.9-1.debian.tar.xz
 974ada04b5e6bcc6cca5f90253fad5884808866178da52fe94e358e48e4a5a9a 6480 klibc_2.0.9-1_amd64.buildinfo
Files:
 e75b857ea14cd144ba777d773d56e51e 2107 libs optional klibc_2.0.9-1.dsc
 7554a9759ae71e9ba3729991c8ae7f63 473956 libs optional klibc_2.0.9.orig.tar.xz
 d3351e2ca88e6af1b7607804ebdcee22 20280 libs optional klibc_2.0.9-1.debian.tar.xz
 4ba62012405529b64391abe1d649324f 6480 libs optional klibc_2.0.9-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmHJCkwACgkQ57/I7JWG
EQn7CQ/9GH1cR6POkrmwa+HNsI00vbZJ5HQU/m+G7lMYfcS13GxAxqaYK/zabWoh
FAOOzENruDE5b8Mr0tg6TKnQ+0l67lB4Wp2AOqQqWNxqSz+UPr20WJEnBM0QS098
CCJ43b2SHCr+f0tJ0SX7SCeYcF+7Qt3W3VRoXxGqn1ZYBhj2CKETJ5hPDAai8ObJ
I6vm6MJP9wbrF8ghsnMl+CXiGtXezBY/IplrE5xom/aAMtYnpnOywweC6kXT6XEL
SM/ijg4gsBe1FcvKQ1ejZnMy5/ms0jTpei92TRJZ643MC19VhL6xmDTNjyibsrEP
efbLLkFwihsHEv+k6+utNk/4f0JBTLlwwmEKCvkQYFKk56qMfzuN2Hlpea6/lypb
oUHbt/5w59s1n3t7Espzb8vO3oCrc5X4DkkZpotbwNiocS6nAHLPFlu5lf4BT6In
VwfVXG3DcS0LdzGqNFHco6VHRcZwCn9AjrsU5eyCWURPnuNgO6svG9hi0favIqZ0
Tslpwds1xRBtfCntIVYKX8BzorNJHrHEXMe6WNq0dA3UWcJCj40xV3W7kD3ovuaY
n076RYMnMhQxpYO54P2EqqaXCIYABBNp6hlDt+n9lssedIW2QotPI0HXPbDZTtPs
PJ4VOq5SJFy1wQvbmvQeKeoTXAW/BczfsrkC7hwzcOBUSX6f3U8=
=ETbO
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: