unrecognizable-insn.patch for gcc-3.4.x
Dan Kegel
dank@kegel.com
Fri May 20 05:45:00 GMT 2005
Nagaraja wrote:
> Thanks for your reply, Actually I got Xscale toolchain build using
> crosstool-0.32 (binutils-2.15.91.0.2, gcc-343,glibc-235 with kernel
> header 2.6.8) . I compiled libpng,libjpeg,libtiff,zlib,termcap
> successfuly ,but while compiling xfree86-4.5.0 it stops with error .....
>
> /opt/EncorePxa-tools/bin/`echo gcc|sed "s%.*/%%"` -O3
> -fno-strict-aliasing -fsigned-char -I. -I../../exports/include
> -I../../exports/include -I../../exports/include/freetype2
> -I../../exports/include/X11 -I../.. -I../../exports/include -Dlinux
> -D__arm__ -D__arm32__ -U__arm -Uarm
> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
> -D_XOPEN_SOURCE -D_BSD_SOURCE
> -D_SVID_SOURCE -D_GNU_SOURCE
> -DFUNCPROTO=15 -DNARROWPROTO -DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS
> -DOPT_LUIT_PROG -DXRENDERFONT -DXFREE86_FT2
> -DPROJECTROOT=/usr/X11R6 -c -o fontutils.o fontutils.c
> fontutils.c: In function `SetVTFont':
> fontutils.c:2091: internal compiler error: in verify_local_live_at_start, at flow.c:546 ...
>
> But I am able to compile xfree86-4.4.0 using the same toolchain, Will
> you please mail me How do I go about it.
First off, please submit a bug report to http://gcc.gnu.org/bugs.html
as the compiler error requests. It's important to include preprocessed
source. To get that, give the same gcc command as before, but with -E
instead of -c. To be precise, the following commands should do it:
cd /home/nags/toolchain/toolchain-libs/build/xc/programs/xterm
/opt/EncorePxa-tools/bin/gcc \
-I. -I../../exports/include \
-I../../exports/include -I../../exports/include/freetype2 \
-I../../exports/include/X11 -I../.. -I../../exports/include -Dlinux \
-D__arm__ -D__arm32__ -U__arm -Uarm \
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE \
-D_XOPEN_SOURCE -D_BSD_SOURCE \
-D_SVID_SOURCE -D_GNU_SOURCE \
-DFUNCPROTO=15 -DNARROWPROTO -DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS \
-DOPT_LUIT_PROG -DXRENDERFONT -DXFREE86_FT2 \
-DPROJECTROOT=/usr/X11R6 -E -o ~/fontutils.i fontutils.c
Then verify that the .i file reproduces the crash with the command
/opt/EncorePxa-tools/bin/gcc -O3 -fno-strict-aliasing -fsigned-char ~/fontutils.i
If it does, great, you've bottled the problem up for analysis!
Compress it with
gzip fontutils.i
and attach the file fontutils.i.gz to the bug report.
Once you've done that, I can help you further.
- Dan
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list