[fpc-pascal] Linker error
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Dec 18 08:44:54 CET 2015
Mattias Gaertner wrote:
> What could be the cause of this linker error:
>
> main.pp(6923,23) Warnung: Symbol "CommandLine" ist veraltet
> /usr/bin/ld.bfd: warning: ../link.res contains output sections; did you forget -T?
> /usr/bin/ld.bfd: /usr/lib/fpc/3.0.0/units/x86_64-linux/rtl/cprt0.o: unrecognized relocation (0x2a) in section `.text'
> /usr/bin/ld.bfd: final link failed: Bad value
A buggy assembler? There is indeed no relocation type 42 for ELF/x86-64.
Does that happen with the official FPC release? Does objdump -r
/usr/lib/fpc/3.0.0/units/x86_64-linux/rtl/cprt0.o show any unknown
relocation types?
Jonas
More information about the fpc-pascal
mailing list