binutils fails to build glibc-2.24 on aarch64-linux-gnu and arm-linux-gnueabihf

Bug #1702679 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
binutils
Fix Released
Medium
binutils (Ubuntu)
Invalid
High
Unassigned
glibc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Trying to build glibc-2.24 on aarch64-linux-gnu and arm-linux-gnueabihf, the build fails when trying to run localedef in the check target, the just built localedef segfaulting. This glibc build ok when building with binutils from the 2.28 branch.

glibc-2.24 needs upstream commit 388b4f1a02f3a801965028bbfcd48d905638b797 backported to 2.24 to build.

Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000aaaad00c5d28 in _dl_start_user ()
   from /home/ubuntu/glibc/glibc-2.24/build-tree/arm64-libc/elf/ld-linux-aarch64.so.1
(gdb) bt
#0 0x0000aaaad00c5d28 in _dl_start_user ()
   from /home/ubuntu/glibc/glibc-2.24/build-tree/arm64-libc/elf/ld-linux-aarch64.so.1
#1 0x0000aaaad00c5cc8 in _start ()
   from /home/ubuntu/glibc/glibc-2.24/build-tree/arm64-libc/elf/ld-linux-aarch64.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Matthias Klose (doko)
Changed in binutils (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-17.07
status: New → Confirmed
Changed in binutils:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

an upstream glibc trunk build on 20170706 succeeded in running the tests on arm64:

XPASS: elf/tst-protected1a
XPASS: elf/tst-protected1b
FAIL: io/tst-open-tmpfile
UNSUPPORTED: math/test-fesetexcept-traps
UNSUPPORTED: math/test-fexcept-traps
UNSUPPORTED: math/test-nearbyint-except-2
UNSUPPORTED: nptl/test-cond-printers
UNSUPPORTED: nptl/test-condattr-printers
UNSUPPORTED: nptl/test-mutex-printers
UNSUPPORTED: nptl/test-mutexattr-printers
UNSUPPORTED: nptl/test-rwlock-printers
UNSUPPORTED: nptl/test-rwlockattr-printers
UNSUPPORTED: nptl/tst-sem16
UNSUPPORTED: posix/tst-sysconf-empty-chroot
FAIL: pwd/tst-getpw
FAIL: resolv/tst-resolv-basic
UNSUPPORTED: resolv/tst-resolv-res_init
UNSUPPORTED: resolv/tst-resolv-res_init-thread
UNSUPPORTED: resolv/tst-resolv-threads
FAIL: rt/tst-shm
UNSUPPORTED: rt/tst-shm-cancel
UNSUPPORTED: sunrpc/tst-svc_register
Summary of test results:
      4 FAIL
   3715 PASS
     16 UNSUPPORTED
     29 XFAIL
      2 XPASS
Makefile:302: recipe for target 'tests' failed
make[1]: *** [tests] Error 1

Changed in binutils:
status: Confirmed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote :

This is fixed in glibc 2.24-12ubuntu1

Changed in glibc (Ubuntu):
status: New → Fix Released
Changed in binutils (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.