[Lazarus] Building trunk Lazarus with trunk FPC

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sat Dec 21 18:11:29 CET 2013


I know that this is not a supported combination, but I've just been 
trying to build trunk Lazarus (r43576) with trunk FPC (r26258) to see if 
I can work around a couple of recently-fixed issues. FPC trunk builds 
clean, and Lazarus (default configuration) builds with FPC 2.6.2.

On x86-Linux (Debian "Squeeze"), I notice a dependency on cairo-gobject, 
which only appears to have been added to typical distreaux recently. I 
presume that this is more of an FPC issue.

On SPARC-Linux (Debian "Lenny"), I get this:

..
Assembling lazbuild
Compiling resource ../units/sparc-linux/nogui/lazbuild.or
Linking ../lazbuild
/usr/local/lib/fpc/2.7.1/units/sparc-linux/fcl-res/resource.o: In 
function `RESOURCE_$$_finalize':
/usr/local/src/fpc/fpc-trunk/packages/./fcl-res/src/resource.pp:1151: 
relocation truncated to fit: R_SPARC_WDISP22 against symbol 
`FPC_ABSTRACTERROR' defined in .text.n_fpc_abstracterrorintern section 
in /usr/local/lib/fpc/2.7.1/units/sparc-linux/rtl/system.o
/usr/local/src/fpc/fpc-trunk/packages/./fcl-res/src/resource.pp:1151: 
relocation truncated to fit: R_SPARC_WDISP22 against symbol 
`FPC_ABSTRACTERROR' defined in .text.n_fpc_abstracterrorintern section 
in /usr/local/lib/fpc/2.7.1/units/sparc-linux/rtl/system.o
..
/usr/local/src/fpc/fpc-trunk/packages/./fcl-res/src/resource.pp:1151: 
relocation truncated to fit: R_SPARC_WDISP22 against symbol 
`FPC_ABSTRACTERROR' defined in .text.n_fpc_abstracterrorintern section 
in /usr/local/lib/fpc/2.7.1/units/sparc-linux/rtl/system.o
/usr/local/src/fpc/fpc-trunk/packages/./fcl-res/src/resource.pp:1151: 
additional relocation overflows omitted from the output
lazbuild.lpr(1629) Error: Error while linking
lazbuild.lpr(1629) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [lazbuild] Error 1
make[2]: Leaving directory `/usr/local/share/lazarus-trunk/ide'
..

Does anybody have any thoughts on this, or suggestions as to how I can 
get more useful debugging info?

I appreciate that neither of these OSes are particularly fresh, but I'd 
comment that Lenny in particular is a bit of a "sweet spot" as far as 
non-x86 platforms go: SPARC, some PPC and some ARM (and possibly other 
systems which I don't have here) suffer from fairly severe "bit rot" on 
later versions.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]









make[2]: Entering directory `/usr/local/share/lazarus-trunk/ide'
/usr/local/bin/ppcsparc -gl -Sci -dlclnogui -Fu../designer 
-Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager 
-Fu../packager/frames -Fu../components/custom -Fuframes -Fu. 
-Fu/usr/local/lib/fpc/2.7.1/units/sparc-linux/rtl 
-Fu/usr/local/lib/fpc/2.7.1/units/sparc-linux/paszlib 
-Fu/usr/local/lib/fpc/2.7.1/units/sparc-linux/fcl-process 
-Fu/usr/local/lib/fpc/2.7.1/units/sparc-linux/hash 
-Fu/usr/local/lib/fpc/2.7.1/units/sparc-linux/fpmkunit 
-Fu/usr/local/lib/fpc/2.7.1/units/sparc-linux/regexpr -Fiinclude 
-Fiinclude/linux -Fi../images -FE.. -FU../units/sparc-linux/nogui 
-Fl/usr/lib/gcc/sparc-linux-gnu/4.3.2 -Flinclude 
-Fl/etc/ld.so.conf.d/*.conf -Fu../packager/units/sparc-linux 
-Fu../components/codetools/units/sparc-linux 
-Fu../components/lazutils/lib/sparc-linux -Fu../lcl/units/sparc-linux 
-Fu../lcl/units/sparc-linux/nogui 
-Fu../components/ideintf/units/sparc-linux/nogui 
-Fu../components/synedit/units/sparc-linux/nogui 
-Fu../components/lazcontrols/lib/sparc-linux/nogui 
-Fu../units/sparc-linux/nogui  -dsparc lazbuild.lpr




More information about the Lazarus mailing list