1 |
> Hey, what do I know! |
2 |
> |
3 |
> On x86 maxima doesn't respect LDFLAGS! And I remember talking with David |
4 |
> Kirby on sage-devel that actually ecls doesn't either. |
5 |
> But from the logs from JF, on amd64 the LDFLAGS are duplicated and the |
6 |
> problem is that in the failing call one of them is still in double quotes |
7 |
> which I think is the problem. |
8 |
|
9 |
Just a bit more details on this. From JF's log: |
10 |
;;; Note: |
11 |
;;; Invoking external command: |
12 |
;;; x86_64-pc-linux-gnu-gcc -o "/var/tmp/portage/sci- |
13 |
mathematics/maxima-5.20.1-r3/work/maxima-5.20.1/src/binary-ecl/init-cl.fas" - |
14 |
L"/usr/lib64/" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- |
15 |
r3/temp/ECLINITcTeFmu.o" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- |
16 |
r3/work/maxima-5.20.1/src/binary-ecl/init-cl.o" -shared -Wl,-O1 -Wl,--sort- |
17 |
common -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -lecl -lgmp |
18 |
-lgc -ldl -lm |
19 |
;;; |
20 |
|
21 |
but the failing call ends with: |
22 |
|
23 |
"/var/tmp/portage/sci-mathematics/maxima-5.20.1- |
24 |
r3/work/maxima-5.20.1/src/binary-ecl/init-cl.o" "-Wl,-O1 -Wl,--sort-common - |
25 |
Wl,--as-needed" -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -lecl -lgmp -lgc |
26 |
-ldl -lm |
27 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: |
28 |
unrecognized option '--sort-common -Wl' |
29 |
|
30 |
------------------- |
31 |
in contrast on my x86 system: |
32 |
;;; Note: |
33 |
;;; Invoking external command: |
34 |
;;; i686-pc-linux-gnu-gcc -o "/var/tmp/portage/sci- |
35 |
mathematics/maxima-5.20.1-r3/work/maxima-5.20.1/src/binary-ecl/init-cl.fas" - |
36 |
L"/usr/lib/" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- |
37 |
r3/temp/ECLINITL4BVJx.o" "/var/tmp/portage/sci-mathematics/maxima-5.20.1- |
38 |
r3/work/maxima-5.20.1/src/binary-ecl/init-cl.o" -shared -lecl -lgmp -lgc |
39 |
-ldl -lm |
40 |
|
41 |
No LDFLAGS in the call where JF's build fail either. |
42 |
|
43 |
Francois |