bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" mess


From: davek at gcc dot gnu.org
Subject: [Bug ld/12562] Ld.dk fails with "could not read symbols: Bad value" message
Date: Sat, 12 Mar 2011 16:21:46 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12562

--- Comment #9 from Dave Korn <davek at gcc dot gnu.org> 2011-03-12 16:21:34 
UTC ---
(In reply to comment #8)
> Created attachment 5302 [details]
> Testcase #2
> 
> (Is it ok to post here, or should I file another bug report for it?)

Can you check whether that works with GOLD?  If GOLD also fails (though perhaps
in a different way - maybe a redefinition error for bar) then I think the first
thing would be to post this testcase to the binutils list and try and figure
out what is *supposed* to happen.  That foo symbol is invisible to LTO, we
might just decide that it's not valid code.  If you replace the asm by

void foo (void) __attribute__ ((alias("bar"))) ;

it all works fine, as we would hope.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]