[Bug 1311711] Re: g++-multilib conflicts with g++-4.8-multilib-powerpc-linux-gnu

Matthias Klose doko at ubuntu.com
Wed Mar 30 16:07:15 UTC 2016


> Why do these two packages conflict with each other?

the gcc-multilib package installs a /usr/include/asm symlink to some
header files which are installed for the non-default multilib. This can
be wrongly picked up by the cross compiler, therefore the conflict.


** Changed in: gcc-4.8-powerpc-cross (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.8-powerpc-cross in
Ubuntu.
https://bugs.launchpad.net/bugs/1311711

Title:
  g++-multilib conflicts with g++-4.8-multilib-powerpc-linux-gnu

Status in gcc-4.8-powerpc-cross package in Ubuntu:
  Invalid

Bug description:
  Hello,

  I'm setting up C++ compilers in Ubuntu 14.04 amd64.

  I ran:
  "sudo apt-get install build-essential"

  That worked for the normal stuff, but I found it wasn't enough for a 32-bit compile:
  "g++ -m32 hello_world.cpp -o hello_world"

  To fix that, based on internet research, I installed the multilib:
  "sudo apt-get install g++-multilib"

  Then I wanted to compile for the powerpc architecture. Refer to <http://packages.ubuntu.com/source/trusty/gcc-4.8-powerpc-cross>:
  "sudo apt-get install g++-4.8-powerpc-linux-gnu"

  In the suggests section, apt recommends package g++-4.8-multilib-powerpc-linux-gnu.
  "sudo apt-get install g++-4.8-multilib-powerpc-linux-gnu"

  Apt then tells me that g++-multilib will be removed! If I do so, I can
  no longer compile hello_world on the amd64 machine.

  Why do these two packages conflict with each other? My hello world
  tests show that without g++-multilib I cannot build 32 bit
  applications on the amd64. Without g++-4.8-multilib-powerpc-linux-gnu
  I'm unable to cross compile for 64 bit powerpc.

  Is it possible for these two packages to coexist on the system?

  Thank you much for your help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-powerpc-cross/+bug/1311711/+subscriptions



More information about the foundations-bugs mailing list