public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19517] New: --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory
@ 2005-01-18 23:32 bauhaus at futureapps dot de
2005-01-18 23:34 ` [Bug bootstrap/19517] " ebotcazou at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bauhaus at futureapps dot de @ 2005-01-18 23:32 UTC (permalink / raw)
To: gcc-bugs
In a fresh directory, I did
../src/gcc/configure --prefix=/opt/GCC/4-01 \
--disable-nls \
--enable-languages=ada,c
This gives
...
checking for MPFR... yes
The following languages will be built: c,ada,ada
*** This configuration is not supported in the following subdirectories:
...
Note the duplication of "ada".
Might this have to do with the new_enable_languages
in configure?
make boostrap builds a stage1 compiler. The stage1 compiler
stops with an error, in options.h.
In options.h, CL_Ada is defined twice:
#define CL_Ada (1 << 0)
#define CL_Ada (1 << 1)
#define CL_C (1 << 2)
#define CL_CXX (1 << 3)
#define CL_ObjC (1 << 4)
#define CL_ObjCXX (1 << 5)
There is a repeated warning during the build of the
stage1 compiler. As warnings are treated as errors later,
this (luckily?) stops the build process.
(options.h announces to have been generated by opts.sh,
which I couldn't find. Is that o.K.?)
CC is gcc-3.4.2 on Debian testing, with Ada enabled.
--
Summary: --enable-languages=c,ada enables Ada twice, and possibly
breaks gcc/options.h in the build directory
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bauhaus at futureapps dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19517
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/19517] --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory
2005-01-18 23:32 [Bug bootstrap/19517] New: --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory bauhaus at futureapps dot de
@ 2005-01-18 23:34 ` ebotcazou at gcc dot gnu dot org
2005-01-18 23:42 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-18 23:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-01-18 23:34 -------
Just to be sure: check that you don't have 2 ada subdirectories in srcdir/gcc.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19517
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/19517] --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory
2005-01-18 23:32 [Bug bootstrap/19517] New: --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory bauhaus at futureapps dot de
2005-01-18 23:34 ` [Bug bootstrap/19517] " ebotcazou at gcc dot gnu dot org
@ 2005-01-18 23:42 ` pinskia at gcc dot gnu dot org
2005-01-19 0:50 ` bauhaus at futureapps dot de
2005-01-19 0:57 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 23:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-18 23:42 -------
This works for me also.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19517
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/19517] --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory
2005-01-18 23:32 [Bug bootstrap/19517] New: --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory bauhaus at futureapps dot de
2005-01-18 23:34 ` [Bug bootstrap/19517] " ebotcazou at gcc dot gnu dot org
2005-01-18 23:42 ` pinskia at gcc dot gnu dot org
@ 2005-01-19 0:50 ` bauhaus at futureapps dot de
2005-01-19 0:57 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: bauhaus at futureapps dot de @ 2005-01-19 0:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bauhaus at futureapps dot de 2005-01-19 00:50 -------
Argh, yes. There was another ada subdirectory, my fault, sorry.
After removing it, options.h now looks good, no more duplicates.
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19517
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/19517] --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory
2005-01-18 23:32 [Bug bootstrap/19517] New: --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory bauhaus at futureapps dot de
` (2 preceding siblings ...)
2005-01-19 0:50 ` bauhaus at futureapps dot de
@ 2005-01-19 0:57 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-19 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-19 00:57 -------
Not a gcc bug so closing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19517
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-19 0:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18 23:32 [Bug bootstrap/19517] New: --enable-languages=c,ada enables Ada twice, and possibly breaks gcc/options.h in the build directory bauhaus at futureapps dot de
2005-01-18 23:34 ` [Bug bootstrap/19517] " ebotcazou at gcc dot gnu dot org
2005-01-18 23:42 ` pinskia at gcc dot gnu dot org
2005-01-19 0:50 ` bauhaus at futureapps dot de
2005-01-19 0:57 ` 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).