Bug#350239: [hppa] ld doesn't like outputting to /dev/null
Package: binutils
Version: 2.16.1cvs20051214-1
The Linux kernel's make menuconfig on hppa currently fails because
it tries to do
scripts/kconfig/lxdialog/check-lxdialog.sh:
[..]
echo "main() {}" | $cc -lncurses -xc - -o /dev/null 2> /dev/null
[..]
To check which ncurses library it is able to link against.
This output to /dev/null causes none of the ncurses options to get
picked and thus, lxdialog to fail to link.
kyle@duet:~/git/parisc-2.6% echo "main() {}" | gcc -lncursesw -xc - -o /dev/null
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
Downgrading to previous version of binutils have the same problem, so
I'm unsure when this was introduced (and don't have time to sleuth too
far back).
Currently this change is pending for 2.6.16, so no release kernels
are bitten by it yet, but I suspect it may be a problem for other
Debian arches (though it wasn't on i386/ia64).
[CC'd to debian-hppa so some hppa toolchain guru can see it]
Cheers,
Kyle
Reply to: