http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48400
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter at pogma dot com --- Comment #20 from Iain Sandoe <iains at gcc dot gnu.org> 2011-04-03 10:03:44 UTC --- (In reply to comment #16) > Created attachment 23855 [details] > second proposed patch > > The fault is 100% with ld. GCC is producing valid dwarf2. :-( > I hate Apple's linker. That's understandable, since you don't see the up-side (only the problems). AFAIK, they intend that it will support the output of GCC - but that will only apply to the leading edge - and, as Dominique said, leaves Darwin9 (and maybe even 10, given the timescales) high and dry. As I see it we have these options (other than the trivial 'give up'): 1. live with the native tool-chain and provide hooks/work-arounds to let us fix things up... 2. odcctools -- unfortunately, trunk (159) of odcctools also has this problem, I just tried to bootstrap ppc with it. There are up-to-date releases of the Apple tools - but it depends on someone having time to integrate them. Also, more of a tricky business for the end User. 3. finish porting mach-o to binutils (I've made some progress with BFD and GAS - but not even started to look at LD) ... waiting for the paperwork to come through to extend my assignments to binutils....