[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Your message dated Sun, 06 May 2018 12:34:52 +0000
with message-id <E1fFIsO-000AEj-5Z@fasolo.debian.org>
and subject line Bug#896057: fixed in gcc-7 7.3.0-18
has caused the Debian Bug report #896057,
regarding gcc-7: doesn't look for "as" in dir specified by -B
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
896057: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896057
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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-linux-gnu-as", X_OK) = 0
  3644  execve("/usr/bin/x86_64-linux-gnu-as", ["/usr/bin/x86_64-linux-gnu-as", "--64", "-o", "null.o", "/tmp/cc40S4xu.s"], 0x1ca26d0 /* 24 vars */ <unfinished ...>

This breaks afl-gcc (part of the afl package), which uses the -B option to talk GCC into using a hacked version of the assembler.

I guess this is fallout from fixing #895251.

Previously it worked like this:

  $ gcc --version | head -n1
  gcc (Debian 7.3.0-15) 7.3.0

  $ strace -f -o '| grep -w as' gcc -B/foo/bar/ -c -x c /dev/null
  3770  stat("/foo/bar/x86_64-linux-gnu/7/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/foo/bar/x86_64-linux-gnu/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/foo/bar/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/7/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/7/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/7/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/7/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3770  stat("/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/bin/as", 0x7ffd82351450) = -1 ENOENT (No such file or directory)
  3773  execve("/usr/local/bin/as", ["as", "--64", "-o", "null.o", "/tmp/ccFhN057.s"], 0xbe46d0 /* 24 vars */) = -1 ENOENT (No such file or directory)
  3773  execve("/usr/bin/as", ["as", "--64", "-o", "null.o", "/tmp/ccFhN057.s"], 0xbe46d0 /* 24 vars */ <unfinished ...>

As you can see, GCC was already looking for "as" in a triplet-specific directory. So perhaphs gcc-7 should ship an appropriate symlink in /usr/lib/gcc/<triplet>/7/, instead of hardcoding path to "as" at configure time?


-- System Information:
Debian Release: buster/sid
 APT prefers stable-updates
 APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-7 depends on:
ii  binutils      2.30-15
ii  cpp-7         7.3.0-16
ii  gcc-7-base    7.3.0-16
ii  libc6         2.27-3
ii  libcc1-0      8-20180414-1
ii  libgcc-7-dev  7.3.0-16
ii  libgcc1       1:8-20180414-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-20180414-1
ii  zlib1g        1:1.2.8.dfsg-5

Versions of packages gcc-7 recommends:
ii  libc6-dev  2.27-3

--
Jakub Wilk

--- End Message ---
--- Begin Message ---
Source: gcc-7
Source-Version: 7.3.0-18

We believe that the bug you reported is fixed in the latest version of
gcc-7, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 896057@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 06 May 2018 13:25:30 +0200
Source: gcc-7
Binary: gcc-7-base libgcc-7-dev libgcc4 libgcc4-dbg lib64gcc-7-dev lib32gcc-7-dev libn32gcc-7-dev libx32gcc-7-dev gcc-7 gcc-7-multilib gcc-7-test-results gcc-7-plugin-dev gcc-7-hppa64-linux-gnu cpp-7 gcc-7-locales g++-7 g++-7-multilib libgomp1 libgomp1-dbg lib32gomp1 lib32gomp1-dbg lib64gomp1 lib64gomp1-dbg libn32gomp1 libn32gomp1-dbg libasan4 libasan4-dbg lib32asan4 lib32asan4-dbg lib64asan4 lib64asan4-dbg libx32asan4 libx32asan4-dbg libubsan0 libubsan0-dbg lib32ubsan0 lib32ubsan0-dbg lib64ubsan0 lib64ubsan0-dbg libx32ubsan0 libx32ubsan0-dbg libcilkrts5 libcilkrts5-dbg lib32cilkrts5 lib32cilkrts5-dbg lib64cilkrts5 lib64cilkrts5-dbg libx32cilkrts5 libx32cilkrts5-dbg libgccjit-7-doc libgccjit-7-dev gobjc++-7 gobjc++-7-multilib gobjc-7 gobjc-7-multilib libobjc-7-dev lib64objc-7-dev lib32objc-7-dev libn32objc-7-dev libx32objc-7-dev gfortran-7 gfortran-7-multilib libgfortran-7-dev lib64gfortran-7-dev lib32gfortran-7-dev libn32gfortran-7-dev libx32gfortran-7-dev libgfortran4
 libgfortran4-dbg lib64gfortran4 lib64gfortran4-dbg lib32gfortran4 lib32gfortran4-dbg libn32gfortran4 libn32gfortran4-dbg libx32gfortran4 libx32gfortran4-dbg gccgo-7 gccgo-7-multilib libgo11 libgo11-dbg lib64go11 lib64go11-dbg lib32go11 lib32go11-dbg libn32go11 libn32go11-dbg libx32go11 libx32go11-dbg libstdc++-7-dev libstdc++-7-pic libstdc++6-7-dbg lib32stdc++-7-dev lib32stdc++6-7-dbg lib64stdc++-7-dev lib64stdc++6-7-dbg libn32stdc++-7-dev libn32stdc++6-7-dbg libx32stdc++-7-dev libx32stdc++6-7-dbg libstdc++-7-doc gnat-7 gnat-7-sjlj libgnat-7 libgnat-7-dbg libgnatvsn7-dev libgnatvsn7 libgnatvsn7-dbg gdc-7 gdc-7-multilib libgphobos-7-dev libgphobos71 libgphobos71-dbg lib64gphobos-7-dev lib64gphobos71 lib64gphobos71-dbg lib32gphobos-7-dev lib32gphobos71 lib32gphobos71-dbg libx32gphobos-7-dev libx32gphobos71 libx32gphobos71-dbg gccbrig-7 libhsail-rt-7-dev gcc-7-offload-nvptx libgomp-plugin-nvptx1
 gcc-7-source
Architecture: source
Version: 7.3.0-18
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
 cpp-7      - GNU C preprocessor
 g++-7      - GNU C++ compiler
 g++-7-multilib - GNU C++ compiler (multilib support)
 gcc-7      - GNU C compiler
 gcc-7-base - GCC, the GNU Compiler Collection (base package)
 gcc-7-hppa64-linux-gnu - GNU C compiler (cross compiler for hppa64)
 gcc-7-locales - GCC, the GNU compiler collection (native language support files)
 gcc-7-multilib - GNU C compiler (multilib support)
 gcc-7-offload-nvptx - GCC offloading compiler to NVPTX
 gcc-7-plugin-dev - Files for GNU GCC plugin development.
 gcc-7-source - Source of the GNU Compiler Collection
 gcc-7-test-results - Test results for the GCC test suite
 gccbrig-7  - GNU BRIG (HSA IL) frontend
 gccgo-7    - GNU Go compiler
 gccgo-7-multilib - GNU Go compiler (multilib support)
 gdc-7      - GNU D compiler (version 2)
 gdc-7-multilib - GNU D compiler (version 2, multilib support)
 gfortran-7 - GNU Fortran compiler
 gfortran-7-multilib - GNU Fortran compiler (multilib support)
 gnat-7     - GNU Ada compiler
 gnat-7-sjlj - GNU Ada compiler (setjump/longjump runtime library)
 gobjc++-7  - GNU Objective-C++ compiler
 gobjc++-7-multilib - GNU Objective-C++ compiler (multilib support)
 gobjc-7    - GNU Objective-C compiler
 gobjc-7-multilib - GNU Objective-C compiler (multilib support)
 lib32asan4 - AddressSanitizer -- a fast memory error detector (32bit)
 lib32asan4-dbg - AddressSanitizer -- a fast memory error detector (32 bit debug sy
 lib32cilkrts5 - Intel Cilk Plus language extensions (32bit)
 lib32cilkrts5-dbg - Intel Cilk Plus language extensions (32 bit debug symbols)
 lib32gcc-7-dev - GCC support library (32 bit development files)
 lib32gfortran-7-dev - Runtime library for GNU Fortran applications (32bit development f
 lib32gfortran4 - Runtime library for GNU Fortran applications (32bit)
 lib32gfortran4-dbg - Runtime library for GNU Fortran applications (32 bit debug symbol
 lib32go11  - Runtime library for GNU Go applications (32bit)
 lib32go11-dbg - Runtime library for GNU Go applications (32 bit debug symbols)
 lib32gomp1 - GCC OpenMP (GOMP) support library (32bit)
 lib32gomp1-dbg - GCC OpenMP (GOMP) support library (32 bit debug symbols)
 lib32gphobos-7-dev - Phobos D standard library (32bit development files)
 lib32gphobos71 - Phobos D standard library (runtime library)
 lib32gphobos71-dbg - Phobos D standard library (debug symbols)
 lib32objc-7-dev - Runtime library for GNU Objective-C applications (32bit developme
 lib32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 lib32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 lib32ubsan0 - UBSan -- undefined behaviour sanitizer (32bit)
 lib32ubsan0-dbg - UBSan -- undefined behaviour sanitizer (32 bit debug symbols)
 lib64asan4 - AddressSanitizer -- a fast memory error detector (64bit)
 lib64asan4-dbg - AddressSanitizer -- a fast memory error detector (64bit debug sym
 lib64cilkrts5 - Intel Cilk Plus language extensions (64bit)
 lib64cilkrts5-dbg - Intel Cilk Plus language extensions (64bit debug symbols)
 lib64gcc-7-dev - GCC support library (64bit development files)
 lib64gfortran-7-dev - Runtime library for GNU Fortran applications (64bit development f
 lib64gfortran4 - Runtime library for GNU Fortran applications (64bit)
 lib64gfortran4-dbg - Runtime library for GNU Fortran applications (64bit debug symbols
 lib64go11  - Runtime library for GNU Go applications (64bit)
 lib64go11-dbg - Runtime library for GNU Go applications (64bit debug symbols)
 lib64gomp1 - GCC OpenMP (GOMP) support library (64bit)
 lib64gomp1-dbg - GCC OpenMP (GOMP) support library (64bit debug symbols)
 lib64gphobos-7-dev - Phobos D standard library (64bit development files)
 lib64gphobos71 - Phobos D standard library (runtime library)
 lib64gphobos71-dbg - Phobos D standard library (debug symbols)
 lib64objc-7-dev - Runtime library for GNU Objective-C applications (64bit developme
 lib64stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 lib64stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 lib64ubsan0 - UBSan -- undefined behaviour sanitizer (64bit)
 lib64ubsan0-dbg - UBSan -- undefined behaviour sanitizer (64bit debug symbols)
 libasan4   - AddressSanitizer -- a fast memory error detector
 libasan4-dbg - AddressSanitizer -- a fast memory error detector (debug symbols)
 libcilkrts5 - Intel Cilk Plus language extensions (runtime)
 libcilkrts5-dbg - Intel Cilk Plus language extensions (debug symbols)
 libgcc-7-dev - GCC support library (development files)
 libgcc4    - GCC support library
 libgcc4-dbg - GCC support library (debug symbols)
 libgccjit-7-dev - GCC just-in-time compilation (development files)
 libgccjit-7-doc - GCC just-in-time compilation (documentation)
 libgfortran-7-dev - Runtime library for GNU Fortran applications (development files)
 libgfortran4 - Runtime library for GNU Fortran applications
 libgfortran4-dbg - Runtime library for GNU Fortran applications (debug symbols)
 libgnat-7  - runtime for applications compiled with GNAT (shared library)
 libgnat-7-dbg - runtime for applications compiled with GNAT (debugging symbols)
 libgnatvsn7 - GNU Ada compiler selected components (shared library)
 libgnatvsn7-dbg - GNU Ada compiler selected components (debugging symbols)
 libgnatvsn7-dev - GNU Ada compiler selected components (development files)
 libgo11    - Runtime library for GNU Go applications
 libgo11-dbg - Runtime library for GNU Go applications (debug symbols)
 libgomp-plugin-nvptx1 - GCC OpenMP v4.5 plugin for offloading to NVPTX
 libgomp1   - GCC OpenMP (GOMP) support library
 libgomp1-dbg - GCC OpenMP (GOMP) support library (debug symbols)
 libgphobos-7-dev - Phobos D standard library
 libgphobos71 - Phobos D standard library (runtime library)
 libgphobos71-dbg - Phobos D standard library (debug symbols)
 libhsail-rt-7-dev - HSAIL runtime library (development files)
 libn32gcc-7-dev - GCC support library (n32 development files)
 libn32gfortran-7-dev - Runtime library for GNU Fortran applications (n32 development fil
 libn32gfortran4 - Runtime library for GNU Fortran applications (n32)
 libn32gfortran4-dbg - Runtime library for GNU Fortran applications (n32 debug symbols)
 libn32go11 - Runtime library for GNU Go applications (n32)
 libn32go11-dbg - Runtime library for GNU Go applications (n32 debug symbols)
 libn32gomp1 - GCC OpenMP (GOMP) support library (n32)
 libn32gomp1-dbg - GCC OpenMP (GOMP) support library (n32 debug symbols)
 libn32objc-7-dev - Runtime library for GNU Objective-C applications (n32 development
 libn32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libn32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libobjc-7-dev - Runtime library for GNU Objective-C applications (development fil
 libstdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libstdc++-7-doc - GNU Standard C++ Library v3 (documentation files)
 libstdc++-7-pic - GNU Standard C++ Library v3 (shared library subset kit)
 libstdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libubsan0  - UBSan -- undefined behaviour sanitizer (runtime)
 libubsan0-dbg - UBSan -- undefined behaviour sanitizer (debug symbols)
 libx32asan4 - AddressSanitizer -- a fast memory error detector (x32)
 libx32asan4-dbg - AddressSanitizer -- a fast memory error detector (x32 debug symbo
 libx32cilkrts5 - Intel Cilk Plus language extensions (x32)
 libx32cilkrts5-dbg - Intel Cilk Plus language extensions (x32 debug symbols)
 libx32gcc-7-dev - GCC support library (x32 development files)
 libx32gfortran-7-dev - Runtime library for GNU Fortran applications (x32 development fil
 libx32gfortran4 - Runtime library for GNU Fortran applications (x32)
 libx32gfortran4-dbg - Runtime library for GNU Fortran applications (x32 debug symbols)
 libx32go11 - Runtime library for GNU Go applications (x32)
 libx32go11-dbg - Runtime library for GNU Go applications (x32 debug symbols)
 libx32gphobos-7-dev - Phobos D standard library (x32 development files)
 libx32gphobos71 - Phobos D standard library (runtime library)
 libx32gphobos71-dbg - Phobos D standard library (debug symbols)
 libx32objc-7-dev - Runtime library for GNU Objective-C applications (x32 development
 libx32stdc++-7-dev - GNU Standard C++ Library v3 (development files)
 libx32stdc++6-7-dbg - GNU Standard C++ Library v3 (debugging files)
 libx32ubsan0 - UBSan -- undefined behaviour sanitizer (x32)
 libx32ubsan0-dbg - UBSan -- undefined behaviour sanitizer (x32 debug symbols)
Closes: 896057 897416 897896
Changes:
 gcc-7 (7.3.0-18) unstable; urgency=medium
 .
   * Update to SVN 20180506 (r259973) from the gcc-7-branch.
     - Fix PR middle-end/84955, PR libstdc++/pr66689, PR libstdc++/68397,
       PR libstdc++/84769, PR libstdc++/85632, PR fortran/81773,
       PR fortran/83606.
   * Update the Linaro support to the 7-2018.04 snapshot.
   * Don't configure with --with-as and --with-ld, but search the triplet
     prefixed as and ld in the same places as as/ld. Closes: #896057, #897896.
   * Enable decimal float support on kfreebsd-amd64. Closes: #897416.
Checksums-Sha1:
 6e2543357c8b6308e5ac3014180a9077582d9e7b 25567 gcc-7_7.3.0-18.dsc
 50d08bceba156ae0c527d1a6b108a246e41422f0 1041478 gcc-7_7.3.0-18.diff.gz
 6ba28457fd2d3cd59d1f895eb4faca601c9a869d 10592 gcc-7_7.3.0-18_source.buildinfo
Checksums-Sha256:
 9c4b3e5730cf8f4be3236eadec69c35ee4e49fdb8a6e2aca0ae499ee14411f9e 25567 gcc-7_7.3.0-18.dsc
 a7314eb444c84eb6dcf67c5eb8bd5cbd77c3187c45f2672d0a80021350851621 1041478 gcc-7_7.3.0-18.diff.gz
 e688da68cff725349e58a9037378d64a7133a1a179da0276b3497fdeea2b756d 10592 gcc-7_7.3.0-18_source.buildinfo
Files:
 d7803af5ed2c26c3cdfa0cd101decbf4 25567 devel optional gcc-7_7.3.0-18.dsc
 8ac2a7fdfdcdef14670d4379686440b5 1041478 devel optional gcc-7_7.3.0-18.diff.gz
 fd6fc7a0634f9578bfc83f3a672baf89 10592 devel optional gcc-7_7.3.0-18_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlru8MEQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9YV2EACOCERlH/EC/U4+FZ/dclD+obWl9aOYy5fZ
wHCl2s4rA5zX1vEmsOHHC3He0Js4jDnBWQ57l1z2tH9ted0YTdZ/gZt5Uo6tFB6a
OoWtCMrI58TOZi9i7EPq0W8M4QKl+223YqFTzBVJsfPobIVeFiNFSEVP040bpqnh
H9jTwjVQDKb60I6a1gzK5gjztyYBe4LlCHNT1IPK1N9xtlXkWUfibI0fjR8xBze7
Wmm740Zhuo0X0Xp4Lf4Y0YIrdSpKYIS5BagFcBPoV59GGpl25KZ2Vpx2hAvb2fLq
haZsaoFwWx/VZuU1UxTB1WfMUsr/qxTrD7+QiwM+qnNM88fMAhQ7PO3A3AIRMGWS
p7TWir+vYpsjIU8JK0HP31knCZN42ixTkI1nbwptlyEbNYjyAycAq+eKWClGow/m
a8td0yayXktIMw1u7llTH0icsPOzh5Xm7QLNLW4He9saEDLj3jikkZZ3MAllWSmR
9wCZfj85naiIwC/QZH9mrfEUGdQ5Tu2UeWc6C282tfno4PgujypREwEFHiGaKWfo
F0Qo/XnVo1crofAsMw3x+q5u/f0cmuAPYdIi05ErRdnfT4RpsPlkDAstdt9FNMBj
OHI7xtpHb0FdBdO0LXsCTJTQAPAATHb+mXTquO4h6bTgnVlM2iw+mzfXOMa+PJce
dc+zPU8bvg==
=EzFV
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: