Sign in Join

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

Mailing lists / fpc-pascal / 2007-03

crosscompile problems with current trunk and fixes_2_2 branch

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Terry Kemp

Current trunk (revision 6747) fails on...

$ make distclean crosszipinstall CPU_TARGET=arm CROSSINSTALL=1
OPT="-CfSOFT" BINUTILSPREFIX=arm-xscale-linux-gnu-

<......>
/home/tmk/fpc-211/fpc/compiler/ppcrossarm -Ur -Parm -XParm-xscale-linux-gnu- -Xc -Xr -XX -CX -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -FE.
-FU/home/tmk/fpc-211/fpc/rtl/units/arm-linux -CfSOFT -darm -dRELEASE -Us -Sg system.pp
genmath.inc(480,7) Fatal: Internal error 2007020810 Fatal: Compilation aborted
make[5]: *** [system.ppu] Error 1
make[5]: Leaving directory `/home/tmk/fpc-211/fpc/rtl/linux' make[4]: *** [fpc_smart] Error 2
make[4]: Leaving directory `/home/tmk/fpc-211/fpc/rtl/linux' make[3]: *** [linux_smart] Error 2
make[3]: Leaving directory `/home/tmk/fpc-211/fpc/rtl' make[2]: *** [rtl_smart] Error 2
make[2]: Leaving directory `/home/tmk/fpc-211/fpc' make[1]: *** [build-stamp.arm-linux] Error 2
make[1]: Leaving directory `/home/tmk/fpc-211/fpc' make: *** [crosszipinstall] Error 2

Seems to be related to branch merge at 6720 (compiler/tgobj.pas?).

fixes_2_2 branch compiles but won't package zip...

<......>
fpcmake -p -Tarm-linux Makefile.fpc
Processing Makefile.fpc
Error: Target "linux", package "fcl-base" not found make[7]: *** [fpc_install] Error 1
make[7]: Leaving directory `/home/tmk/fpc/fixes_2_2/packages/fcl-db' make[6]: *** [fcl-db_install] Error 2
make[6]: Leaving directory `/home/tmk/fpc/fixes_2_2/packages' make[5]: *** [packages_install] Error 2
make[5]: Leaving directory `/home/tmk/fpc/fixes_2_2' make[4]: *** [installother] Error 2
make[4]: Leaving directory `/home/tmk/fpc/fixes_2_2' make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/tmk/fpc/fixes_2_2' make[2]: *** [fpc_zipinstall] Error 2
make[2]: Leaving directory `/home/tmk/fpc/fixes_2_2' make[1]: *** [zipinstall] Error 2
make[1]: Leaving directory `/home/tmk/fpc/fixes_2_2' make: *** [crosszipinstall] Error 2

should I put issues like this in the bug tracker?

Terry

Reply by email

Peter Vreman
to Terry Kemp
Show quoted text 7 lines
<......> fpcmake -p -Tarm-linux Makefile.fpc Processing Makefile.fpc Error: Target "linux", package "fcl-base" not found make[7]: *** [fpc_install] Error 1 make[7]: Leaving directory `/home/tmk/fpc/fixes_2_2/packages/fcl-db' make[6]: *** [fcl-db_install] Error 2

You need to update fpcmake on the host machine first.

Reply by email

Terry Kemp
to Peter Vreman
Peter Vreman wrote 10 lines
> <......> > fpcmake -p -Tarm-linux Makefile.fpc > Processing Makefile.fpc > Error: Target "linux", package "fcl-base" not found > make[7]: *** [fpc_install] Error 1 > make[7]: Leaving directory `/home/tmk/fpc/fixes_2_2/packages/fcl-db' > make[6]: *** [fcl-db_install] Error 2 You need to update fpcmake on the host machine first.

thanks -
does this mean I should compile and install fixes_2_2 on host then use this to do crossbuild?

Reply by email

Peter Vreman
to Terry Kemp
Show quoted text 14 lines
On Thu, 2007-03-08 at 08:07 +0100, Peter Vreman wrote: > > <......> > > fpcmake -p -Tarm-linux Makefile.fpc > > Processing Makefile.fpc > > Error: Target "linux", package "fcl-base" not found > > make[7]: *** [fpc_install] Error 1 > > make[7]: Leaving directory `/home/tmk/fpc/fixes_2_2/packages/fcl-db' > > make[6]: *** [fcl-db_install] Error 2 > > You need to update fpcmake on the host machine first. > thanks - does this mean I should compile and install fixes_2_2 on host then use this to do crossbuild?

At the moment only fpcmake from fixes_2_2 is needed. Installing everything from fixes_2_2 is also possible.

Reply by email

Henry Vermaak
to Terry Kemp: thanks - does this mean I should compile and install fixes_2_2 on host then use this to…
Terry Kemp wrote 15 lines
On Thu, 2007-03-08 at 08:07 +0100, Peter Vreman wrote: > > <......> > > fpcmake -p -Tarm-linux Makefile.fpc > > Processing Makefile.fpc > > Error: Target "linux", package "fcl-base" not found > > make[7]: *** [fpc_install] Error 1 > > make[7]: Leaving directory `/home/tmk/fpc/fixes_2_2/packages/fcl-db' > > make[6]: *** [fcl-db_install] Error 2 > > You need to update fpcmake on the host machine first. > thanks - does this mean I should compile and install fixes_2_2 on host then use this to do crossbuild?

i'd be interested to know if you can get this to work, terry. i can compile with fixes_2_2, but get seg faults and runtime errors on my xscale board. i'm waiting around nervously not wanting to write all my nice fpc code over in c.

henry

Reply by email