Displaying 1 result from an estimated 1 matches for "login_tty".
2012 Jun 07
0
Bug#676569: gcc-4.7: -nostdlib broken, multiarch library path always added
Package: gcc-4.7
Version: 4.7.0-12
Severity: serious
Justification: breaks unrelated software
The following scenario is broken: I would expect the link to fail.
This is a carefully nailed-down testcase to figure out that the
fault is with gcc not binutils.
tg at zigo:~ $ echo 'int login_tty(int); void _exit(int); void _start() { _exit(login_tty(0)); }' >test.c
tg at zigo:~ $ rm -f test.out; gcc -nostdlib -lutil -o test.out test.c; ls -l test.out
-rwxr-xr-x 1 tg tg 3712 Jun 7 20:09 test.out
Reason behind this is that GNU autoconf generated configure scripts
(and other things l...