[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#852851: mknbi: FTBFS (undefined reference to _GLOBAL_OFFSET_TABLE_')



Package: src:mknbi
Version: 1.4.4-12
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -B"
but it failed:

--------------------------------------------------------------------------------
[...]
gcc -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -fgnu89-inline -fno-stack-protector -m32 -mcpu=i386 -Wall -W -Wno-format -Wno-unused -DVERSION=\"1.4.4\" -c printf.c
gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -fgnu89-inline -fno-stack-protector -m32 -mcpu=i386 -Wall -W -Wno-format -Wno-unused -DVERSION=\"1.4.4\" -c string.c
gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc -E -DRELOC=0x92800  start32.S | as --32 -o start32@0x92800.o
ld -N -Ttext 0x92800 -e _start --oformat binary -m elf_i386 -o first32@0x92800.linux start32@0x92800.o first32.o memsizes.o printf.o string.o
first32.o: In function `gettag':
first32.c:(.text+0x8): undefined reference to `_GLOBAL_OFFSET_TABLE_'
first32.o: In function `copy_nonws':
first32.c:(.text+0xcc): undefined reference to `_GLOBAL_OFFSET_TABLE_'
first32.o: In function `discard_arg':
first32.c:(.text+0x128): undefined reference to `_GLOBAL_OFFSET_TABLE_'
first32.o: In function `outtag':
first32.c:(.text+0x169): undefined reference to `_GLOBAL_OFFSET_TABLE_'
first32.o: In function `putchar':
first32.c:(.text+0x1dc): undefined reference to `_GLOBAL_OFFSET_TABLE_'
first32.o:first32.c:(.text+0x213): more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
Makefile:99: recipe for target 'first32@0x92800.linux' failed
make[2]: *** [first32@0x92800.linux] Error 1
rm start32@0x92800.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:18: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--------------------------------------------------------------------------------

It also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/testing/amd64/mknbi.html

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

Thanks.


Reply to: