public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables
@ 2008-05-26 0:25 cnstar9988 at gmail dot com
2008-05-26 0:43 ` [Bug bootstrap/36330] " cnstar9988 at gmail dot com
` (13 more replies)
0 siblings, 14 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-26 0:25 UTC (permalink / raw)
To: gcc-bugs
i386-pc-solaris2.10 configure: error: C compiler cannot create executables.
gcc-4.3.1-RC-20080523.tar.bz2
binutils 2.18
Solaris 10 x86_64 U4
I can build gcc 4.2.3.
But I can't build gcc 4.2.4 and 4.3.1.
pwd: /export/home/test/gcc-4.3.1-build/build/i386-pc-solaris2.10
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for --enable-generated-files-in-srcdir... no
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install...
/export/home/test/gcc-4.3.1-build/src/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for i386-pc-solaris2.10-gcc...
/export/home/test/gcc-4.3.1-build/build/./gcc/xgcc
-B/export/home/test/gcc-4.3.1-build/build/./gcc/
-B/opt/gcc-4.3.1/i386-pc-solaris2.10/bin/
-B/opt/gcc-4.3.1/i386-pc-solaris2.10/lib/ -isystem
/opt/gcc-4.3.1/i386-pc-solaris2.10/include -isystem
/opt/gcc-4.3.1/i386-pc-solaris2.10/sys-include -m64
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libgomp] Error 1
make[1]: Leaving directory `/export/home/test/gcc-4.3.1-build/build'
make: *** [all] Error 2
--
Summary: i386-pc-solaris2.10 configure: error: C compiler cannot
create executables
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cnstar9988 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
@ 2008-05-26 0:43 ` cnstar9988 at gmail dot com
2008-05-26 0:51 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-26 0:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from cnstar9988 at gmail dot com 2008-05-26 00:43 -------
gmp 4.2.2, mpfr 2.3.1
Both gmp and mpfr build with "--disable-shared ABI=32"
gcc 4.3.1 configure:
../src/configure --prefix=/opt/gcc-4.3.1 --with-gmp=/opt/gcc-4.3.1/gmp
--with-mpfr=/opt/gcc-4.3.1/mpfr --with-as=/usr/local/bin/as --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--disable-shared
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
2008-05-26 0:43 ` [Bug bootstrap/36330] " cnstar9988 at gmail dot com
@ 2008-05-26 0:51 ` pinskia at gcc dot gnu dot org
2008-05-26 0:55 ` cnstar9988 at gmail dot com
` (11 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-26 0:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-05-26 00:50 -------
-m64
Use --disable-multilib.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
2008-05-26 0:43 ` [Bug bootstrap/36330] " cnstar9988 at gmail dot com
2008-05-26 0:51 ` pinskia at gcc dot gnu dot org
@ 2008-05-26 0:55 ` cnstar9988 at gmail dot com
2008-05-26 2:15 ` cnstar9988 at gmail dot com
` (10 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-26 0:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from cnstar9988 at gmail dot com 2008-05-26 00:54 -------
I want both build my programs -m32 -m64
My OS is solaris 10 x86_64.
I can run well with gcc 4.2.3.
If I build gcc 4.3.1 with --disable-multilib, I can only compile with apps with
-m32?
--
cnstar9988 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (2 preceding siblings ...)
2008-05-26 0:55 ` cnstar9988 at gmail dot com
@ 2008-05-26 2:15 ` cnstar9988 at gmail dot com
2008-05-28 7:56 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-26 2:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from cnstar9988 at gmail dot com 2008-05-26 02:14 -------
gcc 4.3.1 can build with --disable-multilib on i386-pc-solaris2.10.
It can only compiles 32bit apps.
gcc 4.3.1 can build on sparc-sun-solaris2.10.
It can compiles 32bit and 64bit apps.
--------------------------------------------------------------
gcc 4.2.3 can build well on i386-pc-solaris2.10, sparc-sun-solaris2.10.
Both can accepts -m32 -m64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (3 preceding siblings ...)
2008-05-26 2:15 ` cnstar9988 at gmail dot com
@ 2008-05-28 7:56 ` pinskia at gcc dot gnu dot org
2008-05-28 13:21 ` mikpe at it dot uu dot se
` (8 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-28 7:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2008-05-28 07:55 -------
>checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libgomp] Error 1
Can you attach the config.log then?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (4 preceding siblings ...)
2008-05-28 7:56 ` pinskia at gcc dot gnu dot org
@ 2008-05-28 13:21 ` mikpe at it dot uu dot se
2008-05-29 1:49 ` cnstar9988 at gmail dot com
` (7 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: mikpe at it dot uu dot se @ 2008-05-28 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mikpe at it dot uu dot se 2008-05-28 13:20 -------
(In reply to comment #5)
> >checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> make[1]: *** [configure-target-libgomp] Error 1
>
> Can you attach the config.log then?
>
I get the exact same failure trying to bootstrap 4.3-20080522 + PR36339
fix on Solaris10/x86. The config.log entry says this:
configure:2540: checking for C compiler default output file name
configure:2543: /home/mikpe/objdir-4.3-20080522-static/./gcc/xgcc
-B/home/mikpe/objdir-4.3-20080522-stat
ic/./gcc/ -B/opt/local/gcc-4.3-20080522/i386-pc-solaris2.10/bin/
-B/opt/local/gcc-4.3-20080522/i386-pc-s
olaris2.10/lib/ -isystem
/opt/local/gcc-4.3-20080522/i386-pc-solaris2.10/include -isystem /opt/local/gcc
-4.3-20080522/i386-pc-solaris2.10/sys-include -m64 -O2 -g -O2 -pthread
conftest.c >&5
ld: fatal: unwind table: file
/home/mikpe/objdir-4.3-20080522-static/./gcc/amd64/crtend.o: section .eh_f
rame: bad cie version 0: offset 0x7ffffff84680
collect2: ld returned 1 exit status
gcc is configured to use GNU as but Sun ld, as seems to be standard.
--
mikpe at it dot uu dot se changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (5 preceding siblings ...)
2008-05-28 13:21 ` mikpe at it dot uu dot se
@ 2008-05-29 1:49 ` cnstar9988 at gmail dot com
2008-05-29 4:51 ` cnstar9988 at gmail dot com
` (6 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-29 1:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from cnstar9988 at gmail dot com 2008-05-29 01:48 -------
PR33100
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33100
gcc-4.3.1-RC-20080523.tar.bz2
binutils 2.18
Solaris 10 x86_64 U4
gcc is configured to use GNU as but Sun ld.
works well on 4.2.3.
but failed on 4.3.1.
Now I build 4.3.1 RC, then will attch config.log.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (6 preceding siblings ...)
2008-05-29 1:49 ` cnstar9988 at gmail dot com
@ 2008-05-29 4:51 ` cnstar9988 at gmail dot com
2008-05-29 4:51 ` cnstar9988 at gmail dot com
` (5 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-29 4:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from cnstar9988 at gmail dot com 2008-05-29 04:51 -------
configure:2540: checking for C compiler default output file name
configure:2543: /export/home/test/gcc-4.3.1-build/build/./gcc/xgcc
-B/export/home/test/gcc-4.3.1-build/build/./gcc/
-B/opt/gcc-4.3.1/i386-pc-solaris2.10/bin/
-B/opt/gcc-4.3.1/i386-pc-solaris2.10/lib/ -isystem
/opt/gcc-4.3.1/i386-pc-solaris2.10/include -isystem
/opt/gcc-4.3.1/i386-pc-solaris2.10/sys-include -m64 -O2 -g -g -O2 -pthread
conftest.c >&5
ld: fatal: unwind table: file
/export/home/test/gcc-4.3.1-build/build/./gcc/amd64/crtend.o: section
.eh_frame: bad cie version 0: offset 0x7ffffff84680
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (7 preceding siblings ...)
2008-05-29 4:51 ` cnstar9988 at gmail dot com
@ 2008-05-29 4:51 ` cnstar9988 at gmail dot com
2008-05-29 4:56 ` cnstar9988 at gmail dot com
` (4 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-29 4:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from cnstar9988 at gmail dot com 2008-05-29 04:50 -------
Created an attachment (id=15697)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15697&action=view)
config.log
config.log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (8 preceding siblings ...)
2008-05-29 4:51 ` cnstar9988 at gmail dot com
@ 2008-05-29 4:56 ` cnstar9988 at gmail dot com
2008-06-07 4:05 ` cnstar9988 at gmail dot com
` (3 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-05-29 4:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from cnstar9988 at gmail dot com 2008-05-29 04:56 -------
google "crtend.o: section .eh_frame: bad cie version 0: offset"
You will find a lot of comments about the question.
http://opensolaris.org/jive/thread.jspa?threadID=54665&tstart=0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (9 preceding siblings ...)
2008-05-29 4:56 ` cnstar9988 at gmail dot com
@ 2008-06-07 4:05 ` cnstar9988 at gmail dot com
2008-07-24 21:15 ` andry at inbox dot ru
` (2 subsequent siblings)
13 siblings, 0 replies; 16+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-06-07 4:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from cnstar9988 at gmail dot com 2008-06-07 04:04 -------
Ping...
I have attached config.log for a few days.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (10 preceding siblings ...)
2008-06-07 4:05 ` cnstar9988 at gmail dot com
@ 2008-07-24 21:15 ` andry at inbox dot ru
2008-07-24 21:36 ` andry at inbox dot ru
2008-07-25 15:04 ` andry at inbox dot ru
13 siblings, 0 replies; 16+ messages in thread
From: andry at inbox dot ru @ 2008-07-24 21:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from andry at inbox dot ru 2008-07-24 21:14 -------
I have the same issue on i686-pc-mingw32.
It is slightly different issue, is about: "ld: no such file or directory".
I take a look in to generated Makefile and found this:
"LD = c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe"
This is of cause incorrect and should be fixed to:
"LD = c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw/bin/ld.exe""
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (11 preceding siblings ...)
2008-07-24 21:15 ` andry at inbox dot ru
@ 2008-07-24 21:36 ` andry at inbox dot ru
2008-07-25 15:04 ` andry at inbox dot ru
13 siblings, 0 replies; 16+ messages in thread
From: andry at inbox dot ru @ 2008-07-24 21:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from andry at inbox dot ru 2008-07-24 21:35 -------
I found which part of Makefile broken: "$CC -print-prog-name=ld".
This is means that mingw build already broken, if root mingw directory differs
from "mingw32" folder.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
` (12 preceding siblings ...)
2008-07-24 21:36 ` andry at inbox dot ru
@ 2008-07-25 15:04 ` andry at inbox dot ru
13 siblings, 0 replies; 16+ messages in thread
From: andry at inbox dot ru @ 2008-07-25 15:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from andry at inbox dot ru 2008-07-25 15:03 -------
Sorry, i think this is different error, not dependent on root folder of Mingw
system. I thinks happend because PATH in Mingw system has "/mingw/bin" part,
which brokes build. I was removed it and additionally add "/mingw" mount path
and error disappeared.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables
[not found] <bug-36330-4@http.gcc.gnu.org/bugzilla/>
@ 2011-07-18 17:46 ` ro at gcc dot gnu.org
0 siblings, 0 replies; 16+ messages in thread
From: ro at gcc dot gnu.org @ 2011-07-18 17:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36330
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |ro at gcc dot gnu.org
Known to work| |
Resolution| |DUPLICATE
Known to fail| |
--- Comment #15 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-18 17:45:29 UTC ---
*** This bug has been marked as a duplicate of bug 33100 ***
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2011-07-18 17:46 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-26 0:25 [Bug c++/36330] New: i386-pc-solaris2.10 configure: error: C compiler cannot create executables cnstar9988 at gmail dot com
2008-05-26 0:43 ` [Bug bootstrap/36330] " cnstar9988 at gmail dot com
2008-05-26 0:51 ` pinskia at gcc dot gnu dot org
2008-05-26 0:55 ` cnstar9988 at gmail dot com
2008-05-26 2:15 ` cnstar9988 at gmail dot com
2008-05-28 7:56 ` pinskia at gcc dot gnu dot org
2008-05-28 13:21 ` mikpe at it dot uu dot se
2008-05-29 1:49 ` cnstar9988 at gmail dot com
2008-05-29 4:51 ` cnstar9988 at gmail dot com
2008-05-29 4:51 ` cnstar9988 at gmail dot com
2008-05-29 4:56 ` cnstar9988 at gmail dot com
2008-06-07 4:05 ` cnstar9988 at gmail dot com
2008-07-24 21:15 ` andry at inbox dot ru
2008-07-24 21:36 ` andry at inbox dot ru
2008-07-25 15:04 ` andry at inbox dot ru
[not found] <bug-36330-4@http.gcc.gnu.org/bugzilla/>
2011-07-18 17:46 ` ro 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).