1 |
Jean-Claude Gervais wrote: |
2 |
> Thank you, Pal! |
3 |
> |
4 |
> That did indeed help; by putting an empty file at |
5 |
> |
6 |
> /usr/arm-softfloat-linux-uclibc/usr/include/asm/page.h |
7 |
> |
8 |
> I was able to compile, however, now the link fails. |
9 |
> |
10 |
> I think it might be something to do with my USE flags? |
11 |
> |
12 |
> Anyone know? |
13 |
> |
14 |
> [...] |
15 |
> rm -f libc.a shared_libc.a |
16 |
> objs=`cat obj.*` ; \ |
17 |
> arm-softfloat-linux-uclibc-ar cr libc.a $objs && \ |
18 |
> arm-softfloat-linux-uclibc-ar dN 2 libc.a $objs && \ |
19 |
> arm-softfloat-linux-uclibc-ar dN 2 libc.a $objs |
20 |
> arm-softfloat-linux-uclibc-ar cr libc.a obj.signal |
21 |
> arm-softfloat-linux-uclibc-ar cr libc.a obj.string.generic |
22 |
> arm-softfloat-linux-uclibc-ar cr libc.a obj.string.arm |
23 |
> arm-softfloat-linux-uclibc-ar cr libc.a obj.string |
24 |
> arm-softfloat-linux-uclibc-ar cr libc.a obj.sysdeps.common |
25 |
> arm-softfloat-linux-uclibc-ar cr libc.a obj.sysdeps.arm |
26 |
> cp libc.a shared_libc.a |
27 |
> arm-softfloat-linux-uclibc-ranlib libc.a |
28 |
> arm-softfloat-linux-uclibc-ld -EL -shared --warn-common --warn-once -z |
29 |
> combreloc -z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so |
30 |
> \ |
31 |
> --whole-archive shared_libc.a \ |
32 |
> ../libc/misc/internals/interp.o --no-whole-archive \ |
33 |
> -init |
34 |
> __uClibc_init ../lib/ld-uClibc.so.0 /usr/lib/gcc/arm-softfloat-linux-uclibc/4.1.2/libgcc.a |
35 |
> ../lib/ld-uClibc.so.0: warning: multiple common of `__libc_stack_end' |
36 |
> shared_libc.a(__uClibc_main.o): warning: previous common is here |
37 |
> arm-softfloat-linux-uclibc-ld: |
38 |
> ERROR: /usr/lib/gcc/arm-softfloat-linux-uclibc/4.1.2/libgcc.a(_udivsi3.o) uses VFP instructions, whereas libuClibc-0.9.28.so does not |
39 |
> arm-softfloat-linux-uclibc-ld: failed to merge target specific data of |
40 |
> file /usr/lib/gcc/arm-softfloat-linux-uclibc/4.1.2/libgcc.a(_udivsi3.o) |
41 |
> arm-softfloat-linux-uclibc-ld: |
42 |
|
43 |
I've had success with the following: |
44 |
|
45 |
binutils-2.17 |
46 |
gcc-3.4.6-r2 |
47 |
linux-headers-2.6.19.2-r2 |
48 |
uclibc-0.9.28.3 |
49 |
|
50 |
At the least, you probably want to step down to gcc-3.4.6 |
51 |
|
52 |
hth, |
53 |
|
54 |
Jason. |
55 |
-- |
56 |
gentoo-embedded@g.o mailing list |