After the LTO merge GCC will not bootstrap on HPPA HP-UX because this system does not have stdint.h and this header is included unconditionally in lto-streamer.h. This header file was not a requirement for building before the merge. We should either document this requirement, remove the requirement, or allow platforms to turn off the LTO part of the build by default if they cannot meet this requirement. I am not sure which approach we want to take.
Subject: Re: New: Cannot build LTO without stdint.h On Tue, 6 Oct 2009, sje at cup dot hp dot com wrote: > After the LTO merge GCC will not bootstrap on HPPA HP-UX because this system > does not have stdint.h and this header is included unconditionally in > lto-streamer.h. Via plugin-api.h - I didn't notice this as a problem because: - it was included in the plugin patch not the streamer patch; - I knew the plugin was non-portable anyway so didn't look for portability issues in it; - gcc/configure.ac uses GCC_STDINT_TYPES so the use of these *types* in LTO source files isn't a problem; only requiring <stdint.h> rather than a possible replacement is the problem.
I can't see the inclusion of stdint.h in lto-streamer.h.
See Josephs comment (#1), it actually includes plugin-api.h and that includes stdint.h.
then this is a dup of bug 40790. *** This bug has been marked as a duplicate of 40790 ***