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

Bug#971547: gcc-10: gm2 should be disabled for cross-builds in debian/rules.defs




> On Oct 2, 2020, at 1:30 PM, Matthias Klose <doko@debian.org> wrote:
> 
> On 10/2/20 1:26 PM, John Paul Adrian Glaubitz wrote:
>>>> On Oct 2, 2020, at 1:18 PM, Matthias Klose <doko@debian.org> wrote:
>>> both gcc-10-cross and gcc-10-cross-ports are building ok. Not sure what you are
>>> trying to do here.
>> Cross-building a native compiler using “sbuild —host=$ARCH”. That failed when linking gm2.
> 
> ok, no reason to disable it. maybe have a complete bug report?

Well, I think “cross-building gcc-10” is not the same as “building a gcc-10 cross-compiler”, but let’s not derail the discussion.

In any case, building a native compiler using the packaged cross-compilers didn’t work when I tried which is why I filed a bug.

I was also confused about the sequence

> m2_no_cross := yes
> m2_no_cross := no

which is certainly ambiguous to anyone reading the code.

Adrian

Reply to: