]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR modula2/118010, modula2/118183] Rebuild bootstrap tools with lseek fix
authorGaius Mulley <gaiusmod2@gmail.com>
Sat, 25 Jan 2025 20:30:02 +0000 (20:30 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Sat, 25 Jan 2025 20:30:02 +0000 (20:30 +0000)
commit765769dfeb1a3ce85d6f2c2b071dd1d7d6544280
tree70b49b97124d43ba72b1f38360b17e152b47dd29
parent8fd2158acac181a308126ad7b798b478eb3b7087
[PR modula2/118010, modula2/118183] Rebuild bootstrap tools with lseek fix

This patch rebuilds the bootstrap tools mc and pge incorporating the fix to
libc.lseek.  The tool mc is changed to omit INCLUDE_MEMORY from
checkGccConfigSystem.  The pge tool on rebuild now requires
--gcc-config-system to pick up the system.h containing INCLUDE_MEMORY.
After rebuild all local INCLUDE_MEMORY definitions disappear.

gcc/m2/ChangeLog:

PR modula2/117737
PR modula2/118010
* Make-maintainer.in (PGE-MC-OPTIONS): New macro.
(m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): Use $(PGE-MC-OPTIONS).
(m2/gm2-pge-boot/$(SRC_PREFIX)SymbolKey.o): Ditto.
(m2/gm2-pge-boot/$(SRC_PREFIX)NameKey.o): Ditto.
(m2/gm2-pge-boot/$(SRC_PREFIX)Lists.o): Ditto.
(m2/gm2-pge-boot/$(SRC_PREFIX)Output.o): Ditto.
(m2/gm2-pge-boot/$(SRC_PREFIX)bnflex.o): Ditto.
(m2/gm2-pge-boot/$(SRC_PREFIX)RTentity.o): Ditto.
(m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Ditto.
(m2/gm2-pge-boot/$(SRC_PREFIX)pge.o): Ditto.
(m2/gm2-auto/pg.o): Ditto.
(m2/gm2-auto/pge.o): Ditto.
(mc-autogen): Add include directory $(GMPINC) to $(CXX).
* mc/keyc.mod (checkGccConfigSystem): Remove
INCLUDE_MEMORY define.
* mc-boot/GASCII.cc (INCLUDE_MEMORY): Removed during rebuild.
* mc-boot/GASCII.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GArgs.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GArgs.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GAssertion.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GAssertion.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GBreak.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GBreak.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GCOROUTINES.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GCmdArgs.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GCmdArgs.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GDebug.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GDebug.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GDynamicStrings.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GDynamicStrings.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GEnvironment.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GEnvironment.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GFIO.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GFIO.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GFormatStrings.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GFormatStrings.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GFpuIO.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GFpuIO.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GIO.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GIO.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GIndexing.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GIndexing.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GM2Dependent.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GM2Dependent.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GM2EXCEPTION.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GM2EXCEPTION.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GM2RTS.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GM2RTS.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GMemUtils.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GMemUtils.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GNumberIO.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GNumberIO.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GPushBackInput.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GPushBackInput.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GRTExceptions.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GRTExceptions.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GRTco.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GRTentity.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GRTint.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GRTint.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GSArgs.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GSArgs.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GSFIO.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GSFIO.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GSYSTEM.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GSelective.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GStdIO.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GStdIO.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GStorage.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GStorage.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GStrCase.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GStrCase.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GStrIO.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GStrIO.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GStrLib.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GStrLib.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GStringConvert.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GStringConvert.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GSysExceptions.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GSysStorage.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GSysStorage.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GTimeString.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GTimeString.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GUnixArgs.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Galists.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Galists.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gdecl.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gdecl.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gdtoa.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gerrno.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gkeyc.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gkeyc.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gldtoa.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Glibc.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Glibm.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Glists.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Glists.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcComment.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcComment.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcComp.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcComp.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcDebug.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcDebug.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcError.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcError.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcFileName.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcFileName.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcLexBuf.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcLexBuf.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcMetaError.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcMetaError.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcOptions.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcOptions.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcPreprocess.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcPreprocess.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcPretty.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcPretty.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcPrintf.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcPrintf.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcQuiet.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcQuiet.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcReserved.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcReserved.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcSearch.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcSearch.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcStack.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcStack.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcStream.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GmcStream.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcflex.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp1.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp1.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp2.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp2.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp3.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp3.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp4.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp4.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp5.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gmcp5.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GnameKey.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GnameKey.h (INCLUDE_MEMORY): Ditto.
* mc-boot/GsymbolKey.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/GsymbolKey.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gtermios.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gtop.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gvarargs.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gvarargs.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gwlists.cc (INCLUDE_MEMORY): Ditto.
* mc-boot/Gwlists.h (INCLUDE_MEMORY): Ditto.
* mc-boot/Gwrapc.h (INCLUDE_MEMORY): Ditto.
* pge-boot/GIndexing.h (INCLUDE_MEMORY): Ditto.
* pge-boot/GSEnvironment.h (INCLUDE_MEMORY): Ditto.
* pge-boot/GScan.h (INCLUDE_MEMORY): Ditto.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
141 files changed:
gcc/m2/Make-maintainer.in
gcc/m2/mc-boot/GASCII.cc
gcc/m2/mc-boot/GASCII.h
gcc/m2/mc-boot/GArgs.cc
gcc/m2/mc-boot/GArgs.h
gcc/m2/mc-boot/GAssertion.cc
gcc/m2/mc-boot/GAssertion.h
gcc/m2/mc-boot/GBreak.cc
gcc/m2/mc-boot/GBreak.h
gcc/m2/mc-boot/GCOROUTINES.h
gcc/m2/mc-boot/GCmdArgs.cc
gcc/m2/mc-boot/GCmdArgs.h
gcc/m2/mc-boot/GDebug.cc
gcc/m2/mc-boot/GDebug.h
gcc/m2/mc-boot/GDynamicStrings.cc
gcc/m2/mc-boot/GDynamicStrings.h
gcc/m2/mc-boot/GEnvironment.cc
gcc/m2/mc-boot/GEnvironment.h
gcc/m2/mc-boot/GFIO.cc
gcc/m2/mc-boot/GFIO.h
gcc/m2/mc-boot/GFormatStrings.cc
gcc/m2/mc-boot/GFormatStrings.h
gcc/m2/mc-boot/GFpuIO.cc
gcc/m2/mc-boot/GFpuIO.h
gcc/m2/mc-boot/GIO.cc
gcc/m2/mc-boot/GIO.h
gcc/m2/mc-boot/GIndexing.cc
gcc/m2/mc-boot/GIndexing.h
gcc/m2/mc-boot/GM2Dependent.cc
gcc/m2/mc-boot/GM2Dependent.h
gcc/m2/mc-boot/GM2EXCEPTION.cc
gcc/m2/mc-boot/GM2EXCEPTION.h
gcc/m2/mc-boot/GM2RTS.cc
gcc/m2/mc-boot/GM2RTS.h
gcc/m2/mc-boot/GMemUtils.cc
gcc/m2/mc-boot/GMemUtils.h
gcc/m2/mc-boot/GNumberIO.cc
gcc/m2/mc-boot/GNumberIO.h
gcc/m2/mc-boot/GPushBackInput.cc
gcc/m2/mc-boot/GPushBackInput.h
gcc/m2/mc-boot/GRTExceptions.cc
gcc/m2/mc-boot/GRTExceptions.h
gcc/m2/mc-boot/GRTco.h
gcc/m2/mc-boot/GRTentity.h
gcc/m2/mc-boot/GRTint.cc
gcc/m2/mc-boot/GRTint.h
gcc/m2/mc-boot/GSArgs.cc
gcc/m2/mc-boot/GSArgs.h
gcc/m2/mc-boot/GSFIO.cc
gcc/m2/mc-boot/GSFIO.h
gcc/m2/mc-boot/GSYSTEM.h
gcc/m2/mc-boot/GSelective.h
gcc/m2/mc-boot/GStdIO.cc
gcc/m2/mc-boot/GStdIO.h
gcc/m2/mc-boot/GStorage.cc
gcc/m2/mc-boot/GStorage.h
gcc/m2/mc-boot/GStrCase.cc
gcc/m2/mc-boot/GStrCase.h
gcc/m2/mc-boot/GStrIO.cc
gcc/m2/mc-boot/GStrIO.h
gcc/m2/mc-boot/GStrLib.cc
gcc/m2/mc-boot/GStrLib.h
gcc/m2/mc-boot/GStringConvert.cc
gcc/m2/mc-boot/GStringConvert.h
gcc/m2/mc-boot/GSysExceptions.h
gcc/m2/mc-boot/GSysStorage.cc
gcc/m2/mc-boot/GSysStorage.h
gcc/m2/mc-boot/GTimeString.cc
gcc/m2/mc-boot/GTimeString.h
gcc/m2/mc-boot/GUnixArgs.h
gcc/m2/mc-boot/Galists.cc
gcc/m2/mc-boot/Galists.h
gcc/m2/mc-boot/Gdecl.cc
gcc/m2/mc-boot/Gdecl.h
gcc/m2/mc-boot/Gdtoa.h
gcc/m2/mc-boot/Gerrno.h
gcc/m2/mc-boot/Gkeyc.cc
gcc/m2/mc-boot/Gkeyc.h
gcc/m2/mc-boot/Gldtoa.h
gcc/m2/mc-boot/Glibc.h
gcc/m2/mc-boot/Glibm.h
gcc/m2/mc-boot/Glists.cc
gcc/m2/mc-boot/Glists.h
gcc/m2/mc-boot/GmcComment.cc
gcc/m2/mc-boot/GmcComment.h
gcc/m2/mc-boot/GmcComp.cc
gcc/m2/mc-boot/GmcComp.h
gcc/m2/mc-boot/GmcDebug.cc
gcc/m2/mc-boot/GmcDebug.h
gcc/m2/mc-boot/GmcError.cc
gcc/m2/mc-boot/GmcError.h
gcc/m2/mc-boot/GmcFileName.cc
gcc/m2/mc-boot/GmcFileName.h
gcc/m2/mc-boot/GmcLexBuf.cc
gcc/m2/mc-boot/GmcLexBuf.h
gcc/m2/mc-boot/GmcMetaError.cc
gcc/m2/mc-boot/GmcMetaError.h
gcc/m2/mc-boot/GmcOptions.cc
gcc/m2/mc-boot/GmcOptions.h
gcc/m2/mc-boot/GmcPreprocess.cc
gcc/m2/mc-boot/GmcPreprocess.h
gcc/m2/mc-boot/GmcPretty.cc
gcc/m2/mc-boot/GmcPretty.h
gcc/m2/mc-boot/GmcPrintf.cc
gcc/m2/mc-boot/GmcPrintf.h
gcc/m2/mc-boot/GmcQuiet.cc
gcc/m2/mc-boot/GmcQuiet.h
gcc/m2/mc-boot/GmcReserved.cc
gcc/m2/mc-boot/GmcReserved.h
gcc/m2/mc-boot/GmcSearch.cc
gcc/m2/mc-boot/GmcSearch.h
gcc/m2/mc-boot/GmcStack.cc
gcc/m2/mc-boot/GmcStack.h
gcc/m2/mc-boot/GmcStream.cc
gcc/m2/mc-boot/GmcStream.h
gcc/m2/mc-boot/Gmcflex.h
gcc/m2/mc-boot/Gmcp1.cc
gcc/m2/mc-boot/Gmcp1.h
gcc/m2/mc-boot/Gmcp2.cc
gcc/m2/mc-boot/Gmcp2.h
gcc/m2/mc-boot/Gmcp3.cc
gcc/m2/mc-boot/Gmcp3.h
gcc/m2/mc-boot/Gmcp4.cc
gcc/m2/mc-boot/Gmcp4.h
gcc/m2/mc-boot/Gmcp5.cc
gcc/m2/mc-boot/Gmcp5.h
gcc/m2/mc-boot/GnameKey.cc
gcc/m2/mc-boot/GnameKey.h
gcc/m2/mc-boot/GsymbolKey.cc
gcc/m2/mc-boot/GsymbolKey.h
gcc/m2/mc-boot/Gtermios.h
gcc/m2/mc-boot/Gtop.cc
gcc/m2/mc-boot/Gvarargs.cc
gcc/m2/mc-boot/Gvarargs.h
gcc/m2/mc-boot/Gwlists.cc
gcc/m2/mc-boot/Gwlists.h
gcc/m2/mc-boot/Gwrapc.h
gcc/m2/mc/keyc.mod
gcc/m2/pge-boot/GIndexing.h
gcc/m2/pge-boot/GSEnvironment.h
gcc/m2/pge-boot/GScan.h