It's not sure it will work, there seems to be a mips* specific binutils
issue as a similar fix did not work for openssh.
i've just tried and it doesn't seem to work, the results below are from
an emulated mips system
Unchanged package from sid
make[1]: Entering directory `/root/autossh-1.4b'
cc -g -O2 -g -Wall -O2 -Wall -DVER=\"1.4b\" -DSSH_PATH=\"/usr/bin/ssh\"
-c -o autossh.o autossh.c
cc -o autossh autossh.o -lnsl
/usr/bin/ld: non-dynamic relocations refer to dynamic symbol
__progname@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [autossh] Error 1
make[1]: Leaving directory `/root/autossh-1.4b'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command ‘cd autossh-1.4b && dpkg-buildpackage -b -uc’ failed.
E: Child process failed
debian-mips:~#
With the proposed patch
make[1]: Entering directory `/root/autossh-1.4b'
cc -g -O2 -g -Wall -O2 -fPIC -Wall -DVER=\"1.4b\"
-DSSH_PATH=\"/usr/bin/ssh\" -c -o autossh.o autossh.c
cc -o autossh autossh.o -lnsl
/usr/bin/ld: non-dynamic relocations refer to dynamic symbol
__progname@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [autossh] Error 1
make[1]: Leaving directory `/root/autossh-1.4b'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debian-mips:~/autossh-1.4b#
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org