bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21725] [2.29 Regression] binutils fails to build glibc-2.2


From: jiwang at gcc dot gnu.org
Subject: [Bug binutils/21725] [2.29 Regression] binutils fails to build glibc-2.24 on aarch64-linux-gnu and arm-linux-gnueabihf
Date: Thu, 06 Jul 2017 14:19:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21725

Jiong Wang <jiwang at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jiwang at gcc dot gnu.org

--- Comment #1 from Jiong Wang <jiwang at gcc dot gnu.org> ---
(In reply to Matthias Klose from comment #0)
> 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?)

Hi Matthias,

  Thanks for reporting this.

  It looks to me is the same issue reported here?

    https://sourceware.org/ml/binutils/2017-06/msg00226.html

  I guess ld.so actually have not been built successfully.  You may need to
redirect the build log to a text file then search that error, somehow glibc
build won't stop even that error happens.

  I could reproduce this issue on AArch64, and could confirm it's fixed after
backporting the following fix from master branch to 2.24.

  could you please confirm the backport works for you as well?

commit e9177fba13549a8e2a6232f46080e5c6d3e467b1
Author: Szabolcs Nagy <address@hidden>
Date:   Wed Jun 21 13:47:07 2017 +0100

    [AArch64] Use hidden __GI__dl_argv in rtld startup code

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]