public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/23210] New: i686-pc-mingw32/libssp: C compiler cannot create executables
@ 2005-08-02 22:31 fxcoudert at gcc dot gnu dot org
  2005-08-02 22:34 ` [Bug bootstrap/23210] " fxcoudert at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-02 22:31 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug bootstrap/23210] i686-pc-mingw32/libssp: C compiler cannot create executables
  2005-08-02 22:31 [Bug bootstrap/23210] New: i686-pc-mingw32/libssp: C compiler cannot create executables fxcoudert at gcc dot gnu dot org
@ 2005-08-02 22:34 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-02 22:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-08-02 22:34 -------
This seems related to libssp specifically since libgfortran configures fine (in
the same tree). Adding jakub to the Cc list.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com


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


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

* [Bug bootstrap/23210] i686-pc-mingw32/libssp: C compiler cannot create executables
  2005-08-02 22:31 [Bug bootstrap/23210] New: i686-pc-mingw32/libssp: C compiler cannot create executables fxcoudert at gcc dot gnu dot org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-03  7:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |23138
              nThis|                            |


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


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

* [Bug bootstrap/23210] i686-pc-mingw32/libssp: C compiler cannot create executables
  2005-08-02 22:31 [Bug bootstrap/23210] New: i686-pc-mingw32/libssp: C compiler cannot create executables fxcoudert at gcc dot gnu dot org
  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
  2 siblings, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-05 20:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-08-05 20:28 -------
Sorry guys, I messed up with the other patches needed to build on mingw32.

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


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


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

end of thread, other threads:[~2005-08-05 20:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-02 22:31 [Bug bootstrap/23210] New: i686-pc-mingw32/libssp: C compiler cannot create executables fxcoudert at gcc dot gnu dot org
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

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