Re: compiling gpc on Mac OS 10.10.5 Yosemite

Jonas Maebe <[email protected]> Tue, 17 Nov 2015 01:00:36 +0100
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Schneider wrote:
> Unfortunately it still ends with:
>
> /var/folders/vg/ts3vj22j2y3d5n3cmmhw6gt9dzb4gf/T//ccQXON5q.s:522:2: error: unknown directive
>          .stabn  224,0,0,Lscope0
>          ^
> /var/folders/vg/ts3vj22j2y3d5n3cmmhw6gt9dzb4gf/T//ccQXON5q.s:524:9: error: unsupported directive '.stabs'
>          .stabs "",100,0,0,Letext
>                 ^
> make[3]: *** [libgcc/./_muldi3.o] Error 1
> make[2]: *** [libgcc.a] Error 2
> make[1]: *** [stage1_build] Error 2
> make: *** [bootstrap] Error 2

Xcode 7 and later have replaced the system assembler with Clang, which 
doesn't support stabs debug information. If there are any places where 
you can specify options to be used while compiling libgcc.a, try adding 
the -gdwarf-2 flag.

You could also try downgrading to Xcode 6.4, which still shipped with 
the old assembler. You can get it from 
https://developer.apple.com/downloads/


Jonas

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc