Re: gcc-10-source cross build for xtensa with D enabled fails due to missing texi macro. patch included
Excerpts from Witold Baryluk's message of January 21, 2021 6:52 pm:
> Hi.,
>
> I was trying to build cross-compiler for xtensa with D compiler
> enabled, and there is one things that makes that fail.
>
> https://salsa.debian.org/toolchain-team/gcc/-/blob/master/debian/rules.unpack#L154
>
> overwrites gcc/doc/gcc-common.texi with minimal version (probably some
> dfsg reasons).
>
> but @gcctabopt is still used by gcc/d/gdc.texi (for example line 137)
> and makeinfo fails because that macro is missing.
>
> Adding
>
> echo '@macro gcctabopt{body}'; \
> echo '@code{\body\}'; \
> echo '@end macro'; \
>
> after echo '@include gcc-vers.texi'; \ in rules.unpack resolves this issue.
>
Hi,
There is a gdc-texinfo.diff file in debian/patches, maybe that isn't
applied by rules.patch?
Iain.
Reply to: