public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/14882] New: gcc 3.4.0-pre won't build with non-GCC compilers
@ 2004-04-07 19:31 jbuck at gcc dot gnu dot org
2004-04-07 19:32 ` [Bug bootstrap/14882] " jbuck at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2004-04-07 19:31 UTC (permalink / raw)
To: gcc-bugs
There are two uses of "inline" in the intl directory, one in plural.y and
the other in gettextP.h. That's not valid C89, so non-GCC compilers (for
example, HP's C compiler) fail to bootstrap gcc.
I'll be attaching a patch shortly.
--
Summary: gcc 3.4.0-pre won't build with non-GCC compilers
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbuck at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14882
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/14882] gcc 3.4.0-pre won't build with non-GCC compilers
2004-04-07 19:31 [Bug bootstrap/14882] New: gcc 3.4.0-pre won't build with non-GCC compilers jbuck at gcc dot gnu dot org
@ 2004-04-07 19:32 ` jbuck at gcc dot gnu dot org
2004-04-07 19:39 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2004-04-07 19:32 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14882
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/14882] gcc 3.4.0-pre won't build with non-GCC compilers
2004-04-07 19:31 [Bug bootstrap/14882] New: gcc 3.4.0-pre won't build with non-GCC compilers jbuck at gcc dot gnu dot org
2004-04-07 19:32 ` [Bug bootstrap/14882] " jbuck at gcc dot gnu dot org
@ 2004-04-07 19:39 ` pinskia at gcc dot gnu dot org
2004-04-07 19:46 ` jbuck at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-07 19:39 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14882
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/14882] gcc 3.4.0-pre won't build with non-GCC compilers
2004-04-07 19:31 [Bug bootstrap/14882] New: gcc 3.4.0-pre won't build with non-GCC compilers jbuck at gcc dot gnu dot org
2004-04-07 19:32 ` [Bug bootstrap/14882] " jbuck at gcc dot gnu dot org
2004-04-07 19:39 ` pinskia at gcc dot gnu dot org
@ 2004-04-07 19:46 ` jbuck at gcc dot gnu dot org
2004-04-07 20:32 ` jbuck at gcc dot gnu dot org
2004-04-08 6:26 ` mmitchel at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2004-04-07 19:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jbuck at gcc dot gnu dot org 2004-04-07 19:46 -------
There is a patch at
http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00424.html
though Richard H. suggests that this isn't really the right approach (configure
detects that the compiler does not support inline when gcc is configured, but
this test is not performed when we build in the intl directory).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-04-07 19:46:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14882
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/14882] gcc 3.4.0-pre won't build with non-GCC compilers
2004-04-07 19:31 [Bug bootstrap/14882] New: gcc 3.4.0-pre won't build with non-GCC compilers jbuck at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-04-07 19:46 ` jbuck at gcc dot gnu dot org
@ 2004-04-07 20:32 ` jbuck at gcc dot gnu dot org
2004-04-08 6:26 ` mmitchel at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2004-04-07 20:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jbuck at gcc dot gnu dot org 2004-04-07 20:32 -------
It turns out that this bug is specific to HP's compiler. The HP compiler
supports "inline" in some contexts but not others. The intl directory uses a
different test for inline than the gcc directory does, so one thinks the
compiler has inline, the other does not. The specific uses of inline break HP's cc.
So, my patch will work, though it is ugly. What it does mean is that the test
for inline in whichever autoconf is in intl will return true on HP, but the
inline keyword is unusable for that compiler even though the test passes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14882
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/14882] gcc 3.4.0-pre won't build with non-GCC compilers
2004-04-07 19:31 [Bug bootstrap/14882] New: gcc 3.4.0-pre won't build with non-GCC compilers jbuck at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-04-07 20:32 ` jbuck at gcc dot gnu dot org
@ 2004-04-08 6:26 ` mmitchel at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-04-08 6:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-04-08 06:26 -------
Fixed in GCC 3.4.0.
(I commited the patch in the PR to the 3.4 branch.)
Apparently, this problem does not exist on the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14882
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-04-08 6:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 19:31 [Bug bootstrap/14882] New: gcc 3.4.0-pre won't build with non-GCC compilers jbuck at gcc dot gnu dot org
2004-04-07 19:32 ` [Bug bootstrap/14882] " jbuck at gcc dot gnu dot org
2004-04-07 19:39 ` pinskia at gcc dot gnu dot org
2004-04-07 19:46 ` jbuck at gcc dot gnu dot org
2004-04-07 20:32 ` jbuck at gcc dot gnu dot org
2004-04-08 6:26 ` mmitchel 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).