Maurice Lombardi wrote:
- Five errors with gc-3.2.2 and dwarf debugging (no EXTRA_TEST_PFLAGS)
OK, that's all the same issue (most likely).
TEST windtest.pas: c:\djgpp\tmp/ccO4SFg9.s: Assembler messages: c:\djgpp\tmp/ccO4SFg9.s:176: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:326: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:422: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:639: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:715: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:788: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:861: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:934: Error: symbol `LFE0' is already defined c:\djgpp\tmp/ccO4SFg9.s:996: Error: symbol `LFE0' is already defined gpc1.exe: c:/djgpp/b/gnu/build.gcc/gcc/xgpc.exe exited with status 1 failed
I don't get this error when cross-compiling from Linux to DJGPP with
i386-pc-msdosdjgpp-gpc --automake -O3 -gdwarf-2 windtest.pas
(I haven't cross-built a DJGPP hosted compiler yet, so I can't easily run the test suite directly).
Can you try to find out which unit (and which declaration in it) causes the error? Then perhaps send the assembler output. Do any options (e.g., inlining) have any influence?
Frank