Compiling with -g errors
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
When compiling the source it will compile fine with fpc -dISFPC svstest.pas.... when the -g option is added, you get:
When compiling with fpc -dISFPC svstest.pas it coompiles and runs correctly. When using the -g option on the command line to produce debugging symbols, I get this:
Free Pascal Compiler version 1.0.4 [2001/01/22] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling svstest.pas
Compiling testidentifier.pas
Compiling testutil.pas
Assembling testutil
Assembling testidentifier
Compiling testsize.pas
Assembling testsize
Compiling testpointer.pas
Assembling testpointer
Compiling testset.pas
Assembling testset
testset.s: Assembler messages:
testset.s:729: Error: Subtraction of two symbols in different sections "_TESTSET_TESTSETS" {.text section} - "_TESTSET
_TESTSET" {UND section} at file address 2384.
testset.pas(240) Warning: Error while assembling exitcode 1
testset.pas(240) Fatal: There were 1 errors compiling module, stopping
Additional information:
Reporter: Adam Oldham
EMail: adam dot oldham at marconi dot com
Mantis conversion info:
- Mantis ID: 3648
- OS: Linux
- Version: 1.0.4
- Fixed in version: 1.0.5