This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cross target report on gcc 3.1-20020423
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: Rekha Deshmukh <RekhaD at kpit dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 29 Apr 2002 09:22:06 -0500
- Subject: Re: cross target report on gcc 3.1-20020423
- Organization: OAR Corporation
- References: <69595093233BB547BB70CF5E492B63F2265FEF@sohm.kpit.com>
- Reply-to: joel dot sherrill at OARcorp dot com
Rekha Deshmukh wrote:
>
> Dear Joel!
>
> As per this report, I came to know that you were able to build the target sh-elf for gcc 3.1,binutis-2.12.
> I am too trying the same build, but is failing for me.
> Can you please tell me the build machine, native gcc configuration you used?
> I tried on RH 6.2 where it gives me the error that the 'gcc is having buggy 64 bit support'. So I tried on the RH 7.2 it goes further this error but fails somewhere in the make.
> Kindly provide the native gcc version you used so that I can upgrade my gcc.
I have used RH 5.2, 6.2 and 7.2 over the years to build this. I install
binutils by itself first to say /opt/crosstools. Put that in your PATH.
Then I untar newlib and gcc and move the libgloss and newlib
subdirectories from newlib-XXX to gcc-XXX. Then configure using the
--enable-newlib option. I use this configure command:
../gcc-to-merge/configure --target=sh-elf --prefix=/opt/gnucross
--with-gnu-as
--with-gnu-ld --with-newlib --verbose
make
make install
It just works. :)
> Thanks & Regards
> Rekha Bhintade
>
> -----Original Message-----
> From: Joel Sherrill [mailto:joel.sherrill@OARcorp.com]
> Sent: Thursday, April 25, 2002 7:22 PM
> To: gcc@gcc.gnu.org
> Subject: cross target report on gcc 3.1-20020423
>
> Hi,
>
> I have done a round of cross target testing for about 38 targets
> and gcc 3.1. PR6445 on the i386 is the single highest priority
> problem (to me) in this list. The hppa ICE bothers me since it
> probably will show up on HP-UX but that is unconfirmed so far.
> And sparc-elf not building is bothersome as well.
>
> Here is the summary.
>
> GCC: gcc 3.1-20020423
> Newlib: CVS
> binutils: 2.12
>
> configure command:
> if *-rtems
> configure --target=arm-rtems --enable-threads=rtems \
> --prefix=/opt/rtems --with-gnu-as --with-gnu-ld --with-newlib
> --verbose else
> configure --target=XXX --prefix=/opt/gnucross --with-gnu-as \
> --with-gnu-ld --with-newlib --verbose
>
> If the target has a simulator in gdb, then my script went ahead and
> ran and reported results to gcc-testresults. I don't have
> DejaGNU GCC testing setup for *-rtems targets and don't have a way
> yet to automatically report build success/failure if there is
> no simulator to run scripts on.
>
> a29k-coff - Fortran requires exact FP representation
> a29k-rtems - Fortran requires exact FP representation
> arc-elf - PR35997 old crtinit/fini problem
> arm-elf - BUILT test results reported
> arm-rtems - BUILT
> avr-elf - failed compiling libobjc/sendmsg.c
> d30v-elf - ICE compiling libstdc++-v3/strstream.c at flow.c:1880
> fr30-elf - g77 requires exact FP representation
> h8300-coff - BUILT test results reported
> h8300-rtems - g77 says "gcc doesn't define all the built in types"
> Why?
> hppa1.1-proelf - newlib/libc/machine/hppa still has .subspa
> - /newlib/libc/stdlib/ldtoa.c:652: ICE in
> propagate_one_insn,
> at flow.c:1615
> - /newlib/libc/stdio/findfp.c:179: ICE in
> propagate_one_insn,
> at flow.c:1615
> hppa1.1-rtems - see hppa1.1-proelf
> i386-elf - BUILT
> i386-rtems - PR6445 failed compiling libobj/sendmsg.c: at
> reg-stack.c:990
> i960-coff - libobjc/encoding.c:887 XFmode undeclared.
> i960-rtems - thr-objc.c
> i960-elf - libgloss/libnosys/write.c section attributes not
> supported.
> m32r-elf - BUILT test results report
> m68k-coff - BUILT
> m68k-elf - BUILT
> m68k-rtems - BUILT
> mcore-elf - ICE at /libstdc++-v3/include/iomanip:146 in
> expr.c:2768
> mips64orion-elf - BUILT test results reported
> mips64orion-rtems - BUILT
> mips-elf - BUILT test results reported
> mips-rtems - BUILT
> mn10200-elf - ICE compiling unwind-sjlj.c:135
> mn10300-elf - BUILT test results reported
> powerpc-eabi - BUILT
> powerpc-rtems - BUILT
> sh-coff - BUILT test results reported
> sh-rtems - BUILT
> sh-elf - BUILT
> sh-rtemself - BUILT
> sparc-elf - boehm-gc/typd_mlc.c: include/private/gcconfig.h:394:
> parse error before -- token
> sparc-rtems - BUILT
> v850-elf - BUILT test results reported
> xscale-elf - BUILT
>
> --
> Joel Sherrill, Ph.D. Director of Research & Development
> joel@OARcorp.com On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985