Re: unaligned access using bash on glibc 2.5

"Jeff Bailey" <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On 06/05/07, John David Anglin <[email protected]> wrote:
> > Interesting. Why isn't it this patch needed on any other arch? :-)
>
> Don't know but there's one additional factor.  config/linux.h defines
> USE_LD_AS_NEEDED if HAVE_LD_AS_NEEDED is defined.  This will add
> "--as-needed -lgcc_s" for eh support.  I just checked in and
> HAVE_LD_AS_NEEDED is defined in my builds, but if binutils is old
> it might not be defined.  However, I would have to dig into to gcc.c
> to see what happens when -nostdlibs is defined.  My first thought
> is that it shouldn't add "--as-needed -lgcc_s" when -nostdlibs is
> present.

I'm still in transit, so I still can't troubleshoot much yet, but:

jbailey@test142:~$ ld --version
GNU ld version 2.17.50 20070103 Ubuntu

Tks,

-- 
Jeff Bailey - http://www.raspberryginger.com/jbailey/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.