[Pkg-pascal-devel] Bug#793991: Update on bug#793991: lazarus: armel and armhf builds stall

Graham Inggs graham at nerve.org.za
Sat Sep 5 16:27:19 UTC 2015


The build failed on armel and armhf:

# Add version.inc:
echo \'1.4.0+dfsg-4\' > ide/version.inc
touch configure-stamp
echo '# FPC configuration file for host system applications' >
debian/deb-host-fpc.cfg
echo '-k' >> debian/deb-host-fpc.cfg
echo '-Fl/usr/lib/arm-linux-gnueabihf' >> debian/deb-host-fpc.cfg
--- Building
...
/usr/bin/ppcarm -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu.
-Fu/usr/share/fpcsrc/2.6.4/rtl -FE. -FU../units/arm-linux
@/«BUILDDIR»/lazarus-1.4.0+dfsg/debian/deb-host-fpc.cfg -darm
fcllaz.pas
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Hint: (11030) Start of reading config file
/«BUILDDIR»/lazarus-1.4.0+dfsg/debian/deb-host-fpc.cfg
Error: (11006) Illegal parameter: -k
Hint: (11007) -? writes help pages
Makefile:2299: recipe for target 'fcllaz.ppu' failed
make[2]: *** [fcllaz.ppu] Error 1

>From the amd64 build:

# Add version.inc:
echo \'1.4.0+dfsg-4\' > ide/version.inc
touch configure-stamp
echo '# FPC configuration file for host system applications' >
debian/deb-host-fpc.cfg
echo '-k-z relro' >> debian/deb-host-fpc.cfg
echo '-Fl/usr/lib/x86_64-linux-gnu' >> debian/deb-host-fpc.cfg
--- Building

It looks like we don't handle the case where '-z relro' is the only
thing in LDFLAGS.
Strange that on my system I had '-Bsymbolic-functions' as well.



More information about the Pkg-pascal-devel mailing list