Adriaan van Os wrote:
Frank Heckenbach wrote:
Adriaan van Os wrote:
On Mac OS X, stabs debugging info is the default, but out of curiosity I tried the other formats:
-gdwarf-2 dummy.pas:0: Internal compiler error in default_no_named_section, at varasm.c:5305
I'm not sure if dwarf2 is supported at all on this target (does it work in C?), or if I can do anything about it, but maybe you can provide a stack trace (in gdb, set a breakpoint, and when it gets there do `i s').
The fsf-gcc-3.2.1 compiler produces precisely the same error on Mac OS X ! So, it must be a gcc problem, although the source code at varasm.c:5305 tries to suggest otherwise:
void default_no_named_section (name, flags) const char *name ATTRIBUTE_UNUSED; unsigned int flags ATTRIBUTE_UNUSED; { /* Some object formats don't support named sections at all. The front-end should already have flagged this as an error. */ abort (); }
It is most likely a gcc problem, but as I said, a stack trace could perhaps tell me something about where it comes from.
Frank