[Lazarus] Do FPC generates old EABI code?

Kjow antispammoni at gmail.com
Mon Dec 14 23:59:15 CET 2009


2009/12/14 Kjow <antispammoni at gmail.com>:
> I'm going to try!

I don't understand... Now I forced to use as -meabi=5 , but there are
still errors. I compiled Lazarus lcl, from the IDE. FPC uses the same
binutils that Lazarus.

Hint: Start of reading config file /home/kjow/.fpc.cfg
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: End of reading config file /home/kjow/.fpc.cfg
Free Pascal Compiler version 2.5.1 [2009/12/14] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARM
Compiling project1.lpr
Compiling unit1.pas
unit1.pas(18,28) Hint: Parameter "Sender" not used
Assembling unit1
Assembling project1
Linking /home/kjow/dev/LazARM/project1
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/gtk2/interfaces.o has EABI
version 0, but target /home/kjow/dev/LazARM/project1 has EABI version
5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/gtk2/interfaces.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/forms.o has EABI version 0, but
target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/forms.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/lresources.o has EABI version
0, but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/lresources.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/interfacebase.o has EABI
version 0, but target /home/kjow/dev/LazARM/project1 has EABI version
5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/interfacebase.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/lclstrconsts.o has EABI version
0, but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/lclstrconsts.o
...
...
...
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/lclclasses.o has EABI version
0, but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/lclclasses.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/wslclclasses.o has EABI version
0, but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/wslclclasses.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/wsimglist.o has EABI version 0,
but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/wsimglist.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/wsproc.o has EABI version 0,
but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/wsproc.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/wsfactory.o has EABI version 0,
but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/wsfactory.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/controls.o has EABI version 0,
but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/controls.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/menus.o has EABI version 0, but
target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/menus.o
...
...
...
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/grids.o has EABI version 0, but
target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/grids.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/wsgrids.o has EABI version 0,
but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/wsgrids.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/dynamicarray.o has EABI version
0, but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/dynamicarray.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/maskedit.o has EABI version 0,
but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/maskedit.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/wspairsplitter.o has EABI
version 0, but target /home/kjow/dev/LazARM/project1 has EABI version
5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/wspairsplitter.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/wsspin.o has EABI version 0,
but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/wsspin.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/shellctrls.o has EABI version
0, but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/shellctrls.o
...
...
...
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2wsspin.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2cellrenderer.o has
EABI version 0, but target /home/kjow/dev/LazARM/project1 has EABI
version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2cellrenderer.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2listviewtreemodel.o
has EABI version 0, but target /home/kjow/dev/LazARM/project1 has EABI
version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2listviewtreemodel.o
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_new_from_stream'
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_simple_anim_iter_get_type'
/home/kjow/lazarus/fpc/libcross/libexpat.so.1: undefined reference to
`__aeabi_unwind_cpp_pr1 at GCC_3.5'
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_new_from_stream_at_scale'
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_simple_anim_get_type'
/home/kjow/lazarus/fpc/libcross//libglib-2.0.so: undefined reference
to `__aeabi_unwind_cpp_pr0 at GCC_3.5'
project1.lpr(22) Error: Error while linking
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/gtk2/interfaces.o has EABI
version 0, but target /home/kjow/dev/LazARM/project1 has EABI version
5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/gtk2/interfaces.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/forms.o has EABI version 0, but
target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/forms.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/lresources.o has EABI version
0, but target /home/kjow/dev/LazARM/project1 has EABI version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/lresources.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/interfacebase.o has EABI
version 0, but target /home/kjow/dev/LazARM/project1 has EABI version
5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/interfacebase.o
...
...
...
...
...
...
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2cellrenderer.o has
EABI version 0, but target /home/kjow/dev/LazARM/project1 has EABI
version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2cellrenderer.o
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2listviewtreemodel.o
has EABI version 0, but target /home/kjow/dev/LazARM/project1 has EABI
version 5
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/lcl/units/arm-linux/gtk2/gtk2listviewtreemodel.o
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_new_from_stream'
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_simple_anim_iter_get_type'
/home/kjow/lazarus/fpc/libcross/libexpat.so.1: undefined reference to
`__aeabi_unwind_cpp_pr1 at GCC_3.5'
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_new_from_stream_at_scale'
/home/kjow/lazarus/fpc/libcross//libgtk-x11-2.0.so: undefined
reference to `gdk_pixbuf_simple_anim_get_type'
/home/kjow/lazarus/fpc/libcross//libglib-2.0.so: undefined reference
to `__aeabi_unwind_cpp_pr0 at GCC_3.5'
project1.lpr(22) Error: Error while linking
project1.lpr(22) Fatal: There were 1 errors compiling module, stopping

Thanks!




More information about the Lazarus mailing list