public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32134]  New: Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables
@ 2007-05-28 23:55 rob1weld at aol dot com
  2007-05-28 23:57 ` [Bug target/32134] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rob1weld at aol dot com @ 2007-05-28 23:55 UTC (permalink / raw)
  To: gcc-bugs

$ cat /cygdrive/C/makecygwin/gcc-4_3-trunk/LAST_UPDATED 
Mon May 28 16:39:01 UTC 2007 (revision 125132)

$ prev-gcc/xgcc -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /cygdrive/C/makecygwin/gcc-4_3-trunk/configure --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/4.3 --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--with-cpu=athlon-xp --with-arch=athlon-xp
--enable-stage1-checking=assert,gc,misc,rtl,rtlflag,runtime,tree
Thread model: single
gcc version 4.3.0 20070528 (experimental)


Using minimal configure parameters _or_ trying "--disable-initfini-array
--disable-__cxa_atexit" was to no avail. I did search gcc-patches and bugzilla.


The intl/configure script for 4.3.0 is the same as for 4.2.0/1 and it does not
fail there. The test is trivial, the problem might be in libgcc2. 

This is my first try at 4.3.0 for Cygwin. I'm going to look into this more to
see if I can find the trouble.


Here is the screen output:

make[3]: Leaving directory
`/cygdrive/c/gcc-4_3-trunk-build/i686-pc-cygwin/libgcc'
make[2]: Leaving directory `/cygdrive/c/gcc-4_3-trunk-build'
make[2]: Entering directory `/cygdrive/c/gcc-4_3-trunk-build'
make[3]: Entering directory `/cygdrive/c/gcc-4_3-trunk-build'
rm -f stage_current
make[3]: Leaving directory `/cygdrive/c/gcc-4_3-trunk-build'
make[2]: Leaving directory `/cygdrive/c/gcc-4_3-trunk-build'
make[2]: Entering directory `/cygdrive/c/gcc-4_3-trunk-build'
Configuring stage 2 in ./intl
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for i686-pc-cygwin-gcc... 
/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/xgcc
-B/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/ -B/usr/i686-pc-cygwin/bin/
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stage2-intl] Error 77
make[2]: Leaving directory `/cygdrive/c/gcc-4_3-trunk-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/cygdrive/c/gcc-4_3-trunk-build'
make: *** [all] Error 2


Here is the file: /gcc-4_3-trunk-build/intl/config.log

configure:1658: result: /usr/bin/xgettext
configure:1698: checking for msgmerge
configure:1728: result: /usr/bin/msgmerge
configure:1771: checking for i686-pc-cygwin-gcc
configure:1797: result:  /cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/xgcc
-B/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/ -B/usr/i686-pc-cygwin/bin/
configure:2079: checking for C compiler version
configure:2082:  /cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/xgcc
-B/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/ -B/usr/i686-pc-cygwin/bin/
--version </dev/null >&5
xgcc (GCC) 4.3.0 20070528 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2085: $? = 0
configure:2087:  /cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/xgcc
-B/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/ -B/usr/i686-pc-cygwin/bin/ -v
</dev/null >&5
Reading specs from /cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/specs
Target: i686-pc-cygwin
Configured with: /cygdrive/C/makecygwin/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --with-long-double-128
--enable-debug --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
--enable-portable-native-sync --enable-examples --enable-libgcj-multifile
--with-stabs --enable-hash-synchronization --enable-gc-debug
--enable-interpreter --with-system-zlib --enable-libada --with-tls
--with-cpu=athlon-xp --with-arch=athlon-xp
--enable-stage1-checking=assert,gc,misc,rtl,rtlflag,runtime,tree
Thread model: posix
gcc version 4.3.0 20070528 (experimental)
configure:2090: $? = 0
configure:2092:  /cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/xgcc
-B/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/ -B/usr/i686-pc-cygwin/bin/ -V
</dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2095: $? = 1
configure:2118: checking for C compiler default output file name
configure:2121:  /cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/xgcc
-B/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/ -B/usr/i686-pc-cygwin/bin/ -g -O2
-I/usr/local/include  conftest.c  >&5
/cygdrive/c/gcc-4_3-trunk-build/./prev-gcc/libgcc.a(_ctors.o): In function
`__sgetc_r':
/usr/include/stdio.h:414: undefined reference to `_ungetc'
/usr/include/stdio.h:410: undefined reference to `___srget_r'
/usr/include/stdio.h:407: undefined reference to `___srget_r'
collect2: ld returned 1 exit status
configure:2124: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2163: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##


-----


The target i686-pc-linux-gnu has a different result in the log file:


# grep -A 11 Target:\ i686-pc-linux-gnu /opt/gcc-4_3-build/intl/config.log
Target: i686-pc-linux-gnu
Configured with: /root/downloads/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --with-long-double-128
--enable-debug --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
--enable-portable-native-sync --enable-examples --enable-libgcj-multifile
--with-stabs --enable-hash-synchronization --enable-gc-debug
--enable-interpreter --with-system-zlib --enable-libada --with-tls
--with-cpu=athlon-xp --with-arch=athlon-xp
--enable-stage1-checking=assert,gc,misc,rtl,rtlflag,runtime,tree
Thread model: posix
gcc version 4.3.0 20070527 (experimental)
configure:2090: $? = 0
configure:2092:  /opt/gcc-4_3-build/./prev-gcc/xgcc
-B/opt/gcc-4_3-build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ -V </dev/null
>&5
xgcc: '-V' must come at the start of the command line
configure:2095: $? = 1
configure:2118: checking for C compiler default output file name
configure:2121:  /opt/gcc-4_3-build/./prev-gcc/xgcc
-B/opt/gcc-4_3-build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -g
-fomit-frame-pointer   conftest.c  >&5
configure:2124: $? = 0
configure:2170: result: a.out


The target i686-pc-cygwin defines ungetc like this:

$ grep ungetc /usr/include/stdio.h 
int     _EXFUN(ungetc, (int, FILE *));
int     _EXFUN(_ungetc_r, (struct _reent *, int, FILE *));
        ungetc(__c2, __p);


The target i686-pc-linux-gnu defines ungetc like this:

# grep ungetc /usr/include/stdio.h
extern int ungetc (int __c, FILE *__stream);


-- 
           Summary: Configuring stage 2 in ./intl fails checking for C
                    compiler default output file name - C compiler cannot
                    create executables
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

* [Bug target/32134] Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables
  2007-05-28 23:55 [Bug c/32134] New: Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables rob1weld at aol dot com
@ 2007-05-28 23:57 ` pinskia at gcc dot gnu dot org
  2007-05-29  0:06 ` rob1weld at aol dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-28 23:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-05-28 23:57 -------


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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug target/32134] Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables
  2007-05-28 23:55 [Bug c/32134] New: Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables rob1weld at aol dot com
  2007-05-28 23:57 ` [Bug target/32134] " pinskia at gcc dot gnu dot org
@ 2007-05-29  0:06 ` rob1weld at aol dot com
  2007-05-29  0:08 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rob1weld at aol dot com @ 2007-05-29  0:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rob1weld at aol dot com  2007-05-29 00:06 -------
Wow Andrew, you were sure on top of that fast...

I _did_ search for various words to attempt to find a similar complaint before
posting. I found none.

I agree that this bug report is a dupe of 31039 .

Do you have some sort of dupe check script running or is it just your magic
powers?

Thanks.


-- 

rob1weld at aol dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.0
      Known to work|                            |4.2.0 4.2.1


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


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

* [Bug target/32134] Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables
  2007-05-28 23:55 [Bug c/32134] New: Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables rob1weld at aol dot com
  2007-05-28 23:57 ` [Bug target/32134] " pinskia at gcc dot gnu dot org
  2007-05-29  0:06 ` rob1weld at aol dot com
@ 2007-05-29  0:08 ` pinskia at gcc dot gnu dot org
  2007-05-29  3:52 ` rob1weld at aol dot com
  2007-05-29  4:22 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-29  0:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-05-29 00:08 -------
(In reply to comment #2) 
> Do you have some sort of dupe check script running or is it just your magic
> powers?

I just searched for __sgetc_r.  Nothing special for finding the dup.


-- 


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


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

* [Bug target/32134] Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables
  2007-05-28 23:55 [Bug c/32134] New: Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables rob1weld at aol dot com
                   ` (2 preceding siblings ...)
  2007-05-29  0:08 ` pinskia at gcc dot gnu dot org
@ 2007-05-29  3:52 ` rob1weld at aol dot com
  2007-05-29  4:22 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rob1weld at aol dot com @ 2007-05-29  3:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rob1weld at aol dot com  2007-05-29 03:52 -------
I got the reply "Zarro Boogs found." when I searched for:

ungetc
http://gcc.gnu.org/bugzilla/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=ungetc&known_to_fail_type=allwordssubstr&known_to_work_type=allwordssubstr&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&gcchost_type=allwordssubstr&gcchost=&gcctarget_type=allwordssubstr&gcctarget=&gccbuild_type=allwordssubstr&gccbuild=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=

"C compiler cannot create executables"
http://gcc.gnu.org/bugzilla/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=%22C+compiler+cannot+create+executables%22&known_to_fail_type=allwordssubstr&known_to_work_type=allwordssubstr&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&gcchost_type=allwordssubstr&gcchost=&gcctarget_type=allwordssubstr&gcctarget=&gccbuild_type=allwordssubstr&gccbuild=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=

__sgetc_r
http://gcc.gnu.org/bugzilla/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=__sgetc_r&known_to_fail_type=allwordssubstr&known_to_work_type=allwordssubstr&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&gcchost_type=allwordssubstr&gcchost=&gcctarget_type=allwordssubstr&gcctarget=&gccbuild_type=allwordssubstr&gccbuild=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=


-- 


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


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

* [Bug target/32134] Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables
  2007-05-28 23:55 [Bug c/32134] New: Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables rob1weld at aol dot com
                   ` (3 preceding siblings ...)
  2007-05-29  3:52 ` rob1weld at aol dot com
@ 2007-05-29  4:22 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-29  4:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-05-29 04:22 -------
(In reply to comment #4)
> I got the reply "Zarro Boogs found." when I searched for:
You are searching the summary, try the comment section instead. 
You get three bugs:
PR 32134
PR 32024
PR 31039

The middle one if the ICE with fold checking (which I have not looked into
yet).
The first one is this bug, and the last one is the dup.


-- 


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


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

end of thread, other threads:[~2007-05-29  4:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-28 23:55 [Bug c/32134] New: Configuring stage 2 in ./intl fails checking for C compiler default output file name - C compiler cannot create executables rob1weld at aol dot com
2007-05-28 23:57 ` [Bug target/32134] " pinskia at gcc dot gnu dot org
2007-05-29  0:06 ` rob1weld at aol dot com
2007-05-29  0:08 ` pinskia at gcc dot gnu dot org
2007-05-29  3:52 ` rob1weld at aol dot com
2007-05-29  4:22 ` 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).