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

Bug#872891: gcc-multilib conflicts with GCC cross toolchains



On 5/3/21 10:58 PM, Josh Triplett wrote:
> On Mon, May 03, 2021 at 12:56:58PM +0200, Matthias Klose wrote:
>>>> Is that still the case, a few years later?
>>>
>>> I'm running into this issue as well. I'd like to be able to
>>> cross-compile for aarch64, and I'd also like gcc -m32 to continue
>>> working.
>>
>> yes, it's still the case. Nobody is working on that.
> 
> Is this something for which patches would be accepted for the GCC
> packaging?

this is not about gcc packaging, but moving the glibc and kernel headers in
multiarch-compatible locations, and outside of /usr/include for the non-default
multilib builds

>> Note that you can also install gcc-i686-linux-gnu to build 32bit x86 code.
> 
> I realize that, but that doesn't work for software that assumes it can
> use -m32.

write a wrapper package.

Matthias


Reply to: