[Bug target/17378] New: Assembler error at -O1: can't resolve ..., expression too complex
micis at gmx dot de
gcc-bugzilla@gcc.gnu.org
Thu Sep 9 16:04:00 GMT 2004
I'm trying to compile ACE-TAO with gcc35.
At one file I get an assembler error.
The error occurs only with -O1 an above, but not at -O0.
/usr/local/gcc35/bin/g++35 -W -Wall -Wpointer-arith -fpermissive -save-temps -
O1 -g -c -o client.o client.ii -v
Reading specs from /usr/local/gcc35/lib/gcc/powerpc-unknown-linux-
gnu/3.5.0/specs
Configured with: ../gcc35/configure --prefix=/usr/local/gcc35 --program-
suffix=35 --with-cpu=G5 --enable-altivec --enable-languages=c,c++
Thread model: posix
gcc version 3.5.0 20040905 (experimental)
/usr/local/gcc35/libexec/gcc/powerpc-unknown-linux-gnu/3.5.0/cc1plus -
fpreprocessed client.ii -quiet -dumpbase client.ii -mcpu=G5 -auxbase-strip
client.o -g -O1 -W -Wall -Wpointer-arith -version -fpermissive -o client.s
GNU C++ version 3.5.0 20040905 (experimental) (powerpc-unknown-linux-gnu)
compiled by GNU C version 3.3.5 20040721 (prerelease).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
as -mpower4 -maltivec -many -V -Qy -o client.o client.s
GNU assembler version 2.15.90 (ppc-yellowdog-linux) using BFD version 2.15.90
20040221
client.s: Assembler messages:
client.s:1480: Error: can't resolve `L0?' {*ABS* section} - `client' {.bss
section}
client.s:1480: Error: expression too complex
client.s:1481: Error: can't resolve `L0?' {*ABS* section} - `client' {.bss
section}
client.s:1481: Error: expression too complex
The lines 1480/1481 of client.s are:
line 1480: lis 11,-24576-client@ha
line 1481: la 11,-24576-client@l(11)
--
Summary: Assembler error at -O1: can't resolve ..., expression
too complex
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: micis at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-linux-gnu
GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17378
More information about the Gcc-bugs
mailing list