public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41607]  New: Cannot build LTO without stdint.h
@ 2009-10-06 15:53 sje at cup dot hp dot com
  2009-10-06 15:59 ` [Bug lto/41607] " joseph at codesourcery dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sje at cup dot hp dot com @ 2009-10-06 15:53 UTC (permalink / raw)
  To: gcc-bugs

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.


-- 
           Summary: Cannot build LTO without stdint.h
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: build, lto
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sje at cup dot hp dot com
 GCC build triplet: hppa*-hp-hpux*
  GCC host triplet: hppa*-hp-hpux*
GCC target triplet: hppa*-hp-hpux*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41607


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/41607] Cannot build LTO without stdint.h
  2009-10-06 15:53 [Bug lto/41607] New: Cannot build LTO without stdint.h sje at cup dot hp dot com
@ 2009-10-06 15:59 ` joseph at codesourcery dot com
  2009-10-06 16:15 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2009-10-06 15:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from joseph at codesourcery dot com  2009-10-06 15:59 -------
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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41607


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/41607] Cannot build LTO without stdint.h
  2009-10-06 15:53 [Bug lto/41607] New: Cannot build LTO without stdint.h sje at cup dot hp dot com
  2009-10-06 15:59 ` [Bug lto/41607] " joseph at codesourcery dot com
@ 2009-10-06 16:15 ` rguenth at gcc dot gnu dot org
  2009-10-06 16:23 ` sje at cup dot hp dot com
  2009-10-06 16:32 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-06 16:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-10-06 16:15 -------
I can't see the inclusion of stdint.h in lto-streamer.h.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41607


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/41607] Cannot build LTO without stdint.h
  2009-10-06 15:53 [Bug lto/41607] New: Cannot build LTO without stdint.h sje at cup dot hp dot com
  2009-10-06 15:59 ` [Bug lto/41607] " joseph at codesourcery dot com
  2009-10-06 16:15 ` rguenth at gcc dot gnu dot org
@ 2009-10-06 16:23 ` sje at cup dot hp dot com
  2009-10-06 16:32 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: sje at cup dot hp dot com @ 2009-10-06 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sje at cup dot hp dot com  2009-10-06 16:22 -------
See Josephs comment (#1), it actually includes plugin-api.h and that includes
stdint.h.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41607


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug lto/41607] Cannot build LTO without stdint.h
  2009-10-06 15:53 [Bug lto/41607] New: Cannot build LTO without stdint.h sje at cup dot hp dot com
                   ` (2 preceding siblings ...)
  2009-10-06 16:23 ` sje at cup dot hp dot com
@ 2009-10-06 16:32 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-06 16:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-10-06 16:32 -------
then this is a dup of bug 40790.

*** This bug has been marked as a duplicate of 40790 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41607


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-06 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 15:53 [Bug lto/41607] New: Cannot build LTO without stdint.h sje at cup dot hp dot com
2009-10-06 15:59 ` [Bug lto/41607] " joseph at codesourcery dot com
2009-10-06 16:15 ` rguenth at gcc dot gnu dot org
2009-10-06 16:23 ` sje at cup dot hp dot com
2009-10-06 16:32 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).