[fpc-devel] Compiling Lazarus on PPC Linux
Mark Morgan Lloyd
markMLl.fpc-devel at telemetry.co.uk
Fri Nov 29 23:23:02 CET 2013
If smartlinking is enabled by appending -CX to fpc.cfg, FPC can build
itself on PPC Linux and can build Lazarus, but when lazbuild is used to
compile a project I see something like
Free Pascal Compiler version 2.6.2 [2013/02/15] for powerpc
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for PowerPC
Compiling SynTest.lpr
Compiling testbase.pas
Assembling testbase
Assembling with smartlinking testbase
/usr/local/share/lazarus-trunk/components/synedit/test/units/powerpc-linux/testbase.sl/TestBase0s87.s:
Assembler messages:
/usr/local/share/lazarus-trunk/components/synedit/test/units/powerpc-linux/testbase.sl/TestBase0s87.s:142747:
Error: undefined symbol `.Ll2' in operation
/usr/local/share/lazarus-trunk/components/synedit/test/units/powerpc-linux/testbase.sl/TestBase0s87.s:142747:
Error: undefined symbol `.Ll1' in operation
..
/usr/local/share/lazarus-trunk/components/synedit/test/units/powerpc-linux/testbase.sl/TestBase0s87.s:145623:
Error: undefined symbol `.Ll443' in operation
/usr/local/share/lazarus-trunk/components/synedit/test/units/powerpc-linux/testbase.sl/TestBase0s87.s:145623:
Error: undefined symbol `.Ll442' in operation
testbase.pas(652) Error: Error while assembling exitcode 1
/usr/bin/ar: creating
/usr/local/share/lazarus-trunk/components/synedit/test/units/powerpc-linux/libptestbase.a
/usr/bin/ar:
/usr/local/share/lazarus-trunk/components/synedit/test/units/powerpc-linux/testbase.sl/Test
Base0s87.o: No such file or directory
testbase.pas(652) Error: Error while linking
testbase.pas(652) Fatal: There were 3 errors compiling module, stopping
ERROR: failed compiling of project
/usr/local/share/lazarus-trunk/components/synedit/test/SynTest.lpi
Making sure that smartlinking isn't selected eliminates the problem.
Is this something I should be raising as a bug, or accepting as caused
by architecture peculiarities?
Please note that either way, this is a request for guidance rather than
a complaint.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-devel
mailing list