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

Bug#920286: marked as done (gcc-8: Missing conflict/break with binutils-x86-64-linux-gnu:i386 can lead to broken compiler)



Your message dated Thu, 21 Mar 2019 15:35:26 +0000
with message-id <E1h6zj4-000GTa-7m@fasolo.debian.org>
and subject line Bug#920286: fixed in binutils 2.31.1-16
has caused the Debian Bug report #920286,
regarding gcc-8: Missing conflict/break with binutils-x86-64-linux-gnu:i386 can lead to broken compiler
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.)


-- 
920286: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920286
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-8
Version: 8.2.0-14
Severity: important

Dear Maintainer,

Probably gcc-8 should be in conflict with binutils-x86-64-linux-gnu:i386 because
of the following chain of events:
- install an unstable amd64 system
- enable multiarch i386
- install gcc-8
- install binutils-x86-64-linux-gnu:i386
  => This will (because of a conflict) uninstall binutils-x86-64-linux-gnu
Now the compiler is broken with this message:
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so: error loading plugin: /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so: mauvaise classe ELF : ELFCLASS64

This is because the plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so
is installed by gcc-8 (it is an amd64 executable) but is loaded by ld. Since
we can independently install the 32-bit version of the binutils, now we
have a 32-bit executable loading a 64-bit library. I am not sure what is the
proper fix but clearly it should be impossible to install the 32-bit version
of binutils with the 64-bit version of gcc-8 because of this plugin.
This probably explains bug #916603 (with gcc-6 instead of gcc-8).

Note that it may be strange to install binutils-x86-64-linux-gnu:i386 but
somehow APT decided to do it on its own at some point and I did not notice
so this can happen automatically.


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

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gcc-8 depends on:
ii  binutils      2.31.1-11
ii  cpp-8         8.2.0-14
ii  gcc-8-base    8.2.0-14
ii  libc6         2.28-5
ii  libcc1-0      8.2.0-14
ii  libgcc-8-dev  8.2.0-14
ii  libgcc1       1:8.2.0-14
ii  libgmp10      2:6.1.2+dfsg-4
ii  libisl19      0.20-2
ii  libmpc3       1.1.0-1
ii  libmpfr6      4.0.2~rc1-1
ii  libstdc++6    8.2.0-14
ii  zlib1g        1:1.2.11.dfsg-1

Versions of packages gcc-8 recommends:
ii  libc6-dev  2.28-5

Versions of packages gcc-8 suggests:
pn  gcc-8-doc         <none>
pn  gcc-8-locales     <none>
ii  gcc-8-multilib    8.2.0-14
pn  libasan5-dbg      <none>
pn  libatomic1-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  libubsan1-dbg     <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: binutils
Source-Version: 2.31.1-16

We believe that the bug you reported is fixed in the latest version of
binutils, 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 920286@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 binutils 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: Thu, 21 Mar 2019 15:49:23 +0100
Source: binutils
Architecture: source
Version: 2.31.1-16
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <doko@debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 915982 920286
Changes:
 binutils (2.31.1-16) unstable; urgency=medium
 .
   * Snapshot, taken from the 2.31 branch (20190321).
     - Fix PR ld/24355, segfault in function called from ppc_finish_symbols.
   * Fix VCS attributes in the control file. Closes: #915982.
   * Demote binutils-<target> from Multi-Arch: foreign to Multi-Arch: allowed
     (Helmut Grohne). Closes: #920286.
   * Let binutils-for-host Depends: binutils-<host>:any.
Checksums-Sha1:
 5ead9d33b5bbb507a58eff6c0f446bf0b563c819 11421 binutils_2.31.1-16.dsc
 dd28c0c1d981eed51bfdfd15106f818659ee7dcb 127464 binutils_2.31.1-16.debian.tar.xz
 6a428be868ce7b5a71c84312a53f21a124c38e6d 7892 binutils_2.31.1-16_source.buildinfo
Checksums-Sha256:
 ec76c13684d922a3619d7ec982db191714927bde6de6a3ff89e95d1ce7a61f33 11421 binutils_2.31.1-16.dsc
 15fc82a7c682da6bcbf56caf57da8f059655369cbfeb58b8312040e53e4fa11d 127464 binutils_2.31.1-16.debian.tar.xz
 637899a55a676457e08fb560d1b482e8a016e40430400fdfd02298d610f1eb45 7892 binutils_2.31.1-16_source.buildinfo
Files:
 5f074f055b95a97bc3f01773e050d4ff 11421 devel optional binutils_2.31.1-16.dsc
 0655a52c4a1a0d26e0ca85fffbbf9b6f 127464 devel optional binutils_2.31.1-16.debian.tar.xz
 b081699f3db753ea02c924c177a8d670 7892 devel optional binutils_2.31.1-16_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlyTqycQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9eRDEAClRo6RcHngiXutWFXwmEGRX/+ziJkX/cG/
q8h+vVJ4L73vkDWyS/DCYrWPQ89wDk/Q5eV7ISrhiB4n1FOxMl0jpMf8kSnxd3+R
q0zZgG2siwiYJBgY5UmcsXO0Jqz+JHdU0Olek9Zlu7nrtQMe/uBZQ+k8va9k9G8h
kdwyGnW41MwR3Y5Eef44bZmYQX1O0y7lzkAMvbSqdPsqFpZme06mAzaLpGnoe1ku
afDKvAEQuSoeUc3EjTd20yGTFHr7Y+x3FSrf3M9k+CyHK9UGMOkl44PvyHqx6+HL
grKHCc2JbUM0jfRgKt4IsLhUcHtX7xHkHglVuF4gbrtGvg77CbjWLPGWFrHgbMyf
WZkJpfdtsn1eNJc/jfQn2BEY5Ly70PcZ8cD8snPsNWF/uA3ABiZ2YYLjxAdtSRuF
SAmTAjF1NfeUroUELp1yQ7X5rY0MauQjBr55hV0rvmcyW9F8q+pi177fbEPSt9bQ
Mk70CltOfxZlaiIDNq2hbIQSCsNrt/3k5Ie/Itttu4Cwa1kpSyDaQ17AUb7FGoVc
tmG6R+EiH91ijCjDDqRYQS8hKaJMqdfgg7OE8/B1I91hOSNh6+7u9UvJQJZpi76e
OoW2Rbi53QxFHa3XTzv6MdrRH0ivdgV1DFWcgX7+z/qSM8cOlU03nnQ+hy8bvcWv
FLiLHAG28A==
=ckSG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: