Bug#897896: gcc-7: "gcc" doesn't run "as" from $PATH
Package: gcc-7
Version: 7.3.0-17
Severity: normal
"gcc" doesn't run "as" from $PATH, but uses a hardcoded location; the issue
seems to arise from
https://anonscm.debian.org/viewvc/gcccvs/branches/sid/gcc-7/debian/rules2?r1=10122&r2=10123&
(see gcc/gcc.c, "find_a_file()" function and the DEFAULT_ASSEMBLER macro).
This means that I can't have the compiler output processed before piping it
to /usr/bin/as any more; sadly neither the "-B" option (see also #896057)
nor $COMPILER_PATH nor $GCC_EXEC_PREFIX work, these are deactivated by the
"--with-as" => DEFAULT_ASSEMBLER setting.
Please revert, and/or give me another way to redirect the assembler output.
Thank you very much!
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT:de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gcc-7 depends on:
ii binutils 2.30-15
ii cpp-7 7.3.0-17
ii gcc-7-base 7.3.0-17
ii libc6 2.27-3
ii libcc1-0 8-20180425-1
ii libgcc-7-dev 7.3.0-17
ii libgcc1 1:8-20180425-1
ii libgmp10 2:6.1.2+dfsg-3
ii libisl19 0.19-1
ii libmpc3 1.1.0-1
ii libmpfr6 4.0.1-1
ii libstdc++6 8-20180425-1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages gcc-7 recommends:
ii libc6-dev 2.27-3
Versions of packages gcc-7 suggests:
ii gcc-7-doc 7.2.0-1
pn gcc-7-locales <none>
pn gcc-7-multilib <none>
pn libasan4-dbg <none>
pn libatomic1-dbg <none>
pn libcilkrts5-dbg <none>
pn libgcc1-dbg <none>
pn libgomp1-dbg <none>
pn libitm1-dbg <none>
pn liblsan0-dbg <none>
pn libmpx2-dbg <none>
pn libquadmath0-dbg <none>
pn libtsan0-dbg <none>
pn libubsan0-dbg <none>
-- no debconf information
--
Reply to: