Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2000-12

linker error

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank McCormick

I'm using the 1.1 go32v2 version of December 11th

I get a link error " bad reloc address 0x14 in section '.stab'

Won't link anything, even a simple begin end pair.

Do I need a new linker ? new RTL?? a witch ???

--I speak only for me --

Reply by email

Jonas Maebe
to Frank McCormick
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

Reply by email

Pierre Muller
you wrote 5 lines
I'm using the 1.1 go32v2 version of December 11th I get a link error " bad reloc address 0x14 in section '.stab'

Can you please try to use
-Aas option and report if this solves your problem.

I think that the bug is in the binary writer, but I am currently mainly working on the IDE and allmost only use 1.0.3 version.

Reply by email

Frank Mc
Show quoted text 11 lines
At 15:27 16/12/00 -0500, you wrote: > >I'm using the 1.1 go32v2 version of December 11th > >I get a link error " bad reloc address 0x14 in section '.stab' > Can you please try to use -Aas option and report if this solves your problem. I think that the bug is in the binary writer, but I am currently mainly working on the IDE and allmost only use 1.0.3 version.

A quick check while online shows -Aas cures the problem.

I'll try a later Snapshot.

Show quoted text 5 lines
_______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply by email

Lee, John

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

Earlier message 29 lines
-----Original Message----- From: Jonas Maebe Sent: Saturday, December 16, 2000 10:17 To: 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

Reply by email