This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/20985] New: building mips/64 cross compiler on x86 produces incorrect assembler code for _divdi3 with -fnon-call-exceptions
- From: "herbert at 13thfloor dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Apr 2005 05:22:07 -0000
- Subject: [Bug bootstrap/20985] New: building mips/64 cross compiler on x86 produces incorrect assembler code for _divdi3 with -fnon-call-exceptions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
./configure --enable-languages=c --disable-nls --disable-threads
--disable-shared --disable-checking --prefix=/usr --target=mips-linux
make TARGET_LIBGCC2_CFLAGS='-Dinhibit_libc -D__gthr_posix_h'
results in ...
/gcc-3.3.5/gcc/xgcc -B/gcc-3.3.5/gcc/ -B/usr/mips-linux/bin/
-B/usr/mips-linux/lib/ -isystem /usr/mips-linux/include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -fPIC -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config
-I./../include -DL_divdi3 -c ./libgcc2.c -fexceptions -fnon-call-exceptions -o
libgcc/./_divdi3.o
/root/tmp/ccI71cbx.s: Assembler messages:
/root/tmp/ccI71cbx.s:956: Error: operation combines symbols in different segments
955 .4byte $LASFDE1-$Lframe1
956 .4byte $LFB4-.
957 .4byte $LFE4-$LFB4
(removing the '-.' in that line *G* makes it work with gas 2.15.94.0.2.2)
--
Summary: building mips/64 cross compiler on x86 produces
incorrect assembler code for _divdi3 with -fnon-call-
exceptions
Product: gcc
Version: 3.3.5
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: herbert at 13thfloor dot at
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mips-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20985