Port-macppc archive

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

Re: macppc __builtin_return_address crash in ld.elf_so on Xorg



On Sun, Jun 15, 2008 at 08:40:21AM -0400, Michael Lorenz wrote:
> That's the Xserver's module loader trying to ldopen() some module.  
> Magnus Henoch posted a hack to get around it on port-macppc a while  
> ago, it appears to be a compiler bug since Xorg is so far the only  
> program where __builtin_return_address(0) fails occasionally.
> Unfortunately I have no idea how to fix it properly.
> The workaround works fine on at least sparc, sparc64, sgimips and  
> shark though, maybe I should just commit it and add an entry to HACKS.

Where is __builtin_return_address implemented? I tried grepping src/gnu
but I couldn't find a definition place.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpUXZ_4vcDNn.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index