target/2004: Internal error on correct code while compiling for ARM
emarty@nexwave-solutions.fr
emarty@nexwave-solutions.fr
Fri Feb 16 01:26:00 GMT 2001
>Number: 2004
>Category: target
>Synopsis: Internal error on correct code while compiling for ARM
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Feb 16 01:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Emmanuel Marty
>Release: gcc version 2.97 20010215 (experimental)
>Organization:
>Environment:
Linux 2.4.1/i686 on pentium III.
>Description:
Using gcc pulled from the 3.0 branch of the CVS tree (:pserver:anoncvs@gcc.gnu.org:/cvs/gcc).
Updated on 02/16/2001 around 3 AM EST.
Built to cross-compile ARM code from an i686/linux PC using the following commands:
export CFLAGS="-O2 -fomit-frame-pointer"
../gcc/configure --target=arm-linux-elf --enable-languages=c --prefix=/usr/local/nexwave/arm-tools
make
make install
Produces an internal error when trying to compile the attached code (treebug.i, gzipped).
Full command line:
arm-linux-elf-gcc -v -save-temps -O2 -c -o treebug.o treebug.c
Compiler output:
Reading specs from /usr/local/nexwave/arm-tools/lib/gcc-lib/arm-linux-elf/2.97/specs
Configured with: ../gcc/configure --target=arm-linux-elf --enable-languages=c --prefix=/usr/local/nexwave/arm-tools
gcc version 2.97 20010215 (experimental)
/usr/local/nexwave/arm-tools/lib/gcc-lib/arm-linux-elf/2.97/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=97 -D__GNUC_PATCHLEVEL__=0 -Acpu=arm -Amachine=arm -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D__ARM_ARCH_4T__ -D__APCS_32__ -D__ARMEL__ -D__ELF__ -D__arm__ treebug.c treebug.i
GNU CPP version 2.97 20010215 (experimental) (cpplib) (ARM/ELF non-Linux)
ignoring nonexistent directory "/usr/local/nexwave/arm-tools/arm-linux-elf/sys-include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/nexwave/arm-tools/lib/gcc-lib/arm-linux-elf/2.97/include
/usr/local/nexwave/arm-tools/arm-linux-elf/include
End of search list.
/usr/local/nexwave/arm-tools/lib/gcc-lib/arm-linux-elf/2.97/cc1 -fpreprocessed
treebug.i -quiet -dumpbase treebug.c -O2 -version -o treebug.s
GNU CPP version 2.97 20010215 (experimental) (cpplib) (ARM/ELF non-Linux)
GNU C version 2.97 20010215 (experimental) (arm-linux-elf)
compiled by GNU C version 2.95.3 20010125 (prerelease).
treebug.c: In function `RedBlackTreeApply_Prototypized':
treebug.c:34: Internal error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="treebug.i.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="treebug.i.gz"
H4sICKPsjDoCA3RyZWVidWcuaQC1UktLxDAQvudXjCtIUqqI17LCrnpyFVm8lzSZ7obWpmRTpZb+
d5M+VsWKruDc5vE9mJljuICZNYhJtTkTM2LrEiWmgEX1BA0sV4ur2xDWN9fQgkliPxkLnWsTEbKz
phLWlR9d9V5LhIYAfK0GOaY2mm4Ztdl+1yu5waJrPmslIciw9sknGzCY6WcCkNzyiLTOnY+d5VaJ
CW6T3HGToYE5NCdjEjqWX8Sh85T29hnQ8xVj/4rq7/UnBfBL6yprlMuci8xva1GWeR0/GG21ew31
ihLoxKlEZfytRuWOhgZpVQg2qrDuO0Bq91YtvGxVjk6YOVFXVSnQgQOO5u8rHkAuPNd+5vTS33nA
uvjJ8R7mPzHsuFh0KLZ71Y/glrTkDZ8j+dNAAwAA
More information about the Gcc-bugs
mailing list