public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file
@ 2003-10-22 19:54 caw at gasnaturalban dot com dot ar
  2003-10-22 20:40 ` [Bug bootstrap/12732] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-10-22 19:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: gengenrtl: cannot execute binary file
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: caw at gasnaturalban dot com dot ar
                CC: gcc-bugs at gcc dot gnu dot org

I'm upgrading GCC from 'gcc version 2.95.2 19991024 (release)' to gcc 3.3 on an 
IBM Mainframe (S/390).
I 'make bootstrap-lean' and I got the following message:

Bootstrapping the compiler
make[1]: Entering directory `/mnt/dasdc/gcc-3.3-obj/gcc'
make CC="gcc" libdir=/usr/local/lib LANGUAGES="c " \
        CFLAGS="-g " MAKEINFO="/mnt/dasdc/gcc-3.3/missing makeinfo --no-split" \
        MAKEINFOFLAGS="" COVERAGE_FLAGS=
make[2]: Entering directory `/mnt/dasdc/gcc-3.3-obj/gcc'
./gengenrtl -h > tmp-genrtl.h
/bin/sh: ./gengenrtl: cannot execute binary file
make[2]: *** [s-genrtl] Error 126
make[2]: Leaving directory `/mnt/dasdc/gcc-3.3-obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/dasdc/gcc-3.3-obj/gcc'
make: *** [bootstrap-lean] Error 2

I have binutils 2.13.2.1 and glibc 2.2.5.

Could You help me, please?
Thanks in advance

Claudio


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
@ 2003-10-22 20:40 ` pinskia at gcc dot gnu dot org
  2003-10-23 13:58 ` caw at gasnaturalban dot com dot ar
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-22 20:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-22 20:40 -------
How did you configure?
How did you invoke make?
Did you have a separate directory where you configure in?


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
  2003-10-22 20:40 ` [Bug bootstrap/12732] " pinskia at gcc dot gnu dot org
@ 2003-10-23 13:58 ` caw at gasnaturalban dot com dot ar
  2003-10-23 14:44 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-10-23 13:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-10-23 13:00 -------
Subject: Re:  gengenrtl: cannot execute binary file



I created an object directory. Then I changed to this directory and I invoked
'configure' with the default options. After that I invoked 'make' from this
target directory.

Claudio


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
  2003-10-22 20:40 ` [Bug bootstrap/12732] " pinskia at gcc dot gnu dot org
  2003-10-23 13:58 ` caw at gasnaturalban dot com dot ar
@ 2003-10-23 14:44 ` pinskia at gcc dot gnu dot org
  2003-10-23 14:51 ` caw at gasnaturalban dot com dot ar
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-23 14:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-23 14:35 -------
What happens if you do "make bootstrap" instead of make?


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (2 preceding siblings ...)
  2003-10-23 14:44 ` pinskia at gcc dot gnu dot org
@ 2003-10-23 14:51 ` caw at gasnaturalban dot com dot ar
  2003-10-24 23:21 ` dhazeghi at yahoo dot com
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-10-23 14:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-10-23 14:48 -------
Subject: Re:  gengenrtl: cannot execute binary file



I've got the same message.


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (3 preceding siblings ...)
  2003-10-23 14:51 ` caw at gasnaturalban dot com dot ar
@ 2003-10-24 23:21 ` dhazeghi at yahoo dot com
  2003-10-27 14:03 ` caw at gasnaturalban dot com dot ar
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-10-24 23:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi at yahoo dot com  2003-10-24 23:18 -------
What type of binary does 'file' say gengenrtl is, as compared to the type of binary that gcc from 
your previous installation is?


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (4 preceding siblings ...)
  2003-10-24 23:21 ` dhazeghi at yahoo dot com
@ 2003-10-27 14:03 ` caw at gasnaturalban dot com dot ar
  2003-10-27 14:11 ` caw at gasnaturalban dot com dot ar
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-10-27 14:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-10-27 13:20 -------
Subject: Re:  gengenrtl: cannot execute binary file



I dont know. It's in an directory called 'gcc' created by 'configure'.


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (5 preceding siblings ...)
  2003-10-27 14:03 ` caw at gasnaturalban dot com dot ar
@ 2003-10-27 14:11 ` caw at gasnaturalban dot com dot ar
  2003-10-27 19:26 ` caw at gasnaturalban dot com dot ar
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-10-27 14:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-10-27 14:10 -------
Subject: Re:  gengenrtl: cannot execute binary file



As a test I tried to install gcc 3.2 instead of 3.3. I created an object
directory. Then I executed 'configure' on it and I received the following
message:

checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking size of char... configure: error: can not run test program while cross
compiling
Configure in /mnt/dasdc/gcc-3.2-OBJ/fastjar failed, exiting.


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (6 preceding siblings ...)
  2003-10-27 14:11 ` caw at gasnaturalban dot com dot ar
@ 2003-10-27 19:26 ` caw at gasnaturalban dot com dot ar
  2003-10-27 20:09 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-10-27 19:26 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-10-27 19:08 -------
Subject: Re:  gengenrtl: cannot execute binary file



I have found the following message as result of the 'sh configure' in gcc 3.3:

checking for .preinit_array/.init_array/.fini_array support...
/mnt/dasdc/gcc-3.3/gcc/configure: ./conftest: cannot execute binary file
no

This message does'nt interrupt the configure and it ended OK.
I'm not sure but, this could be part of the error I have when I execute the
'make' command, what do You think?


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (7 preceding siblings ...)
  2003-10-27 19:26 ` caw at gasnaturalban dot com dot ar
@ 2003-10-27 20:09 ` pinskia at gcc dot gnu dot org
  2003-10-27 20:18 ` caw at gasnaturalban dot com dot ar
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-27 20:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WONTFIX


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-27 19:56 -------
I would try a different gcc and binutils as your current tool chain is not working. Closing as the bug 
is before the stage 2 which means that the bug is not a bug worth worrying about.


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (8 preceding siblings ...)
  2003-10-27 20:09 ` pinskia at gcc dot gnu dot org
@ 2003-10-27 20:18 ` caw at gasnaturalban dot com dot ar
  2003-11-10 21:49 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-10-27 20:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-10-27 20:18 -------
Subject: Re:  gengenrtl: cannot execute binary file



I tried to install binutils 2.14 but  'sh configure' says that my current
version of gcc (2.95.2) is to old.

By the way. I have executed 'make' of gcc 3.2 and I got the same message:

mnt/dasdc/gcc-3.2/gcc/gengenrtl.c -o gengenrtl.o
gcc -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
./gengenrtl -h > tmp-genrtl.h
/bin/sh: ./gengenrtl: cannot execute binary file
make[2]: *** [s-genrtl] Error 126
make[2]: Leaving directory `/mnt/dasdc/gcc-3.2-obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/dasdc/gcc-3.2-obj/gcc'
make: *** [bootstrap-lean] Error 2


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (9 preceding siblings ...)
  2003-10-27 20:18 ` caw at gasnaturalban dot com dot ar
@ 2003-11-10 21:49 ` pinskia at gcc dot gnu dot org
  2003-11-11 12:38 ` caw at gasnaturalban dot com dot ar
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-10 21:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-10 21:49 -------
*** Bug 12998 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (10 preceding siblings ...)
  2003-11-10 21:49 ` pinskia at gcc dot gnu dot org
@ 2003-11-11 12:38 ` caw at gasnaturalban dot com dot ar
  2003-11-11 14:48 ` caw at gasnaturalban dot com dot ar
  2003-11-15 11:38 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-11-11 12:38 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]


------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-11-11 12:38 -------
Subject: Re:  gengenrtl: cannot execute binary file



It isn´t duplicate. The environment is different. I've installed the correct
level of binutils before I tried to install gcc.




-- 


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


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (11 preceding siblings ...)
  2003-11-11 12:38 ` caw at gasnaturalban dot com dot ar
@ 2003-11-11 14:48 ` caw at gasnaturalban dot com dot ar
  2003-11-15 11:38 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: caw at gasnaturalban dot com dot ar @ 2003-11-11 14:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From caw at gasnaturalban dot com dot ar  2003-11-11 14:48 -------
I tried install gcc 3.3.2 and I received then same message:

gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -
DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
./gengenrtl -h > tmp-genrtl.h
/bin/sh: ./gengenrtl: cannot execute binary file
make[2]: *** [s-genrtl] Error 126
make[2]: Leaving directory `/mnt/dasdc/gcc-3.3.2-obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/dasdc/gcc-3.3.2-obj/gcc'
make: *** [bootstrap-lean] Error 2


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


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


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

* [Bug bootstrap/12732] gengenrtl: cannot execute binary file
  2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
                   ` (12 preceding siblings ...)
  2003-11-11 14:48 ` caw at gasnaturalban dot com dot ar
@ 2003-11-15 11:38 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-15 11:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-15 11:38 -------
Your current compiler is not  able to produce working executable, get another prebuilt 
compiler and try with that.

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


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


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

end of thread, other threads:[~2003-11-15 11:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 19:54 [Bug bootstrap/12732] New: gengenrtl: cannot execute binary file caw at gasnaturalban dot com dot ar
2003-10-22 20:40 ` [Bug bootstrap/12732] " pinskia at gcc dot gnu dot org
2003-10-23 13:58 ` caw at gasnaturalban dot com dot ar
2003-10-23 14:44 ` pinskia at gcc dot gnu dot org
2003-10-23 14:51 ` caw at gasnaturalban dot com dot ar
2003-10-24 23:21 ` dhazeghi at yahoo dot com
2003-10-27 14:03 ` caw at gasnaturalban dot com dot ar
2003-10-27 14:11 ` caw at gasnaturalban dot com dot ar
2003-10-27 19:26 ` caw at gasnaturalban dot com dot ar
2003-10-27 20:09 ` pinskia at gcc dot gnu dot org
2003-10-27 20:18 ` caw at gasnaturalban dot com dot ar
2003-11-10 21:49 ` pinskia at gcc dot gnu dot org
2003-11-11 12:38 ` caw at gasnaturalban dot com dot ar
2003-11-11 14:48 ` caw at gasnaturalban dot com dot ar
2003-11-15 11:38 ` 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).