[Bug 1799955] Re: Cannot install multiarch libstdc++-7-dev:armhf and libstdc++-7-dev:amd64 on Ubuntu 18.04
Launchpad Bug Tracker
1799955 at bugs.launchpad.net
Mon Apr 29 19:14:46 UTC 2019
This bug was fixed in the package gcc-7 - 7.4.0-1ubuntu1~18.10
---------------
gcc-7 (7.4.0-1ubuntu1~18.10) cosmic-proposed; urgency=medium
* SRU: LP: #1814369.
* Fix target/88856, taken from the gcc-7-branch. LP: #1815057.
* Fix PR tree-optimization/89505, taken from the gcc-8 branch.
gcc-7 (7.4.0-1ubuntu1) disco; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.4.0-1) unstable; urgency=medium
* GCC 7.4.0 release.
* Back-out the gcc-search-prefixed-as-ld patch. See #915194.
gcc-7 (7.3.0-31ubuntu1) disco; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-31) unstable; urgency=medium
* GCC 7.4.0 release candidate 1.
* Update to SVN 20181129 (r266612) from the gcc-7-branch.
- Fix PR libstdc++/88199, PR libstdc++/87822, PR tree-optimization/79351,
PR bootstrap/81033, PR target/81733, PR target/52795,
PR middle-end/87645, PR middle-end/87610, PR tree-optimization/87665,
PR tree-optimization/87745, PR tree-optimization/87665,
PR middle-end/86139, PR middle-end/86076, PR target/88051 (x86),
PR target/82961, PR target/87867 (ARM), PR tree-optimization/84777,
PR rtl-optimization/84003, PR target/87853 (x86), PR target/87928 (x86),
PR rtl-optimization/85925, PR debug/88006, PR debug/87462,
PR middle-end/58372, PR c++/84281, PR c++/87075, PR fortran/88073,
PR fortran/88143, PR fortran/87597.
* Backport the libstdc++ mersenne twister optimization for AArch64, so that
the random header is the same on all architectures (Ubuntu only).
LP: #1799955.
* Fix VCS attribute in the control file. Addresses: #912405.
gcc-7 (7.3.0-30ubuntu1) disco; urgency=medium
* Backport the libstdc++ mersenne twister optimization for AArch64, so that
the random header is the same on all architectures (Ubuntu only).
LP: #1799955.
gcc-7 (7.3.0-30) unstable; urgency=medium
* Update to SVN 20181030 (r265622) from the gcc-7-branch.
- Fix PR middle-end/86542, PR middle-end/86539, PR middle-end/86660,
PR libstdc++/87749, PR libstdc++/87704, PR libstdc++/79433,
PR libstdc++/87641, PR libstdc++/86751, PR libstdc++/78595,
PR libstdc++/87061, PR libstdc++/70966, PR libstdc++/77854,
PR libstdc++/87538, PR tree-optimization/87473, PR middle-end/87623,
PR target/87511 (AArch64), PR target/87550 (x86), PR middle-end/87248,
PR rtl-optimization/87065, PR middle-end/86627, PR middle-end/86542,
PR middle-end/86539, PR middle-end/86660, PR middle-end/87024,
PR middle-end/86505, PR target/87370 (x86), PR target/87517 (x86),
PR target/87522 (x86), PR other/87353, PR target/87467 (x86),
PR target/87033 (PPC), PR debug/86687, PR c++/3698, PR c++/86208,
PR fortran/86421.
* Don't configure native builds with --with-sysroot. Apparently this cannot
be completely overridden with the command line option --sysroot.
* Update VCS attributes in the control file.
gcc-7 (7.3.0-29) unstable; urgency=medium
* Update to SVN 20180904 (r264075) from the gcc-7-branch.
- Fix PR sanitizer/86022, PR tree-optimization/85859, PR target/86662,
PR target/87014 (x86), PR c++/86763.
gcc-7 (7.3.0-28ubuntu1) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-28) unstable; urgency=medium
* Update to SVN 20180814 (r264534) from the gcc-7-branch.
- Fix PR libstdc++/86138, PR libstdc++/85672, PR libstdc++/84654,
PR libstdc++/80893, PR libstdc++/80893, PR libstdc++/68519,
PR libstdc++/86292, PR libstdc++/60555, PR libstdc++/86861,
PR libstdc++/86734, PR rtl-optimization/85645, PR rtl-optimization/85645,
PR target/86197 (PPC), PR middle-end/86705, PR c++/86728.
- Fix PR bootstrap/86724. Closes: #905539.
[ Matthias Klose ]
* Add some basic autopkg tests for Ada, C, C++, Go, OpenMP and Fortran.
* Build again using gnat-7.
[ Nicolas Boulenguez ]
* gnat: Improve the ada-gcc-name patch.
gcc-7 (7.3.0-27ubuntu1) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-27) unstable; urgency=medium
* Update to SVN 20180720 (r262899) from the gcc-7-branch.
- Fix PR target/84168 (AArch64).
[ Nicolas Boulenguez ]
* ada-verbose patch: Make the ada build more verbose.
* Update the ada-gcc-name patch again. See #856274. Closes: #903694.
[ Matthias Klose ]
* Rewrite debian/README.cross.
* Build using gnat-6, avoiding the broken gnat in 7.3.0-26.
gcc-7 (7.3.0-26ubuntu1) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-26) unstable; urgency=medium
* Update to SVN 20180717 (r262814) from the gcc-7-branch.
- Fix PR target/84829, PR fortran/83184, PR fortran/86417,
PR fortran/83183, PR fortran/86325.
[ Nicolas Boulenguez ]
* Update the ada-gcc-name patch, not appending the suffix twice.
Addresses: #856274.
gcc-7 (7.3.0-25ubuntu1) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-25) unstable; urgency=medium
* Update to SVN 20180712 (r262577) from the gcc-7-branch.
- Fix PR c++/86291, PR libstdc++/86272, PR libstdc++/86127,
PR target/85904, PR libstdc++/85098, PR libstdc++/85671, PR hsa/86371,
PR libstdc++/83982, PR libstdc++/84087, PR target/86314 (x86),
PR c++/86378, PR c++/80290, PR c++/86291, PR fortran/82969,
PR fortran/86242.
* Enable decimal float support on kfreebsd-amd64. Closes: #897416.
gcc-7 (7.3.0-24ubuntu1) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-24) unstable; urgency=medium
* Update to SVN 20180626 (r262132) from the gcc-7-branch.
- Fix PR jit/85384, PR libstdc++/86138, PR c++/86210, PR c/85696,
PR c++/85662, PR c/85696, PR c/84999, PR c/84853, PR target/84786 (x86),
PR tree-optimization/85989, PR tree-optimization/86231,
PR middle-end/85878, PR target/85945, PR c++/86025, PR c++/85659,
PR web/85578, PR tree-optimization/85529, PR tree-optimization/85446,
PR rtl-optimization/85431, PR target/85430 (x86),
PR rtl-optimization/85300, PR tree-optimization/85257, PR debug/85252,
PR rtl-optimization/85167, PR target/85095, PR inline-asm/85022,
PR inline-asm/85034, PR inline-asm/85022, PR inline-asm/84941,
PR sanitizer/85018, PR debug/84875, PR c/84953, PR target/84990,
PR sanitizer/78651, PR sanitizer/78651, PR target/84899,
PR tree-optimization/84841, PR c++/79085, PR target/84860,
PR middle-end/84834, PR target/84827, PR target/84786, PR target/84772,
PR c++/84767, PR tree-optimization/84739, PR target/84700,
PR middle-end/82063, PR c++/85952, PR c/85696, PR c++/85662,
PR c++/84463, PR c++/85210, PR c++/85208, PR inline-asm/85172,
PR c++/85147, PR c++/85140, PR c++/84791, PR c++/85076, PR c++/85068,
PR c++/84961, PR c++/84874, PR c++/84222, PR c++/84076, PR c++/80598,
PR c++/84662, PR fortran/83118, PR fortran/85313, PR fortran/86110,
PR target/85424 (PPC), PR fortran/82972, PR fortran/83088,
PR fortran/85851.
[ Nicolas Boulenguez ]
* Remove Ludovic Brenta's work to let Ada build tools link with freshly
built libgnat.so, this is now handled by upstream testsuite.
gcc-7 (7.3.0-23ubuntu2) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-23) unstable; urgency=medium
* Update to SVN 20180617 (r261686) from the gcc-7-branch.
- Fix PR libstdc++/86169.
* Fix applying the powerpcspe patches.
* Fix running the gnat testsuite.
gcc-7 (7.3.0-22) unstable; urgency=medium
* Update to SVN 20180614 (r261597) from the gcc-7-branch.
- Fix PR sanitizer/84761, PR target/85755 (PPC), PR target/63177 (PPC),
PR middle-end/85588, PR middle-end/85567, PR tree-optimization/85597,
PR tree-optimization/85712, PR c++/85815, PR c++/86060, PR fortran/44491,
PR fortran/38351, PR fortran/63514, PR fortran/78278, PR fortran/86059,
PR fortran/85138, PR fortran/85996, PR fortran/86051, PR fortran/86045,
PR fortran/85641, PR fortran/85981, PR libgfortran/86070,
PR libgfortran/85840, PR fortran/86110.
* Fix PR middle-end/86139, taken from the gcc-8-branch. Addresses: #901290.
gcc-7 (7.3.0-21ubuntu1) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-21) unstable; urgency=medium
* Update to SVN 20180531 (r260992) from the gcc-7-branch.
- Fix PR sanitizer/86012, libsanitizer build on sparc64.
gcc-7 (7.3.0-20) unstable; urgency=medium
* Update to SVN 20180529 (r260895) from the gcc-7-branch.
- Fix PR sanitizer/85835, PR libstdc++/85812, PR libstdc++/67554,
PR libstdc++/82966, PR target/85903 (x86), PR target/85698 (PPC),
PR ipa/85655, PR fortran/85543, PR fortran/85779, PR fortran/85780,
PR fortran/85895, PR fortran/80657, PR fortran/82275, PR fortran/82923,
PR fortran/66694, PR fortran/82617, PR fortran/83149, PR fortran/83898,
PR fortran/84546, PR fortran/85542, PR fortran/68846, PR fortran/70864.
* gnat-*: Don't search the target dirs when calling dh_shlibdeps.
gcc-7 (7.3.0-19ubuntu2) cosmic; urgency=medium
* Update to SVN 20180514 (r260228) from the gcc-7-branch.
- Fix PR fortran/85542, PR fortran/68846, PR fortran/70864.
* gnat-*: Don't search the target dirs when calling dh_shlibdeps.
gcc-7 (7.3.0-19ubuntu1) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-7 (7.3.0-19) unstable; urgency=medium
* Update to SVN 20180512 (r260198) from the gcc-7-branch.
- Fix PR libstdc++/80506, PR c++/85646, PR fortran/85507,
PR fortran/70870, PR fortran/85521, PR fortran/85687.
* Fix name of the g++ multiarch include directory. Addresses: #898323.
gcc-7 (7.3.0-18ubuntu2) cosmic; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
*
-- Matthias Klose <doko at ubuntu.com> Mon, 01 Apr 2019 09:52:55 +0200
** Changed in: gcc-7 (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
** Changed in: gcc-7 (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1799955
Title:
Cannot install multiarch libstdc++-7-dev:armhf and
libstdc++-7-dev:amd64 on Ubuntu 18.04
Status in gcc-7 package in Ubuntu:
Fix Released
Status in gcc-7 source package in Bionic:
Fix Released
Status in gcc-7 source package in Cosmic:
Fix Released
Bug description:
The Ubuntu packages of libstdc++-7-dev:amd64 and libstdc++-7-dev:armhf
do not correctly co-install due to a differing shared file in
/usr/include/c++/7/ext/random. This issue is not present in Debian
stable or unstable as far as I can tell, nor is it in Ubuntu 16.04.
The error is:
dpkg: error processing archive /tmp/apt-dpkg-install-8t5R5l/13-libstdc++-7-dev_7.3.0-27ubuntu1~18.04_armhf.deb (--unpack):
trying to overwrite shared '/usr/include/c++/7/ext/random', which is different from other instances of package libstdc++-7-dev:armhf
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/tmp/apt-dpkg-install-8t5R5l/13-libstdc++-7-dev_7.3.0-27ubuntu1~18.04_armhf.deb
To reproduce:
docker run -it ubuntu:bionic /bin/bash
apt update && apt install clang libstdc++-7-dev-armhf-cross
echo -e "#include <string>\nint main() { std::string a; }" > test.cpp
dpkg --add-architecture armhf
sed -i 's/deb /deb [arch=amd64] /' /etc/apt/sources.list && egrep "^deb " /etc/apt/sources.list | sed 's/amd64/armhf/' | sed 's|http://.*.ubuntu.com/ubuntu/|http://ports.ubuntu.com/|' >> /etc/apt/sources.list
apt update && apt install libstdc++-7-dev:armhf
# here is the bug
dpkg: error processing archive /tmp/apt-dpkg-install-8t5R5l/13-libstdc++-7-dev_7.3.0-27ubuntu1~18.04_armhf.deb (--unpack):
trying to overwrite shared '/usr/include/c++/7/ext/random', which is different from other instances of package libstdc++-7-dev:armhf
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/tmp/apt-dpkg-install-8t5R5l/13-libstdc++-7-dev_7.3.0-27ubuntu1~18.04_armhf.deb
# manually removing "random" allows package to install
rm /usr/include/c++/7/ext/random
apt -f install
clang++ -target arm-linux-gnueabihf test.cpp
# WORKS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1799955/+subscriptions
More information about the foundations-bugs
mailing list