https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112825
Bug ID: 112825
Summary: Modula 2 builds target objects as part of all-gcc
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: gaius at gcc dot gnu.org
Reporter: rsandifo at gcc dot gnu.org
Target Milestone: ---
Normally, it's possible to do:
../src/configure --target=foo
make -jN all-gcc
without having a full build environment (binutils, sysroot, etc.) for target
foo. This is useful for sanity checks and investigating bugs on other targets.
It's also useful for config-list.mk.
However, the Modula 2 build tries to build target objects as part of all-gcc.
The specific route I see is:
Considering target file 'm2.info'.
File 'm2.info' does not exist.
Considering target file 'doc/m2.info'.
File 'doc/m2.info' does not exist.
Considering target file '../../gcc/gcc/doc/gm2.texi'.
File '../../gcc/gcc/doc/gm2.texi' was considered already.
Considering target file 'm2/gm2-libs.texi'.
File 'm2/gm2-libs.texi' does not exist.
Considering target file 'gm2-libs.texi-check'.
File 'gm2-libs.texi-check' does not exist.
Considering target file 'm2/SYSTEM-pim.texi'.
File 'm2/SYSTEM-pim.texi' does not exist.
Considering target file 'SYSTEM-pim-texi-check'.
File 'SYSTEM-pim-texi-check' does not exist.
Considering target file
'.../gcc/git/tmp/gcc/m2/gm2-libs/SYSTEM.def'.
File '.../gcc/git/tmp/gcc/m2/gm2-libs/SYSTEM.def' does
not exist.
Pruning file 'gm2'.
Pruning file 'xgcc'.
Pruning file 'cc1gm2'.
Finished prerequisites of target file
'.../gcc/git/tmp/gcc/m2/gm2-libs/SYSTEM.def'.
Must remake target
'.../gcc/git/tmp/gcc/m2/gm2-libs/SYSTEM.def'.