public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/56645] New: libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw
@ 2013-03-17 21:56 rolf.ebert.gcc at gmx dot de
  2013-03-18 11:20 ` [Bug bootstrap/56645] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rolf.ebert.gcc at gmx dot de @ 2013-03-17 21:56 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56645
           Summary: libgcc /configure identifies non-existing /lib/cpp as
                    preprocessor on Mingw
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rolf.ebert.gcc@gmx.de


gcc-4.8.0-RC-20130316 was configured like this:

../gcc-${GCC_VERSION}/configure \
   --disable-libgomp \
   --disable-libstdc++-v3 \
   --enable-libada \
   --host=mingw32 \
   --build=mingw32 \
   --target=mingw32 \
   --disable-werror \
   --prefix=/mingw/local \
   --enable-nls \
   --with-dwarf2 \
   --enable-languages=c,c++,ada \
   --disable-win32-registry \
   --enable-concept-checks \
   --enable-version-specific-runtime-libs \
   --with-bugurl=http://localhost/ \
   --with-gmp=/mingw \
   --with-mpfr=/mingw \
   --with-mpc=/mingw \
   --disable-shared \
   --disable-sjlj-exceptions \
   --with-arch=pentium \
   --with-cpu=pentium \
   >> ${LOG} 2>&1

make CFLAGS="-D__USE_MINGW_ACCESS" CXXFLAGS="-mthreads"
LDFLAGS="-Wl,--stack=0x2800000" > ${LOG} 2>&1


It then fails here:

mkdir -p -- mingw32/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in mingw32/libgcc
configure: creating cache ./config.cache
checking build system type... i386-pc-mingw32
checking host system type... i386-pc-mingw32
checking for --enable-version-specific-runtime-libs... yes
checking for a BSD-compatible install... /bin/install -c
checking for gawk... gawk
checking for mingw32-ar... ar
checking for mingw32-lipo... lipo
checking for mingw32-nm... /c/Devel/gcc-cvs.not/build_native/./gcc/nm
checking for mingw32-ranlib... ranlib
checking for mingw32-strip... strip
checking whether ln -s works... no, using cp -p
checking for mingw32-gcc... /c/Devel/gcc-cvs.not/build_native/./gcc/xgcc
-B/c/Devel/gcc-cvs.not/build_native/./gcc/
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/mingw
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/w32api/lib -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/mingw/include -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/w32api/include
-B/mingw/local/mingw32/bin/ -B/mingw/local/mingw32/lib/ -isystem
/mingw/local/mingw32/include -isystem /mingw/local/mingw32/sys-include
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /c/Devel/gcc-cvs.not/build_native/./gcc/xgcc
-B/c/Devel/gcc-cvs.not/build_native/./gcc/
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/mingw
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/w32api/lib -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/mingw/include -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/w32api/include
-B/mingw/local/mingw32/bin/ -B/mingw/local/mingw32/lib/ -isystem
/mingw/local/mingw32/include -isystem /mingw/local/mingw32/sys-include   
accepts -g... yes
checking for /c/Devel/gcc-cvs.not/build_native/./gcc/xgcc
-B/c/Devel/gcc-cvs.not/build_native/./gcc/
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/mingw
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/w32api/lib -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/mingw/include -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/w32api/include
-B/mingw/local/mingw32/bin/ -B/mingw/local/mingw32/lib/ -isystem
/mingw/local/mingw32/include -isystem /mingw/local/mingw32/sys-include   
option to accept ISO C89... unsupported
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/c/Devel/gcc-cvs.not/build_native/mingw32/libgcc':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/c/Devel/gcc-cvs.not/build_native'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/c/Devel/gcc-cvs.not/build_native'
make: *** [all] Error 2


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

* [Bug bootstrap/56645] libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw
  2013-03-17 21:56 [Bug bootstrap/56645] New: libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw rolf.ebert.gcc at gmx dot de
@ 2013-03-18 11:20 ` rguenth at gcc dot gnu.org
  2013-03-18 11:21 ` rguenth at gcc dot gnu.org
  2015-02-10 16:57 ` ktietz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-03-18 11:20 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-18 11:20:12 UTC ---
I think the issue is that

checking for /c/Devel/gcc-cvs.not/build_native/./gcc/xgcc
-B/c/Devel/gcc-cvs.not/build_native/./gcc/
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/mingw
-L/c/Devel/gcc-cvs.not/build_native/mingw32/winsup/w32api/lib -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/mingw/include -isystem
/c/Devel/gcc-cvs.not/gcc-4.8.0-RC-20130316/winsup/w32api/include
-B/mingw/local/mingw32/bin/ -B/mingw/local/mingw32/lib/ -isystem
/mingw/local/mingw32/include -isystem /mingw/local/mingw32/sys-include   
option to accept ISO C89... unsupported

fails.  This likely results in -E and -E -traditional-cpp to fail as well
and fallback to /lib/cpp.

Figure out why

----
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
                     Syntax error
----

does not work.


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

* [Bug bootstrap/56645] libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw
  2013-03-17 21:56 [Bug bootstrap/56645] New: libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw rolf.ebert.gcc at gmx dot de
  2013-03-18 11:20 ` [Bug bootstrap/56645] " rguenth at gcc dot gnu.org
@ 2013-03-18 11:21 ` rguenth at gcc dot gnu.org
  2015-02-10 16:57 ` ktietz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-03-18 11:21 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-03-18
     Ever Confirmed|0                           |1


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

* [Bug bootstrap/56645] libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw
  2013-03-17 21:56 [Bug bootstrap/56645] New: libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw rolf.ebert.gcc at gmx dot de
  2013-03-18 11:20 ` [Bug bootstrap/56645] " rguenth at gcc dot gnu.org
  2013-03-18 11:21 ` rguenth at gcc dot gnu.org
@ 2015-02-10 16:57 ` ktietz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-02-10 16:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56645

Kai Tietz <ktietz at gcc dot gnu.org> changed:

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

--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Hmm, closing this.  Can't reproduce.  Don't hesitate to open new bug with more
detailed information for reproducing, if this issue still exists


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

end of thread, other threads:[~2015-02-10 16:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-17 21:56 [Bug bootstrap/56645] New: libgcc /configure identifies non-existing /lib/cpp as preprocessor on Mingw rolf.ebert.gcc at gmx dot de
2013-03-18 11:20 ` [Bug bootstrap/56645] " rguenth at gcc dot gnu.org
2013-03-18 11:21 ` rguenth at gcc dot gnu.org
2015-02-10 16:57 ` ktietz at gcc dot gnu.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).