[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:50:28 +0000
with message-id <E1h6zxc-0000IM-Lc@fasolo.debian.org>
and subject line Bug#920286: fixed in binutils 2.32-7
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.32-7

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 16:23:32 +0100
Source: binutils
Architecture: source
Version: 2.32-7
Distribution: experimental
Urgency: medium
Maintainer: Matthias Klose <doko@debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 920286
Changes:
 binutils (2.32-7) experimental; urgency=medium
 .
   * Snapshot, taken from the 2.32 branch (20190321).
     - Fix PR ld/24355, segfault in function called from ppc_finish_symbols.
   * 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:
 169c807798938d4a96892c69dec2f7ed87e27de0 11152 binutils_2.32-7.dsc
 b9c68a9b753828eeb48198c5dd12f02452fa3595 168392 binutils_2.32-7.debian.tar.xz
 534930e7ecbb45af2e2ff8b05187404b72263624 7816 binutils_2.32-7_source.buildinfo
Checksums-Sha256:
 945dbb41ad0e3abd790a965336cba2d8b961ba3be34007b66e7c48316781fe72 11152 binutils_2.32-7.dsc
 b85f2de74bc85feeb7f64811204a61c1be0df7c404ab4ead6d9bd83857faeb39 168392 binutils_2.32-7.debian.tar.xz
 859e3196c88026d8c22b019db07ae34bd2ae5d58fc6e5830d6c25ae7876cde91 7816 binutils_2.32-7_source.buildinfo
Files:
 8ed3ca7e8a86e39247ed207a8e7ac4fc 11152 devel optional binutils_2.32-7.dsc
 6a1946f1beb4bb35085ede24c33db03a 168392 devel optional binutils_2.32-7.debian.tar.xz
 4520929e824af99467a110db811faf81 7816 devel optional binutils_2.32-7_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlyTrLQQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9a7jD/9fcmOT5A+vzl3toOEUT1lcyFQq8ulKTAKp
4D7kAwU+WXhkSUt1kaCeyDXJozkp8PmZHTOg3PiEJwW6HfJc55psRsggtRUEjwRU
R+a1PjusHrD8XhW7zrkWXVPPV+4cBpsJK3p2YrAlR4u6fRm5ShzB8KQwMZxqyLih
ET551C0X7E9yOpNhFADelVwhjv+OvQ5wlLvtCTYBrQ1166fm6u4xKbGoRJEsSRFm
xdFI3Unyef2Hu+Sdxc1uHOmwR2bMnDjKNWRrz9wrKAW51u5o/dj8/wpT1MrZMCyq
B91LfroNcgGC3ebiQfF/YvAupDAzbKXOIRcsKWFRgcQaVrVOBvmopxcmBzlMBQtc
nT3+kTdOv36xWA44WJIoeEeuvCk+Dh1va3sfYOckKIoiSmYnuSTkKw9yVMU3QmmZ
ug03eySRCZmgW4eozTb1D69vOIgUA5t8EH39Vf1TbkhrJe3bOnCVt56bhBrfzIdM
4qCcfkvAKilzNcnRhzzjFcj57iUjuZbdkAF5tOi+GhVnB8ty10utNZBVVNPbn1RV
W0epBuAQPltnvy+zBg6vWIv0YRAxx1LPoAs/aaY38nFDBPf/Kvyfocnxom/05eZa
tjjypbgn5+4xrTGvL+LgnT1O1+EOJjJ+4pwo6yy5YBTEYRC0cFTei7NFLWPIUPZ0
ltvEZDUpLQ==
=feDh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: