[Bug target/14040] [3.3/3.4 Regression] ARM cross compiler: error: could not split insn

phillim2 at comcast dot net gcc-bugzilla@gcc.gnu.org
Mon Feb 9 16:12:00 GMT 2004


------- Additional Comments From phillim2 at comcast dot net  2004-02-09 16:12 -------
Here's the different chains I've tested with:

Host 1: Athlon XP 2200, debian unstable, 2.6.0-test6 
Binary gcc dist, available from: http://www.openzaurus.org/official/toolchain/
2.95 from here works, 3.3.1 and 3.3.2 fail. 

3.3.2 info from gcc -v:

Thread model: posix
gcc version 3.3.2
 /opt/cross/lib/gcc-lib/arm-linux/3.3.2/cc1 -quiet -v -D__GNUC__=3 -
D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -D__ARM_ARCH_4T__ -D__PIC__ -D__pic__ 
ni_prep2.c -quiet -dumpbase ni_prep2.c -auxbase ni_prep2 -version -fexpensive-
optimizations -fPIC -fif-conversion2 -fcse-follow-jumps -frerun-cse-after-loop -
fomit-frame-pointer -o /tmp/ccbJMblz.s
GNU C version 3.3.2 (arm-linux)
        compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.3 2.96-113).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64308

Host 2: Dual Opteron x86_64, Suse 9.0, 2.4.21-193 SMP kernel
Running the 32bit binaries noted above gives the same. 
However, I have a 3.3.2 x86_64->arm-linux tool chain built, gcc -v output: 

Reading specs from /usr/local/arm/lib/gcc-lib/arm-linux/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --target=arm-linux --
prefix=/usr/local/arm --with-headers=../linux-2.6.0/include
Thread model: posix
gcc version 3.3.2
 /usr/local/arm/lib/gcc-lib/arm-linux/3.3.2/cc1 -quiet -v -D__GNUC__=3 -
D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -D__ARM_ARCH_4T__ -D__PIC__ -D__pic__ 
ni_prep2.c -quiet -dumpbase ni_prep2.c -auxbase ni_prep2 -version -fexpensive-
optimizations -fPIC -fif-conversion2 -fcse-follow-jumps -frerun-cse-after-loop -
fomit-frame-pointer -o /tmp/ccSTTXkS.s
GNU C version 3.3.2 (arm-linux)
        compiled by GNU C version 3.3.1 (SuSE Linux).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

The 3.4 codesourcery toolchain is x86_64->arm-linux too, gcc -v output: 

Reading specs from /opt/cross-3.4/lib/gcc/arm-linux/3.4.0/specs
Configured with: ./configure --prefix=/opt/cross-3.4 --host=x86_64 --target=arm-
linux --enable-languages=c
Thread model: posix
gcc version 3.4.0 20031230 (CodeSourcery ARM Q4 2003)
 /opt/cross-3.4/libexec/gcc/arm-linux/3.4.0/cc1 -quiet -v -D__ARM_ARCH_4T__ -
D__PIC__ -D__pic__ ni_prep2.c -quiet -dumpbase ni_prep2.c -auxbase ni_prep2 -
version -fexpensive-optimizations -fPIC -fif-conversion2 -fcse-follow-jumps -
frerun-cse-after-loop -fomit-frame-pointer -o /tmp/ccf7FJ1Y.s
ignoring duplicate directory "/opt/cross-3.4/lib/gcc/arm-
linux/3.4.0/../../../../arm-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/cross-3.4/lib/gcc/arm-linux/3.4.0/include
 /opt/cross-3.4/lib/gcc/arm-linux/3.4.0/../../../../arm-linux/sys-include
End of search list.
GNU C version 3.4.0 20031230 (CodeSourcery ARM Q4 2003) (arm-linux)
        compiled by GNU C version 3.3.1 (SuSE Linux).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Mark: Do you have a binary tgz of a working i386 toolchain I could test with ?



-- 


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



More information about the Gcc-bugs mailing list