This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unrecognizable-insn.patch for gcc-3.4.x

Nagaraja wrote:
Thanks for your reply, Actually I got Xscale toolchain build using crosstool-0.32 (binutils-, 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 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 \
-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

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]