Public bug reported:

When testing the next upload merging changes from Debian I've
encoundered the following failure:

https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4017/+build/19642918/+files/buildlog_ubuntu-groovy-armhf.glibc_2.31-2ubuntu1~rbalint2_BUILDING.txt.gz
 :
...
arm-linux-gnueabihf-gcc-10 -mfloat-abi=soft   -nostdlib -nostartfiles -r -o 
/<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.map.o 
-Wl,--defsym='__stack_chk_fail=0' -Wl,--defsym='__stack_chk_fail_local=0' \
        '-Wl,-(' /<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/dl-allobjs.os 
/<<PKGBUILDDIR>>/build-tree/armhf-armel/libc_pic.a -lgcc '-Wl,-)' 
-Wl,-Map,/<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.mapT
/usr/bin/ld: error: /usr/lib/gcc/arm-linux-gnueabihf/10/libgcc.a(_udivmoddi4.o) 
uses VFP register arguments, 
/<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.map.o does not
/usr/bin/ld: failed to merge target specific data of file 
/usr/lib/gcc/arm-linux-gnueabihf/10/libgcc.a(_udivmoddi4.o)
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:504: 
/<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.map] Error 1
...

The same command passed with gcc-9 in the Ubuntu archive:

...
arm-linux-gnueabihf-gcc-9 -mfloat-abi=soft   -nostdlib -nostartfiles -r -o 
/<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.map.o 
-Wl,--defsym='__stack_chk_fail=0' -Wl,--defsym='__stack_chk_fail_local=0' \
        '-Wl,-(' /<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/dl-allobjs.os 
/<<PKGBUILDDIR>>/build-tree/armhf-armel/libc_pic.a -lgcc '-Wl,-)' 
-Wl,-Map,/<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.mapT
rm -f /<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.map.o
mv -f /<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.mapT 
/<<PKGBUILDDIR>>/build-tree/armhf-armel/elf/librtld.map
LC_ALL=C \
...

I think libgcc.a should not use VFP register arguments if we still want
to allow using -mfloat-abi=soft this way, but I'm also checking a
workaround in glibc to not build libc_pic.* so this error would not be
hit. (libc-pic is not shipped in Debian anymore and the merge bring this
change in to Ubuntu.)

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889069

Title:
  glibc FTBFS with gcc-10 10.2.0-3ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1889069/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to