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: Problem compiling with cross compiler on x86_64


Hi Khem,
         If thats the case then what is the variable/path i need to
set to point it to correct assembler?


On 1/30/06, Khem Raj <khem@mvista.com> wrote:
> Manish Katiyar wrote:
> > Hi friends,
> >       I am compiling a C program using cross compiler built for x86_64
> > machine on a 32 bit SLES machine. I keep on getting these two kind of
> > errors. Please help me in resolving this.
> >
> > cc1: warning: command line option "-nostdinc++" is valid for
> > C++/ObjC++ but not for C
> > /tmp/ccPPyuMd.s: Assembler messages:
> > /tmp/ccPPyuMd.s:55: Error: Incorrect register `%rax' used with `l' suffix
> > /tmp/ccPPyuMd.s:94: Error: Incorrect register `%rdx' used with `l' suffix
> > /tmp/ccPPyuMd.s:451: Error: Incorrect register `%rax' used with `l' suffix
> > /tmp/ccPPyuMd.s:501: Error: Incorrect register `%rax' used with `l' suffix
> >
> It is using the native assembler and not the cross assembler. Check
> which as is being invoked by your cross compiler
> you can do so by specifying -v option to gcc and inspecting the output
> on command line.
> >
> > /blddir/krb514/export/x86_linux_2/usr/lib/64/libkrb5.so: undefined
> > reference to `__ctype_tolower_loc'
> > /blddir/krb514/export/x86_linux_2/usr/lib/64/libkrb5.so: undefined
> > reference to `__ctype_b_loc'
> > /blddir/krb514/export/x86_linux_2/usr/lib/64/libkrb5.so: undefined
> > reference to `__ctype_toupper_loc'
> >
> >
> your libc seems to missing LSB support.
> > Thanks in advance.......
> > --
> > ********************************************
> > Manish Katiyar
> > ***********************************************
> >
> > ------
> > Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
> >
> >
>
>
> --
> Khem Raj <khem@mvista.com>
> MontaVista Software, Inc.
> www.mvista.com
>
>
>


--
Thanks & Regards,
********************************************
Manish Katiyar
Ozone 2, SP Infocity (Software Park),
New Survey #208 Manjari Stud Farms Ltd.,
Phursungi Village, Haveli Taluka, Saswad Road,
Hadapsar, Pune - 412308, India
***********************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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