Hi Khem,

Thanks a lot for your help.

Following your information, I successfully build it out, though didn't
patch it. I just got the latest SVN src code and compile, then it
passes.

Seems that the release of uClibc still has a lot of problems.

2008/10/12 Khem Raj <[EMAIL PROTECTED]>:
> On (10/10/08 15:46), Robert Hoo wrote:
>> Hi,
>>
>> I'm trying to compile uClibc with mipsel toolchain.
>>
>> The attached is my menuconfig result.
>>
>> I observed that it by default uses linuxthreads.old directory.
>> However, it encounters following errors:
>>
>>
>> libc/sysdeps/linux/mips/crt1.S: Assembler messages:
>> libc/sysdeps/linux/mips/crt1.S:134: Warning: No .cprestore pseudo-op
>> used in PIC code
>>   AS lib/crti.o
>>   AS lib/crtn.o
>>   STRIP -x -R .note -R .comment lib/libc.a
>>   AR cr lib/libc.a
>>   STRIP -x -R .note -R .comment lib/uclibc_nonshared.a
>>   AR cr lib/uclibc_nonshared.a
>>   AR cr libc/libc_so.a
>>   LD libuClibc-0.9.29.so
>> libc/libc_so.a(libc_pthread_init.oS): In function `testandset':
>> libc_pthread_init.c:(.text+0x0): multiple definition of `testandset'
>> libc/libc_so.a(forward.oS):forward.c:(.text+0x0): first defined here
>> libc/libc_so.a(libc_pthread_init.oS): In function `__compare_and_swap':
>> libc_pthread_init.c:(.text+0x24): multiple definition of `__compare_and_swap'
>> libc/libc_so.a(forward.oS):forward.c:(.text+0x24): first defined here
>> make[1]: *** [lib/libc.so] Error 1
>>
>>
>> Anyone has ideas about this?
>
> I tried your .config on latest SVN sources and it compiled file for
> mipsel on gcc 4.2. On gcc 4.3 I got warnings which can be fixed by this
> patch. Could you try this patch out and run the tests on mipsel?
> I do not have mips hardware to try it out.
>
> -Khem
>



-- 
Best Regards
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to