[fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Fri Oct 26 12:29:18 CEST 2012


Over the last few days I've brought my first Debian "Wheezy" (currently 
AKA "testing") system up and find I can no longer compile gdbint. This 
prevents build completing on both 2.6.0 and trunk, even with NOGDB=1, 
fiddling with ./Makefile.fpc and ./packages/Makefile.fpc to remove ide 
and gdbint allows the build to complete.

If gdbint is only used by the ide, shouldn't it be excluded if NOGDB is 
defined or if ide is removed at the top level?

I'm reluctant to bug-report the build failure since at present I'm 
testing on SPARC/Linux, and the build failure (as distinct from the 
dependency) could be platform-specific. For the record the failure point 
is as below with 2.6.0:

..
make -C gdbint smart
make[3]: Entering directory 
`/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/packages/gdbint'
make all LINKSMART=1 CREATESMART=1
make[4]: Entering directory 
`/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/packages/gdbint'
/bin/mkdir -p units/sparc-linux
/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/compiler/ppcsparc -XX -CX -Ur 
-Xs -O2 -n 
-Fu/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/rtl/units/sparc-linux 
-Fl/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/libgdb/linux/sparc 
-Fo/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/libgdb/linux/sparc 
-Fi/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/libgdb/linux/sparc -Fisrc 
-FE. -FUunits/sparc-linux -Fl/usr/lib/gcc/sparc-linux-gnu/4.6 -Flinclude 
-Fl/etc/ld.so.conf.d/*.conf -O- -gl -vt -dsparc -dRELEASE src/gdbver.pp
Using assembler: /usr/bin/as
/usr/bin/ld: warning: ./link.res contains output sections; did you 
forget -T?
/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/rtl/units/sparc-linux/cprt0.o: 
In function `_start':
(.text+0x58): undefined reference to `_init'
/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/rtl/units/sparc-linux/cprt0.o: 
In function `_start':
(.text+0x5c): undefined reference to `_fini'
/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/rtl/units/sparc-linux/cprt0.o: 
In function `_start':
(.text+0x64): undefined reference to `_init'
/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/rtl/units/sparc-linux/cprt0.o: 
In function `_start':
(.text+0x68): undefined reference to `_fini'
gdbver.pp(95,33) Error: Error while linking
gdbver.pp(95,33) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[4]: *** [gdbver] Error 1
make[4]: Leaving directory 
`/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/packages/gdbint'
make[3]: *** [fpc_smart] Error 2
make[2]: *** [gdbint_smart] Error 2
make[3]: Leaving directory 
`/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/packages/gdbint'

There is no error on older Debian systems. I believe that I've got all 
prerequisites installed, noting that a build without ide and gdbint is OK.

-- 
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