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

gcc-10-source cross build for xtensa with D enabled fails due to missing texi macro. patch included



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.


It looks like pull requests are not enabled on salsa for
toolchain-team/gcc, so sending this info here.

I wonder if there is another way to fix that.

Regards,
Witold


Reply to: