This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: crashing problem with ld and -O1
- To: Geoff Keating <geoffk@drongo.anu.edu.au>
- Subject: Re: crashing problem with ld and -O1
- From: Matt McLean <keys@yikes.com>
- Date: Fri, 27 Nov 1998 01:22:27 -0800 (PST)
- cc: libc-alpha@cygnus.com
I have noticed another problem with a recent ld on powerpc-*-linux-gnu.
Building (some, maybe all) binaries with a gas snapshot from a couple days
ago can cause ldd to segfault when examining it. Building the same binary
with binutils 2.9.1.0.15 worked fine. I'll check into this further when I
get the chance, but I wanted to report it first...
I tested this with libc v2.0.100 and 2.0.103.
owned:bin% ldd ./dpkg-split
/usr/bin/ldd: line 1: 21375 Segmentation fault
LD_TRACE_LOADED_OBJECTS=1 LD
_WARN= LD_BIND_NOW= LD_VERBOSE= "$file"
zsh: exit 1 ldd dpkg-split
owned:bin% file dpkg-split
dpkg-split: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1,
dynamically linked (uses shared libs), stripped
On Fri, 27 Nov 1998, Geoff Keating wrote:
>
> The attached patch fixes a crashing problem that appears using ld with
> -O1 on powerpc with the 981124 snapshot. The problem causes glibc 2.1
> to fail to build.
-- snip --