[fpc-devel]linker error

Lee, John LeeJ at logica.com
Mon Dec 18 12:24:07 CET 2000


it's consistent for me eg see below

!log file errors??...see log below


c:/pp/bin/mv: pp.exe: no such file or directory (enoent)
--------------
--Mon 18/12/00 11:17:10 target o/s = dos snap params mxx rel
--initial compiler go32/rel(s) c:\ppr\bin\ppc386 (12/10/00 13:34 260344)
1.0.2 [2000/10/12]
--latest sources used 18/12/00 02:01 v11
--dos, 4dos, dpmi versions 7.10, 6.01 0.90
--make string used ... make OS_TARGET=go32v2 OPT="-Cro -dnocatch -gl" cycle
c:/pp/bin/make.exe clean
make.exe[1]: Entering directory `d:/fpk/compiler'
rm -f fpc.exe ppc386.exe ppcaxp.exe ppc68k.exe ppcppc.exe
rm -f fpcmade.dos ppas.bat link.res  log
rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl

...   snip   ...408 lines omitted

make.exe[3]: Leaving directory `d:/fpk/rtl/go32v2'
c:/pp/bin/make.exe clean
make.exe[3]: Entering directory `d:/fpk/compiler'
rm -f fpc.exe ppc386.exe ppcaxp.exe ppc68k.exe ppcppc.exe
rm -f fpcmade.dos ppas.bat link.res  log
rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
rm -rf *.sl
rm -f fpcmade.dos ppas.bat link.res  log
make.exe[3]: Leaving directory `d:/fpk/compiler'
c:/pp/bin/make.exe ppc386.exe
make.exe[3]: Entering directory `d:/fpk/compiler'
d:/fpk/compiler/ppc1.exe -Cro -dnocatch -gl  -dGDB -dBROWSERLOG
-dSUPPORT_MMX -Sg -Fui386 -Fu../rtl/go32v2 -Fii386 -FE. -Cro -dnocatch -gl
-di386 pp.pas
c:/pp/bin/ld.exe: C:\D\FPK\RTL\GO32V2\OBJPAS.O: bad reloc address 0x14 in
section `.stab'
mv -f pp.exe ppc386.exe
c:/pp/bin/mv: pp.exe: No such file or directory (ENOENT)
make.exe[3]: *** [ppc386.exe] Error 1
make.exe[3]: Leaving directory `d:/fpk/compiler'
make.exe[2]: *** [next] Error 2
make.exe[2]: Leaving directory `d:/fpk/compiler'
make.exe[1]: *** [ppc2.exe] Error 2
make.exe[1]: Leaving directory `d:/fpk/compiler'
make.exe: *** [cycle] Error 2


-----Original Message-----
From: Jonas Maebe [mailto:jonas at zeus.rug.ac.be]
Sent: Saturday, December 16, 2000 10:17
To: fpc-devel at deadlock.et.tudelft.nl
Cc: fpcdevel
Subject: Re: [fpc-devel]linker error




On Sat, 16 Dec 2000, Frank McCormick wrote:

> 
> I'm using the 1.1 go32v2 version of December 11th
> 
> I get a link error " bad reloc address 0x14 in section '.stab'

This is due to a bug in the binary writer (probably). Try using -Aas to
use the AT&T writer. If that doesn't help, it means the bad object code is
generated for the RTL and you'll either need a newer or older snapshot.

The problem with this bug id that it isn't consistently reproducable (ie.
if you recompile the compiler, it may not happen anymore), so it's hard to
track down.


Jonas


_______________________________________________
fpc-devel maillist  -  fpc-devel at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list