Bug#896057: gcc-7: doesn't look for "as" in dir specified by -B

2018-05-03 Thread Bob McChesney
On Fri, 20 Apr 2018 00:20:33 +0200 Jakub Wilk wrote: > * Helmut Grohne , 2018-04-19, 06:36: > >>perhaphs gcc-7 should ship an appropriate symlink in > >>/usr/lib/gcc//7/, instead of hardcoding path to "as" at > >>configure time? > -- > Jakub Wilk Please could assist with what you believe the bes

Bug#896057: gcc-7: doesn't look for "as" in dir specified by -B

2018-04-19 Thread Jakub Wilk
* Helmut Grohne , 2018-04-19, 06:36: perhaphs gcc-7 should ship an appropriate symlink in /usr/lib/gcc//7/, instead of hardcoding path to "as" at configure time? Your suggestion makes a lot of sense. The devil is in the detail though: * Does it work the same way for ld? Yes. * Do cross t

Bug#896057: gcc-7: doesn't look for "as" in dir specified by -B

2018-04-18 Thread Helmut Grohne
Hi Jakub, On Thu, Apr 19, 2018 at 12:31:03AM +0200, Jakub Wilk wrote: > GCC no longer looks for "as" in the directory specified by the -B option: Yes, I asked Matthias for passing --with-as to gcc. > This breaks afl-gcc (part of the afl package), which uses the -B option to > talk GCC into using

Bug#896057: gcc-7: doesn't look for "as" in dir specified by -B

2018-04-18 Thread Jakub Wilk
Package: gcc-7 Version: 7.3.0-16 Control: block 895618 with -1 GCC no longer looks for "as" in the directory specified by the -B option: $ gcc --version | head -n1 gcc (Debian 7.3.0-16) 7.3.0 $ strace -f -o '| grep -w as' gcc -B/foo/bar/ -c -x c /dev/null 3641 access("/usr/bin/x86_64