Hi, recently, tftp-hpa has started to fail to build on mips and mipsel with the following error: ---snip--- [...] make -C tftpd [...] gcc -g -O2 -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/build/buildd/tftp-hpa-5.0 -c remap.c gcc -Wl,-z,defs tftpd.o recvfrom.o misc.o remap.o ../common/libcommon.a -lwrap -lnsl /build/buildd/tftp-hpa-5.0/lib/libxtra.a -o tftpd /usr/bin/ld.real: non-dynamic relocations refer to dynamic symbol __progname@@GLIBC_2.0 /usr/bin/ld.real: failed to set dynamic section sizes: Bad value collect2: ld returned 1 exit status [...] ---snap--- The full buildlogs are available at: https://buildd.debian.org/fetch.cgi?pkg=tftp-hpa;ver=5.0-10;arch=mips;stamp=1261015828 https://buildd.debian.org/fetch.cgi?pkg=tftp-hpa;ver=5.0-10;arch=mipsel;stamp=1261755055 Any help to fix it would be welcome. Regards, Daniel -- Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: daniel.baumann at panthera-systems.net Internet: http://people.panthera-systems.net/~daniel-baumann/
On 01/03/2010 05:20 AM, Daniel Baumann wrote:> Hi, > > recently, tftp-hpa has started to fail to build on mips and mipsel with > the following error: > > ---snip--- > [...] > make -C tftpd > [...] > gcc -g -O2 -W -Wall -Wpointer-arith -Wbad-function-cast > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow > -Wsign-compare -pipe -fno-strict-aliasing -I/build/buildd/tftp-hpa-5.0 > -c remap.c > gcc -Wl,-z,defs tftpd.o recvfrom.o misc.o remap.o ../common/libcommon.a > -lwrap -lnsl /build/buildd/tftp-hpa-5.0/lib/libxtra.a -o tftpd > /usr/bin/ld.real: non-dynamic relocations refer to dynamic symbol > __progname@@GLIBC_2.0 > /usr/bin/ld.real: failed to set dynamic section sizes: Bad value > collect2: ld returned 1 exit status > [...] > ---snap--- > > The full buildlogs are available at: > https://buildd.debian.org/fetch.cgi?pkg=tftp-hpa;ver=5.0-10;arch=mips;stamp=1261015828 > > https://buildd.debian.org/fetch.cgi?pkg=tftp-hpa;ver=5.0-10;arch=mipsel;stamp=1261755055 > > > Any help to fix it would be welcome. >This really sounds like a glibc problem. I don't use the symbol __progname anywhere. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.