[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2021-07-20 Thread Sebastian Unger
Actually, I was wrong about arm-linux-gnueabihf-gcc! It *also* doesn't find /usr/include/asm, instead correctly finding /usr/arm-linux- gnueabihf/include/asm! So actually, as far as I can tell *nothing* uses /usr/include/asm. -- You received this bug notification because you are a member of Ubun

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2021-07-20 Thread Sebastian Unger
Can someone please explain why /usr/include/asm is needed? It seems to me neither gcc -m32 nor gcc -m64 use it (both finding the ones in /usr/include/i386-linux-gnu and /usr/include/x86_64-linux-gnu instead). arm-linux-gnueabihf-gcc finds it which is not correct, but can be fixed easily enough by

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2021-03-20 Thread Akeo
This is what worked for me, to build x86_32, x86_64, ARM and ARM64 UEFI drivers from a single Ubuntu 20.04 platform (which is actually an AppVeyor build environment): sudo update-alternatives --remove-all gcc sudo update-alternatives --remove-all g++ sudo update-alternatives --install /usr/bin/gcc

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2020-08-24 Thread Roman Valov
I have faced the issue trying to cross-compile qt webengine using arm-linux-gnueabihf-. during the build process there is an attempt to build a tool for build machine with `-m32` flag which is failed due to missing `/usr/include/asm/`. -- You received this bug notification because you are a mem

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2018-05-10 Thread Nicolas Noble
One (working ?) alternative we've successfully used here to workaround this weird game of whack-a-mole is to stop relying on gcc-multilib, and start using :i386 versions of packages. So for instance, we would install for example the following list of packages on an amd64 machine: build-essential g

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2018-01-25 Thread teras
I can confirm that this bug appears in Debian testing too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf To manage notific

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2017-11-26 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gcc-defaults (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title:

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2017-06-06 Thread Matthias Klose
mcclary states that having /usr/include in the header search path doesn't prevent the inclusion of wrong header files. He then describes a system how to layout files to install multiple native and cross compilers, and how to select defaults. He doesn't talk about the include paths for these setup

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2017-04-11 Thread mcclary
Please see my post #23, stating why this bug is, in my opinion, valid and (as requested) proposing a solution. ** Changed in: gcc-defaults (Ubuntu) Status: Opinion => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2017-03-31 Thread mcclary
Please see my post #23, stating why this bug is, in my opinion, valid and (as requested) proposing a solution. ** Changed in: gcc-defaults (Ubuntu) Status: Invalid => Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. http

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2017-03-30 Thread mcclary
> > ... The problem packages are: > > > > gcc-multilib which provides: > > /usr/include/asm > > > For the multiarch configurations, the cross compilers have /usr/include in > > the search path. > > Having the symlink there lets the arm cross compiler find the x86 asm > > headers. With respect,

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-09-28 Thread Zwinkau
grog, this does not work for me on 16.04. # apt remove binutils [...] The following packages will be REMOVED: binutils binutils-arm-linux-gnueabi build-essential clang clang-3.8 dpkg-dev g++ g++-5 g++-5-multilib g++-multilib gcc gcc-5 gcc-5-multilib gcc-multilib lcov 0 upgraded, 0 newly inst

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-09-28 Thread Zwinkau
If I understood these comments correctly, the proper workaround is to remove gcc-multilib and create symlinks manually? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title: Can't install bot

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-07-17 Thread grog
Maybe this will provide clues to the problem. USING ubuntu 16.04 I couldn't install both cpp-arm-linux-gnueabihf and gcc-4.8-multilib-arm-linux-gnueabihf. I also see other errors. After following a chain of can't installs I got to binutils which wanted a version which was conflicting with what wa

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-05-26 Thread Matthias Klose
this is a bug tracker, not a fan boy forum. If you need incoherent cross build environments including setups involving both multilib and multiarch, then don't install gcc-multilib, but provide the correct include paths on your own. Or use chroots if you don't need these archs for the same project

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-05-26 Thread Amit Kucheria
Another "me too". My development evironment requires me to compile code for ARM32, ARM64, x86-32 and x86-64. How can this be supported? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title:

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-05-19 Thread CyberTech
Matthias: "Otoh, I don't understand why you would need gcc-multilib and other cross compilers at the same time." Not to be a smart-alec, but... so that we can compile for x86_32, x86_64, and ARM on the same system. I've just run into this as well while updating build servers from 12.x to 15.x. I

Re: [Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-04-06 Thread Matthias Klose
On 06.04.2016 19:47, T Parys wrote: > Perhaps the symlink at /usr/include/asm is better suited elsewhere? > > The cpp include path for i386 (-m32 flag), is as follows: > > foo ~ $ gcc -m32 -Wp,-v test.c > ignoring nonexistent directory "/usr/local/include/i386-linux-gnu" > ignoring nonexistent dire

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-04-06 Thread T Parys
Perhaps the symlink at /usr/include/asm is better suited elsewhere? The cpp include path for i386 (-m32 flag), is as follows: foo ~ $ gcc -m32 -Wp,-v test.c ignoring nonexistent directory "/usr/local/include/i386-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/4.8/../..

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-02-15 Thread Jan Hudec
But _why_ does gcc-multilib create that link? gcc-multilib is a meta-package. None of the components that actually do anything depend on it. If I remove it and keep just the versioned packages (gcc-5-multilib, g++-5-multilib – or just the appropriate :i386 libraries), gcc/g++ still compile with bo

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2016-01-24 Thread keo
I would need this too. Being able to compile for x86_64 and armhf at the same time should be possible. Any idea how to solve this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title: Can't

Re: [Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2015-10-16 Thread Matthias Klose
On 15.10.2015 20:46, Anatol Pomozov wrote: > I see this problem as well. I need gcc-multilib for some proprietary > software and arm64 gcc for my project. The fact that Ubuntu does not > allow to install these 2 packages is rather annoying. > > For me it sounds like a bug with packaging. Other dist

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2015-10-15 Thread Anatol Pomozov
I see this problem as well. I need gcc-multilib for some proprietary software and arm64 gcc for my project. The fact that Ubuntu does not allow to install these 2 packages is rather annoying. For me it sounds like a bug with packaging. Other distros (like Linux Arch) allow to install both packages

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2015-09-01 Thread Matthias Klose
> Quite frankly, Canonical are being rather pig-headed about this one. please respect the code of conduct: http://www.ubuntu.com/about/about-ubuntu/conduct Just installing other cross compilers while keeping the wrong asm headers in the search path doesn't solve the problem. -- You received thi

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2015-09-01 Thread rufus hamade
Quite frankly, Canonical are being rather pig-headed about this one. Just install the Linaro compilers from here and you are good to go: https://www.linaro.org/downloads/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2015-09-01 Thread Matthias Klose
> I don't think this is true. The problem packages are: > > gcc-multilib which provides: > /usr/include/asm For the multiarch configurations, the cross compilers have /usr/include in the search path. Having the symlink there lets the arm cross compiler find the x86 asm headers. ** Changed in: g

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2015-09-01 Thread Sean Jones
I don't see why this is being marked as invalid. For doing cross platform development being able to produce 32 and 64 bit on x86 and arm are needed. If the work around is just a matter of symlinks then sure this can be fixed? ** Changed in: gcc-defaults (Ubuntu) Status: Invalid => Confirme

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2015-02-10 Thread Tzafrir
A workaround for me was to create the symbolic link from /usr/local/include/asm to /usr/include/x86_64-linux-gnu/asm instead of (as supplied by gcc-multilib /usr/include/asm to /usr/include/x86_64-linux-gnu/asm If this will be the default the packages won't conflict as arm-gcc does not look in /us

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2014-12-11 Thread Matthias Klose
there is nothing enlightening in comment #3 ** Changed in: gcc-defaults (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title: Can't install both gcc-mu

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2014-12-11 Thread Johannes H. Jensen
Re-opening based on comment #3 ** Changed in: gcc-defaults (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title: Can't install both gcc-multilib and gc

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2014-04-04 Thread rufus hamade
I don't think this is true. The problem packages are: gcc-multilib which provides: /usr/include/asm /usr/share/doc/gcc-multilib And the following 3 arm packages: gcc-4.8-arm-linux-gnueabihf which provides /usr/bin/arm-linux-gnueabihf-gcc-4.8 /usr/bin/arm-linux-gnueabihf-gcc-ar-4.8 /usr/bin/arm-l

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2014-03-31 Thread Matthias Klose
this is intended. The gcc-multilib package contains the /usr/include/asm symlink which breaks the search paths for cross compilers. ** Changed in: gcc-defaults (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2014-03-31 Thread rufus hamade
** Package changed: ubuntu => gcc-defaults (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1300211 Title: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf To manage notifications

[Bug 1300211] Re: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

2014-03-31 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people