This is the mail archive of the crossgcc@sourceware.org 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: gcc-4.3.2 cross build error


Dear Vivek,

Thanks for the reply. We are porting the gcc-4.3.2 into the new DSP target
having ARM 11 core.

The configure options are

$ ../gcc-4.3.2/configure --target=dsp --prefix=/opt/test
--enable-languages=c --disable-shared --disable-thread --disable-nls

Moreover, we have couple of targets having little variation in dsp core.
so we need to have multilib as well.

we are suppose to use newlibc to link with gcc-4.3.2. but why glibc us
used in the below ?. Anything need to change in building procedure ?

Thanks and Regards
Raja Saleru





> I have also tried Multilib, but I too was getting lot of errors in
> compilation.  See if you are tring to reduce the size of uClibc or
> glibc, u can un-check as many option as you can, basically reduce the
> functionality.
> So it will reduce the size.
>
> Or is there any other motive for multilib.
> Which ARM and libc r u trying?
>
>
> Regards
> Vivek
>
> -----Original Message-----
> From: crossgcc-owner@sourceware.org
> [mailto:crossgcc-owner@sourceware.org] On Behalf Of
> raja.saleru@iap-online.com
> Sent: Monday, December 15, 2008 7:22 AM
> To: crossgcc@sourceware.org
> Subject: gcc-4.3.2 cross build error
>
> Hi, I am cross compiling the gcc-4.3.2 for arm based dsp target.
> while building, the following error occurs.
>
> Please help us how to proceed further.
>
> Checking multilib configuration for libgcc...
> Configuring in dsp/libgcc
> ..................................
> checking for suffix of object files... configure: error: cannot compute
> suffix of object files: cannot compile
> See `config.log' for more details.
> make[1]: *** [configure-target-libgcc] Error 1
> make[1]: Leaving directory `/obj'
> make: *** [all] Error 2
>
> The config log contain the following error:
>
> configure:2398: /obj/./gcc/xgcc -B/obj/./gcc/ -B/opt/test/dsp/bin/
> -B/opt/test/dsp/lib/ -isystem /opt/test/dsp/include -isystem
> /opt/test/dsp/sys-include -o conftest -O2   conftest.c  >&5
> conftest.c:1: internal compiler error: in default_secondary_reload, at
> targhooks.c:618
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
> Thanks and Regards
> Raja Saleru
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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