Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-03 Thread Nataraj S Narayan
Hi Henry Program received signal SIGSEGV, Segmentation fault. 0x001727dc in TQTOBJECT__BEGINEVENTPROCESSING (this=0x16bc38) at qtobjects.pas:820 820 inc(FInEventCount); Current language: auto; currently pascal (gdb) bt #0 0x001727dc in TQTOBJECT__BEGINEVENTPROCESSING (this=0x16bc38) at qto

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-03 Thread Henry Vermaak
On 2 March 2010 12:51, Nataraj S Narayan wrote: > open("/tmp/qtembedded-0//fonts/dejavu_sans_12_50.qsf", > O_RDWR|O_CREAT|O_EXCL, 0644) = 13 > write(13, "QPF2\0\0\0\0\2\0\0\270\0\0\0\vDejaVu Sans\0\1\0*/"..., 16568) = > 16568 > fstat64(13, {st_mode=S_IFREG|0644, st_size=16568, ...}) = 0 > mmap2(N

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-02 Thread Nataraj S Narayan
Hi Darek Applied the patch and now the linker error is gone. Thanks! But the program breaks off a little later than before with a seg fault. Please have a loot at the strace output:- http://pastebin.org/99919 regards Nataraj 2010/3/1 : >> /usr/local/lib/fpc/2.5.1/units/arm-linux/rtl/system.o

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread darekm
> /usr/local/lib/fpc/2.5.1/units/arm-linux/rtl/system.o: In function > `SYSTEM_SYSTEM_EXIT': > system.pp:(.text.n_system_system_exit+0x10): undefined reference to > `_haltproc_eabi' > noy1.lpr(23) Error: Error while linking > noy1.lpr(23) Fatal: There were 1 errors compiling module, stopping > Fata

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread Jonas Maebe
On 01 Mar 2010, at 12:24, Nataraj S Narayan wrote: > system.pp:(.text.n_system_system_exit+0x10): undefined reference to > `_haltproc_eabi' > noy1.lpr(23) Error: Error while linking > noy1.lpr(23) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted > > Again, have

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread Nataraj S Narayan
Yep. Got the zip root nataraj 15342919 Mar 1 15:59 /software/fpc/fpc-2.5.1.arm-linux.tar.gz using #gmake all crosszipinstall CPU_TARGET=arm OS_TARGET=linux OPT=-dFPC_ARMEL After that, replaced /usr/local/lib/fpc/2.5.1/units/arm-linux with the corresponding one inside the tar.gz The tried c

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread Florian Klaempfl
Nataraj S Narayan schrieb: > Florian > > Getting this kinda errors when using:- No wonder. Read again what I wrote. > > # gmake distclean crosszipinstall CPU_TARGET=arm OS_TARGET=linux > CROSSOPT='-dFPC-ARMEL ' > >>> #make distclean crosszipinstall CPU_TARGET=arm CROSSOPT='-CfSOFT -darm >>> -d

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-28 Thread Nataraj S Narayan
Hi Same problem with "arm-none-linux-gnueabi-" toolachain from Codesourcery also, which i presume is not uclibc based. Using this toolchain for kernel compilation, regards Nataraj On Mon, Mar 1, 2010 at 12:18 PM, Nataraj S Narayan wrote: > Florian > > Getting this kinda errors when using:- > >

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-28 Thread Nataraj S Narayan
Florian Getting this kinda errors when using:- # gmake distclean crosszipinstall CPU_TARGET=arm OS_TARGET=linux CROSSOPT='-dFPC-ARMEL ' without -CfSoft -darm. I am on "arm-linux-uclibcgnueabi-" symlinked to arm-linux- toolchain. regards Nataraj /usr/home/nataraj/software/fpc/rtl/units/arm-li

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-27 Thread Florian Klämpfl
On Sat, 27 Feb 2010 19:17:48 +0530, Nataraj S Narayan wrote: > Jonas > > > #make distclean crosszipinstall CPU_TARGET=arm CROSSOPT='-CfSOFT -darm > -dFPC-ARMEL -gl' As I said multiple times, only OPT=-dFPC_ARMEL is needed. No -CfSOFT, no -darm, especially not in CROSSOPT. _

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-27 Thread Nataraj S Narayan
I untar the units/arm-linux to /usr/local/lib/fpc/2.5.1/units/arm-linux/. compiled using -vu; log shows (FPIMAGE) PPU Name: /usr/local/lib/fpc/2.5.1/units/arm-linux/fcl-image/fpimage.ppu (FPIMAGE) PPU Time: 2010/02/08 12:27:24 . . . . My ~/.fpc.cfs has :- -XParm-linux- -Xd -CfSOFT -Fl/cd

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-27 Thread Jonas Maebe
On 27 Feb 2010, at 14:47, Nataraj S Narayan wrote: > #make distclean crosszipinstall CPU_TARGET=arm CROSSOPT='-CfSOFT -darm > -dFPC-ARMEL -gl' zipinstall creates a tar file. Did you also unpack its contents afterwards and point the compiler to those unpacked units? > I am following the procedu

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-27 Thread Nataraj S Narayan
Jonas #make distclean crosszipinstall CPU_TARGET=arm CROSSOPT='-CfSOFT -darm -dFPC-ARMEL -gl' I am following the procedures listed in http://www.klc.net.nz/linux/?page_id=13 regards Nataraj On Sat, Feb 27, 2010 at 5:43 PM, Jonas Maebe wrote: > > On 27 Feb 2010, at 09:23, Nataraj S Narayan wr

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-27 Thread Jonas Maebe
On 27 Feb 2010, at 09:23, Nataraj S Narayan wrote: > I am using fpc/lazarus +qt-embedded-opensource-4.5.2 on > arm-linux-uclibc based SBC > > The code works only it the kernel is compiled with > CONFIG_OABI_COMPAT=y > > Does it mean that isnt fully EABI ? Based on the extra information that yo

[fpc-devel] fpc on arm-linux-uclibc and OABI

2010-02-27 Thread Nataraj S Narayan
Hi I am using fpc/lazarus +qt-embedded-opensource-4.5.2 on arm-linux-uclibc based SBC The code works only it the kernel is compiled with CONFIG_OABI_COMPAT=y Does it mean that isnt fully EABI ? Am I missing something? I use the following to cross compile:- #ppcrossarm-2.5.1 -MObjFPC -Sgi -CX -