gcc 3.4.4 failed to create executables

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

gcc 3.4.4 failed to create executables

Cesar Romani-4
I used to build zsh for MSYS with gcc 2.9.5. Now that I upgraded it to
3.4.4 I'm getting:

--------------------
$ ../configure --build='i686'
configuring for zsh 4.3.10
checking build system type... i686-pc-none
checking host system type... i686-pc-none
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
--------------------

I'm using msysCORE-1.0.15-1
Many thanks in advance,

--
Cesar


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 failed to create executables

Cesar Romani-4
On 21/07/2010 08:14 p.m., Cesar Romani wrote:
 > I used to build zsh for MSYS with gcc 2.9.5. Now that I upgraded it to
 > 3.4.4 I'm getting:
 >
 > --------------------
 > $ ../configure --build='i686'
 > configuring for zsh 4.3.10
 > checking build system type... i686-pc-none
 > checking host system type... i686-pc-none
 > checking for gcc... gcc
 > checking for C compiler default output file name...
 > configure: error: C compiler cannot create executables
 > See `config.log' for more details.
 > --------------------
 >
 > I'm using msysCORE-1.0.15-1
 > Many thanks in advance,
 >

The config.log contains the following lines:

--------------------
...
configure:1843: checking build system type
configure:1861: result: i686-pc-none
configure:1883: checking host system type
configure:1898: result: i686-pc-none
configure:2452: checking for gcc
configure:2468: found /bin/gcc
configure:2479: result: gcc
configure:2717: checking for C compiler version
configure:2724: gcc --version >&5
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 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:2727: $? = 0
configure:2734: gcc -v >&5
Reading specs from /bin/../lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure
--prefix=/usr --sysconfdir=/etc --localstatedir=/var
--infodir=/share/info --mandir=/share/man --libexecdir=/lib
--enable-languages=c,c++ --disable-nls --enable-threads=posix
--enable-sjlj-exceptions --enable-hash-synchronization
--enable-libstdcxx-debug --with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
configure:2737: $? = 0
configure:2744: gcc -V >&5
gcc: `-V' option must have argument
configure:2747: $? = 1
configure:2770: checking for C compiler default output file name
configure:2797: gcc    conftest.c  >&5
/bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o):
In function `_pei386_runtime_relocator':
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
collect2: ld returned 1 exit status
configure:2800: $? = 1
configure:2838: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MACHTYPE "i686"
| #define VENDOR "pc"
| #define OSTYPE "none"
| #define GLOBAL_ZSHENV "/etc/zshenv"
| #define GLOBAL_ZSHRC "/etc/zshrc"
| #define GLOBAL_ZPROFILE "/etc/zprofile"
| #define GLOBAL_ZLOGIN "/etc/zlogin"
| #define GLOBAL_ZLOGOUT "/etc/zlogout"
| #define RESTRICTED_R 1
| #define CONFIG_LOCALE 1
| #define MAX_FUNCTION_DEPTH 1000
| #define DEFAULT_READNULLCMD "more"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2845: error: C compiler cannot create executables
...
--------------------

Many thanks in advance,

--
Cesar


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 failed to create executables

Charles Wilson-8
On 7/22/2010 1:36 PM, Cesar Romani wrote:
> /bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o):
> In function `_pei386_runtime_relocator':
> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
> collect2: ld returned 1 exit status

You need to update to the latest msys-dev package
(msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma).

--
Chuck

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 failed to create executables

Cesar Romani-4
On 22/07/2010 01:56 p.m., Charles Wilson wrote:
 > On 7/22/2010 1:36 PM, Cesar Romani wrote:
 >>
/bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o):
 >> In function `_pei386_runtime_relocator':
 >> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
 >> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
 >> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
 >> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
 >> collect2: ld returned 1 exit status
 >
 > You need to update to the latest msys-dev package
 > (msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma).

I wrote I'm using msysCORE-1.0.15-1. It means I've already updated to
the latest msys-dev package but gcc 3.4.4 doesn't work.

Many thanks in advance,

--
Cesar


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 failed to create executables

Cesar Romani-4
On 22/07/2010 02:31 p.m., Cesar Romani wrote:
 > On 22/07/2010 01:56 p.m., Charles Wilson wrote:
 >   >  On 7/22/2010 1:36 PM, Cesar Romani wrote:
 >   >>
 >
/bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o):
 >   >>  In function `_pei386_runtime_relocator':
 >   >>
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
 >   >>  undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
 >   >>
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
 >   >>  undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
 >   >>  collect2: ld returned 1 exit status
 >   >
 >   >  You need to update to the latest msys-dev package
 >   >  (msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma).
 >
 > I wrote I'm using msysCORE-1.0.15-1. It means I've already updated to
 > the latest msys-dev package but gcc 3.4.4 doesn't work.

Where can I get back gcc 2.9.5 for MSYS?
Many thanks in advance,

--
Cesar


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 failed to create executables

Charles Wilson-8
On 7/23/2010 8:41 AM, Cesar Romani wrote:
> On 22/07/2010 02:31 p.m., Cesar Romani wrote:
>  > On 22/07/2010 01:56 p.m., Charles Wilson wrote:
>  >   >  You need to update to the latest msys-dev package
>  >   >  (msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma).
>  >
>  > I wrote I'm using msysCORE-1.0.15-1. It means I've already updated to
>  > the latest msys-dev package but gcc 3.4.4 doesn't work.

Just because 'uname' reports 1.0.15 doesn't mean you have the latest
msys-DEV package.  There are several components of the msys core; most
people update the 'msys-*-bin' component and think that's all they need
to do.

You need ALL of the following:
msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
       
and you might want these:
msysCORE-1.0.15-1-msys-1.0.15-dbg.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-doc.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-lic.tar.lzma

https://sourceforge.net/downloads/mingw/MSYS/BaseSystem/msys-1.0.15-1/

> Where can I get back gcc 2.9.5 for MSYS?
> Many thanks in advance,
>

https://sourceforge.net/downloads/mingw/MSYS/System%20Builder/Technology%20Preview_%20msysDVLPR-1.0.0-alpha-1/

But as I'm sure you are aware, it is (and has been) broken. You need
also the _G_config.h file, and put it in the right place...

--
Chuck

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 failed to create executables

Cesar Strauss-2
Em 7/23/2010 10:06 AM, Charles Wilson escreveu:

>> On 22/07/2010 02:31 p.m., Cesar Romani wrote:
>>   >  I wrote I'm using msysCORE-1.0.15-1. It means I've already updated to
>>   >  the latest msys-dev package but gcc 3.4.4 doesn't work.
>
>
> You need ALL of the following:
> msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
> msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
> msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
>

Please also make sure you have w32api-3.14-2-msys-1.0.12-dev.

The release notes for msysCORE-1.0.15-1 contains a useful list of
packages for MSYS development:

http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-1.0.15-1/msysCORE-1.0.15-1-msys-1.0.15.RELEASE_NOTES.txt/download

Regards,
Cesar


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 failed to create executables

Cesar Romani-4
In reply to this post by Charles Wilson-8
On 23/07/2010 08:06 a.m., Charles Wilson wrote:
 > On 7/23/2010 8:41 AM, Cesar Romani wrote:
 >> On 22/07/2010 02:31 p.m., Cesar Romani wrote:
 >>   >  On 22/07/2010 01:56 p.m., Charles Wilson wrote:
 >>   >    >   You need to update to the latest msys-dev package
 >>   >    >   (msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma).
 >>   >
 >>   >  I wrote I'm using msysCORE-1.0.15-1. It means I've already
 >>   >  updated to the latest msys-dev package but gcc 3.4.4 doesn't
 >>   >  work.
 >
 > Just because 'uname' reports 1.0.15 doesn't mean you have the latest
 > msys-DEV package.  There are several components of the msys core; most
 > people update the 'msys-*-bin' component and think that's all they
 > need to do.
 >
 > You need ALL of the following:
 > msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
 > msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
 > msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
 >
 > and you might want these:
 > msysCORE-1.0.15-1-msys-1.0.15-dbg.tar.lzma
 > msysCORE-1.0.15-1-msys-1.0.15-doc.tar.lzma
 > msysCORE-1.0.15-1-msys-1.0.15-lic.tar.lzma

Actually I've installed all of the above mentioned packages and
also w32api-3.14-3-msys-1.0.12-dev

What could have happen? With gcc 2.9.5 I didn't get any errors.

Many thanks in advance,

--
Cesar


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys