Bug#971547: gcc-10: gm2 should be disabled for cross-builds in debian/rules.defs
On 10/1/20 5:46 PM, John Paul Adrian Glaubitz wrote:
> Source: gcc-10
> Severity: normal
>
> Hello!
>
> I tried cross-building gcc-10 yesterday and it failed with a linker error when building
> gm2. Looking at debian/rules.defs [1], m2 is first disabled, then enabled for cross
> builds:
>
>> # Modula-2 -------------------
>> m2_no_cross := yes
>> m2_no_cross := no
>
> Since cross-builing failed for me with gm2 enabled, I assume it's best to remove the line
> "m2_no_cross := no" from debian/rules.defs to unbreak cross-builds of src:gcc-10.
>
> Thanks,
> Adrian
>
>> [1] https://sources.debian.org/src/gcc-10/10.2.0-13/debian/rules.defs/#L1247
both gcc-10-cross and gcc-10-cross-ports are building ok. Not sure what you are
trying to do here.
Reply to: