public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/23210] New: i686-pc-mingw32/libssp: C compiler cannot create executables
Date: Tue, 02 Aug 2005 22:31:00 -0000	[thread overview]
Message-ID: <20050802223138.23210.fxcoudert@gcc.gnu.org> (raw)

Building on i686-pc-mingw32 (with patches from
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00009.html and
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00097.html) fails when configuring
libssp. The config.log says:

configure:2293:  /home/FX/ibin/./gcc/xgcc -B/home/FX/ibin/./gcc/
-B/mingw/i686-pc-mingw32/bin/ -B/mingw/i686-pc-mingw32/lib/ -isystem
/mingw/i686-pc-mingw32/include -isystem /mingw/i686-pc-mingw32/sys-include -O2
-g -O2    conftest.c  >&5
C:\msys\1.0\home\FX\ibin\gcc\collect-ld.exe: unrecognized option `-Bdynamic'
collect2: ld returned 1 exit status
configure:2296: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "libssp"
| #define PACKAGE_TARNAME "libssp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libssp 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libssp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2335: error: C compiler cannot create executables


Indeed, using "xgcc -v" on a trivial file gives:

$ /home/FX/ibin/./gcc/xgcc -B/home/FX/ibin/./gcc/ -B/mingw/i686-pc-mingw32/bin/
 -B/mingw/i686-pc-mingw32/lib/ -isystem /mingw/i686-pc-mingw32/include -isystem
 /mingw/i686-pc-mingw32/sys-include -O2 -g -O2    conftest.c -v
Reading specs from C:/msys/1.0/home/FX/ibin/gcc/specs
Target: i686-pc-mingw32
Configured with: ../gcc/configure --prefix=/mingw --enable-languages=c,f95
Thread model: win32
gcc version 4.1.0 20050802 (experimental)
 C:/msys/1.0/home/FX/ibin/gcc/cc1.exe -quiet -v -iprefix
c:\msys\1.0\home\fx\ibin\gcc\../lib/gcc/i686-pc-mingw32/4.1.0/ -isystem
C:/msys/1.0/home/FX/ibin/gcc/include -isystem c:/MinGW/i686-pc-mingw32/include
-isystem c:/MinGW/i686-pc-mingw32/sys-include conftest.c -quiet -dumpbase
conftest.c -mtune=pentiumpro -auxbase conftest -g -O2 -O2 -version -o
C:/DOCUME~1/FX/LOCALS~1/Temp/ccsZaaaa.s
ignoring nonexistent directory "c:/MinGW/i686-pc-mingw32/include"
ignoring nonexistent directory "c:/MinGW/i686-pc-mingw32/sys-include"
ignoring nonexistent directory
"c:/msys/1.0/home/fx/ibin/gcc/../lib/gcc/i686-pc-mingw32/4.1.0/include"
ignoring nonexistent directory "c:/MinGW/lib/gcc/i686-pc-mingw32/4.1.0/include"
ignoring nonexistent directory "c:/MinGW/i686-pc-mingw32/include"
#include "..." search starts here:
#include <...> search starts here:
 C:/msys/1.0/home/FX/ibin/gcc/include
 c:/MinGW/include
 /mingw/include
 /mingw/include
End of search list.
GNU C version 4.1.0 20050802 (experimental) (i686-pc-mingw32)
        compiled by GNU C version 3.4.4 (mingw special).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: a806ce3e34687a89c3ca032f7ec55d37
 C:/msys/1.0/home/FX/ibin/gcc/as.exe -o C:/DOCUME~1/FX/LOCALS~1/Temp/ccKObaaa.o
C:/DOCUME~1/FX/LOCALS~1/Temp/ccsZaaaa.s
 C:/msys/1.0/home/FX/ibin/gcc/collect2.exe -Bdynamic c:/MinGW/lib/gcc/../crt2.o
-LC:/msys/1.0/home/FX/ibin/gcc -Lc:/MinGW/lib/gcc/.. -L/mingw/lib
C:/DOCUME~1/FX/LOCALS~1/Temp/ccKObaaa.o -lmingw32 -lgcc -lmoldname -lmingwex
-lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname
-lmingwex -lmsvcrt
C:\msys\1.0\home\FX\ibin\gcc\collect-ld.exe: unrecognized option `-Bdynamic'
collect2: ld returned 1 exit status

-- 
           Summary: i686-pc-mingw32/libssp: C compiler cannot create
                    executables
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-mingw32


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


             reply	other threads:[~2005-08-02 22:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 22:31 fxcoudert at gcc dot gnu dot org [this message]
2005-08-02 22:34 ` [Bug bootstrap/23210] " fxcoudert at gcc dot gnu dot org
2005-08-03  7:21 ` fxcoudert at gcc dot gnu dot org
2005-08-05 20:28 ` fxcoudert at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050802223138.23210.fxcoudert@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).