public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390
@ 2003-08-21  6:27 fb at fbit dot de
  2003-08-21 14:42 ` [Bug c/12004] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: fb at fbit dot de @ 2003-08-21  6:27 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=12004

           Summary: Internal Compiler error compiling binutils 2.14.90.0.5
                    for s390
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fb at fbit dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: s390-linux

make[1]: Entering directory `/root/s390-binutils/libiberty'
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/root/eGuard-devel/binutils-2.14.90.0.5/libiberty/../include  -W -Wall
-Wtraditional -pedantic  /root/eGuard-devel/binutils-2.14.90.0.5/libi
berty/regex.c -o pic/regex.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/root/eGuard-devel/binutils-2.14.90.0.5/libiberty/../include  -W -Wall
-Wtraditional -pedantic /root/eGuard-devel/binutils-2.14.90.0.5/libiber
ty/regex.c -o regex.o
In file included from /root/eGuard-devel/binutils-2.14.90.0.5/include/xregex.h:26,
                 from /root/eGuard-devel/binutils-2.14.90.0.5/libiberty/regex.c:195:
/root/eGuard-devel/binutils-2.14.90.0.5/include/xregex2.h:551: warning: ISO C90
does not support `static' or type qualifiers in parameter array declarators
In file included from /root/eGuard-devel/binutils-2.14.90.0.5/libiberty/regex.c:649:
/root/eGuard-devel/binutils-2.14.90.0.5/libiberty/regex.c: In function
`byte_at_begline_loc_p':
/root/eGuard-devel/binutils-2.14.90.0.5/libiberty/regex.c:4346: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/root/s390-binutils/libiberty'
make: *** [all-libiberty] Error 2

Output with gcc-option -E available on http://www.xguard.de/regex.E
more infos on request.


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

* [Bug c/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
@ 2003-08-21 14:42 ` pinskia at gcc dot gnu dot org
  2003-08-23  2:59 ` [Bug target/12004] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-21 14:42 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=12004



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-21 14:42 -------
Created an attachment (id=4629)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4629&action=view)
regex.i


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
  2003-08-21 14:42 ` [Bug c/12004] " pinskia at gcc dot gnu dot org
@ 2003-08-23  2:59 ` pinskia at gcc dot gnu dot org
  2003-08-23 17:33 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23  2:59 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=12004


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
  2003-08-21 14:42 ` [Bug c/12004] " pinskia at gcc dot gnu dot org
  2003-08-23  2:59 ` [Bug target/12004] " pinskia at gcc dot gnu dot org
@ 2003-08-23 17:33 ` pinskia at gcc dot gnu dot org
  2003-08-23 17:45 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 17:33 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=12004


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
           Keywords|                            |ice-on-valid-code


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-23 17:33 -------
I thought libiberty/regex.c was compiled also was compiled when building the compiler so it could 
be a memory problem.

Are you compiling using a cross-compiler to s390 or are you just building the binutils for a target 
of s390?


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
                   ` (2 preceding siblings ...)
  2003-08-23 17:33 ` pinskia at gcc dot gnu dot org
@ 2003-08-23 17:45 ` pinskia at gcc dot gnu dot org
  2003-08-23 20:44 ` fb at fbit dot de
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 17:45 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=12004


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
                   ` (3 preceding siblings ...)
  2003-08-23 17:45 ` pinskia at gcc dot gnu dot org
@ 2003-08-23 20:44 ` fb at fbit dot de
  2003-08-23 20:51 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fb at fbit dot de @ 2003-08-23 20:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

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



------- Additional Comments From fb at fbit dot de  2003-08-23 20:44 -------
Subject: Re:  Internal Compiler error compiling binutils
 2.14.90.0.5 for s390


A memory problem I assumed first, but the result is reproducable.
To be on the safe side, I will run a memory test overnight on this
machine.

Do you assume a memory problem with gcc-3.3.1 ? Then I will rebuild that,
again, too. But that's gcc-3.3.1 built with gcc-3.3.1, you see the catch.

Mit freundlichen Grüßen / regards

Frank Bernard


Frank Bernard Informationstechnik GmbH     phone  : +49 69 90478980
Dipl.-Inform. Frank Bernard                fax    : +49 69 90478982
Wilhelmshöherstr. 123                      email  : fb@fbit.de
60389 Frankfurt                            www    : http://www.fbit.de
Germany                                             http://www.linuxwall.de
                                                    http://www.zguard.de
vanity : +49 700 34739255                  vanity : +49 700 FIREWALL

On 23 Aug 2003, pinskia at gcc dot gnu dot org wrote:

> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12004
>
>
> pinskia at gcc dot gnu dot org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
>            Keywords|                            |ice-on-valid-code
>
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-23 17:33 -------
> I thought libiberty/regex.c was compiled also was compiled when building the compiler so it could
> be a memory problem.
>
> Are you compiling using a cross-compiler to s390 or are you just building the binutils for a target
> of s390?
>
>
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
                   ` (4 preceding siblings ...)
  2003-08-23 20:44 ` fb at fbit dot de
@ 2003-08-23 20:51 ` pinskia at gcc dot gnu dot org
  2003-08-24  8:40 ` fb at fbit dot de
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 20: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=12004



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-23 20:50 -------
What about the other part of my question, are you trying to build binutils targeted for s390 on 
i386 for running on i386 or running on s390?


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
                   ` (5 preceding siblings ...)
  2003-08-23 20:51 ` pinskia at gcc dot gnu dot org
@ 2003-08-24  8:40 ` fb at fbit dot de
  2003-08-24 11:27 ` fb at fbit dot de
  2003-08-24 13:56 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: fb at fbit dot de @ 2003-08-24  8:40 UTC (permalink / raw)
  To: gcc-bugs

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

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

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



------- Additional Comments From fb at fbit dot de  2003-08-24 08:39 -------
Subject: Re:  Internal Compiler error compiling binutils
 2.14.90.0.5 for s390


I compile binutils for use in a cross compilation environment, i.e. a PC
having cross compilers for all platforms. The idea is to have one product
managed from one point for different platforms. gcc runs on a PC building
utilities and cross compiler for different platforms.

The call on the PC for configuring binutils was

mkdir /root/s390-binutils
cd /root/s390-binutils
/root/eGuard/binutils-2.14.90.0.5/configure --prefix=/usr/local/s390-linux/ --target=s390-linux

/root/eGuard/binutils-2.14.90.0.5/configure --target=s390-linux succeeds.

In subtree /usr/local/s390-linux are include files, libraries, and utilities for s390.

Are the wrong include files taken ? But that should not lead to a compiler error.

.-.-.-.-.-.

The same call with ppc64 instead of s390 (first example with "prefix") succeeds.

.-.-.-.-.-.

Interesting enough, compiling (cp regex.E regex.c; gcc -c -o regex.o regex.c)
gives no SIGSEGV and produces regex.o.

.-.-.-.-.-.

I've run the memory test for 11 hours, no error found (memtest86).

.-.-.-.-.-.

What shall I do now ?

Mit freundlichen Grüßen / regards

Frank Bernard


On 23 Aug 2003, pinskia at gcc dot gnu dot org wrote:

> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12004
>
>
> pinskia at gcc dot gnu dot org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
>            Keywords|                            |ice-on-valid-code
>
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-23 17:33 -------
> I thought libiberty/regex.c was compiled also was compiled when building the compiler so it could
> be a memory problem.
>
> Are you compiling using a cross-compiler to s390 or are you just building the binutils for a target
> of s390?
>
>
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
                   ` (6 preceding siblings ...)
  2003-08-24  8:40 ` fb at fbit dot de
@ 2003-08-24 11:27 ` fb at fbit dot de
  2003-08-24 13:56 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: fb at fbit dot de @ 2003-08-24 11:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

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



------- Additional Comments From fb at fbit dot de  2003-08-24 11:27 -------
Subject: Re:  Internal Compiler error compiling binutils
 2.14.90.0.5 for s390


Very strange.

Compiling now with the same call gives no error. It seems that it was a
transient memory problem, solved after reboot to memory testing.
I've tested it three times, because I couldn't believe that.

Please close the call.
Thank you for your efforts.

Mit freundlichen Grüßen / regards

Frank Bernard

On 23 Aug 2003, pinskia at gcc dot gnu dot org wrote:

> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12004
>
>
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-23 20:50 -------
> What about the other part of my question, are you trying to build binutils targeted for s390 on
> i386 for running on i386 or running on s390?
>
>
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


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

* [Bug target/12004] Internal Compiler error compiling binutils 2.14.90.0.5 for s390
  2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
                   ` (7 preceding siblings ...)
  2003-08-24 11:27 ` fb at fbit dot de
@ 2003-08-24 13:56 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-24 13:56 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=12004


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
 GCC target triplet|s390-linux                  |i686-linux
         Resolution|                            |INVALID


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-24 13:56 -------
Reporter says this looks like a memory problem.
The reason why I was asking about the target is that you put the target as s390 but really you were 
compiling for i686 but you were compiling the binutils for s390, yes this is confusing.


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

end of thread, other threads:[~2003-08-24 13:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-21  6:27 [Bug c/12004] New: Internal Compiler error compiling binutils 2.14.90.0.5 for s390 fb at fbit dot de
2003-08-21 14:42 ` [Bug c/12004] " pinskia at gcc dot gnu dot org
2003-08-23  2:59 ` [Bug target/12004] " pinskia at gcc dot gnu dot org
2003-08-23 17:33 ` pinskia at gcc dot gnu dot org
2003-08-23 17:45 ` pinskia at gcc dot gnu dot org
2003-08-23 20:44 ` fb at fbit dot de
2003-08-23 20:51 ` pinskia at gcc dot gnu dot org
2003-08-24  8:40 ` fb at fbit dot de
2003-08-24 11:27 ` fb at fbit dot de
2003-08-24 13:56 ` 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).