public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/3243: Re: PATCH for gthr.h (was:: Problems bootstrapping on i686-linux)
@ 2001-06-19  6:06 Carlo Wood
  0 siblings, 0 replies; only message in thread
From: Carlo Wood @ 2001-06-19  6:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/3243; it has been noted by GNATS.

From: Carlo Wood <carlo@alinoe.com>
To: Alexandre Oliva <aoliva@redhat.com>, gcc-gnats@gcc.gnu.org
Cc: gcc@gcc.gnu.org
Subject: libstdc++/3243: Re: PATCH for gthr.h (was:: Problems bootstrapping on i686-linux)
Date: Tue, 19 Jun 2001 15:01:24 +0200

 On Tue, Jun 19, 2001 at 07:06:12AM -0300, Alexandre Oliva wrote:
 > On Jun 19, 2001, Carlo Wood <carlo@alinoe.com> wrote:
 > 
 > > I think the following patch is needed.
 > 
 > Wouldn't it break the build, since bits doesn't exist at that time?
 > 
 > Besides, I don't see why this is needed.  Since both gthr.h and
 > gthr-*.h are installed in the same bits directory, #include "gthr-*.h"
 > should get the right file from gthr.h.  If it doesn't, it's probably a
 > preprocessor bug.
 
 You're right.  However, I feel the real problem might be the use of
 double quotes here(?).
 
 Anyway, here is a test case, the problem is indeed related to use of -I-.
 
 -------Start of test.cc--------
 #include <iostream>
 -------End of test.cc----------
 
 >g++-3.0 -I- -c -v test.cc
 Reading specs from /usr/local/gcc-3.0/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
 Configured with: ../gcc-3.0/configure --prefix=/usr/local/gcc-3.0 --infodir=/usr/local --mandir=/usr/local --enable-shared --with-gnu-as --with-gnu-ld --enable-threads=posix --enable-languages=c++ --disable-nls
 Thread model: posix
 gcc version 3.0
  /usr/local/gcc-3.0/lib/gcc-lib/i686-pc-linux-gnu/3.0/cc1plus -v -I- -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ test.cc -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase test.cc -version -o /tmp/ccAiAD8o.s
 GNU CPP version 3.0 (cpplib) (i386 Linux/ELF)
 GNU C++ version 3.0 (i686-pc-linux-gnu)
 	compiled by GNU C version 3.0.
 ignoring nonexistent directory "/usr/local/gcc-3.0/i686-pc-linux-gnu/include"
 #include "..." search starts here:
 #include <...> search starts here:
  /usr/local/gcc-3.0/include/g++-v3
  /usr/local/gcc-3.0/include/g++-v3/i686-pc-linux-gnu
  /usr/local/gcc-3.0/include/g++-v3/backward
  /usr/local/include
  /usr/local/gcc-3.0/lib/gcc-lib/i686-pc-linux-gnu/3.0/include
  /usr/include
 End of search list.
 In file included from /usr/local/gcc-3.0/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:37,
                  from /usr/local/gcc-3.0/include/g++-v3/bits/fpos.h:39,
                  from /usr/local/gcc-3.0/include/g++-v3/bits/std_iosfwd.h:41,
                  from /usr/local/gcc-3.0/include/g++-v3/bits/std_ios.h:39,
                  from /usr/local/gcc-3.0/include/g++-v3/bits/std_ostream.h:39,
                  from /usr/local/gcc-3.0/include/g++-v3/bits/std_iostream.h:40,
                  from /usr/local/gcc-3.0/include/g++-v3/iostream:31,
                  from test.cc:1:
 /usr/local/gcc-3.0/include/g++-v3/i686-pc-linux-gnu/bits/gthr.h:98:26: gthr-default.h: No such file or directory
 [...]
 
 
 -- 
 Carlo Wood <carlo@alinoe.com>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-19  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-19  6:06 libstdc++/3243: Re: PATCH for gthr.h (was:: Problems bootstrapping on i686-linux) Carlo Wood

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).