1 |
On 10/06/2010 03:01:35 AM, François Bissey wrote: |
2 |
>> On 10/05/2010 10:59:20 PM, François Bissey wrote: |
3 |
>> |
4 |
>> Interesting. Invoking |
5 |
>> |
6 |
>> LDFLAGS="-Wl,-01 -Wl,--sort-common -Wl,--as-needed" emerge -1v --nodeps |
7 |
>> maxima |
8 |
>> |
9 |
>> I get, |
10 |
>> |
11 |
>> 32bit chroot: |
12 |
>> |
13 |
>> ;;; Note: |
14 |
>> ;;; Invoking external command: |
15 |
>> ;;; i686-pc-linux-gnu-gcc -o |
16 |
>> "/var/tmp/portage/sci-mathematics/maxima-5.20.1-r3/work/maxima-5.20.1/src/b |
17 |
>> inary-ecl/maxima" |
18 |
>> |
19 |
>> ... a very long line ... |
20 |
>> |
21 |
>> "-Wl,-01 -Wl,--sort-common -Wl,--as-needed" -Wl,-O1 -lecl -lgmp -lgc |
22 |
>> -ldl -lm |
23 |
>> usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: |
24 |
>> unrecognized option '-01 -Wl' |
25 |
>> |
26 |
>> ---------------------- |
27 |
>> amd64: |
28 |
>> ;;; Note: |
29 |
>> ;;; Invoking external command: |
30 |
>> ;;; x86_64-pc-linux-gnu-gcc -o |
31 |
>> "/var/tmp/portage/sci-mathematics/maxima-5.20.1-r3/work/maxima-5.20.1/src/b |
32 |
>> inary-ecl/maxima" |
33 |
>> |
34 |
>> ... a very long line ... |
35 |
>> |
36 |
>> "-Wl,-01 -Wl,--sort-common -Wl,--as-needed" -Wl,-O1 -lecl -lgmp -lgc |
37 |
>> -lpthread -ldl -lm |
38 |
>> ;;; |
39 |
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ |
40 |
>> ld: unrecognized option '-01 -Wl' |
41 |
>> |
42 |
>> So in both cases -Wl,-O1 is appended to the LDFLAGS passed to emerge. |
43 |
>> |
44 |
> |
45 |
> Actually, what does: |
46 |
> ecl-config --libs |
47 |
> ecl-config --ldflags |
48 |
> show? For you and Jean-Francis? |
49 |
> I suspect that the bad argument comes from there. |
50 |
> |
51 |
> Francois |
52 |
> |
53 |
François, |
54 |
|
55 |
I have for |
56 |
ecl-config --ldflags && ecl-config --libs |
57 |
|
58 |
on 32bit |
59 |
|
60 |
-L/usr/lib/ -lecl -Wl,-O1 -ldl -lm |
61 |
-L/usr/lib/ -lecl -Wl,-O1 -ldl -lm |
62 |
|
63 |
and on amd64 |
64 |
|
65 |
-L/usr/lib64/ -lecl -Wl,-O1 -lpthread -ldl -lm |
66 |
-L/usr/lib64/ -lecl -Wl,-O1 -lpthread -ldl -lm |
67 |
|
68 |
Steve |