This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.4.X + glibc segfault


On Mon, 26 Jul 2004, Daniel Kegel wrote:
> 
> Quick question: have you tested glibc-2.3.2 yet?

Just tested it - it works find with static apps.  Actually, it seems to 
work ok with dynamically linksed apps, now, too.  May be attribute
issue mentioned below...
Here's a revised patch for the "no-unit-at-a-time" issue - the one in 
crosstool dies when building a debug library (needs "-g0" for MIPS for 
pt-initfini.c)

> If you find a fix for glibc-2.2.5, I'd be happy to include it
> (especially if it's a simple backport from glibc-2.3.2...)

I found the problem and backported from 2.3.2... patch included, though 
there may be another (much larger) one involving converting 
__attribute__ ((unused)) to __attribute_used__ to get 2.2.5 to work 
correctly... will send one vs. stock glibc-2.2.5 when I have time...

-Jake

Attachment: glibc-linuxthreads-2.3.2-allow-3.4.patch
Description: Text document

Attachment: glibc-2.2.5-allow-gcc-3.4-weakextern.patch
Description: Text document

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]