target/6421: .hidden binutils bug craps up sparc builds
davem@redhat.com
davem@redhat.com
Tue Apr 23 06:46:00 GMT 2002
>Number: 6421
>Category: target
>Synopsis: .hidden binutils bug craps up sparc builds
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 23 06:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: davem@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
GCC 3.1 CVS - sparc-linux
>Description:
Due to a bug in Sparc binutils, .hidden directives
can cause GOT entries to not be relocated.
The end result during builds is a mis-link of portions
of libgcc (in particular the &__bb_exit_func in
libgcc2.c is no relocated and has 0x0 as it's address).
It is fixed in binutils CVS, however at gcc-3.1 release
time there will be no public binutils release with the
fix. We need to check in configure if the bug exists
or not, and if so act as if .hidden support is not present.
>How-To-Repeat:
Build on sparc target using binutils-2.12
>Fix:
Richard is working on configury bits to detect this
bug properly.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list