1 |
On 12-11-2007 22:54:29 +0100, Elias Pipping wrote: |
2 |
> On Mon, Nov 12, 2007 at 10:06:33PM +0100, Fabian Groffen wrote: |
3 |
> > In short, this is the problem: |
4 |
> > |
5 |
> > % ld -v |
6 |
> > @(#)PROGRAM:ld PROJECT:ld64- |
7 |
> > Library search paths: |
8 |
> > /Library/Gentoo/usr/lib/gcc/powerpc-apple-darwin8/4.0.1 |
9 |
> > /Library/Gentoo/usr/powerpc-apple-darwin8/lib |
10 |
> > /Library/Gentoo/usr/lib |
11 |
> > /Library/Gentoo/lib |
12 |
> > /usr/lib |
13 |
> > /usr/local/lib |
14 |
> > Framework search paths: |
15 |
> > /Library/Frameworks/ |
16 |
> > /System/Library/Frameworks/ |
17 |
> > /Network/Library/Frameworks/ |
18 |
> > ld: warning -arch not specified |
19 |
> > Bus error |
20 |
> |
21 |
> this is what happens on x86-macos (note the last line): |
22 |
> |
23 |
> % ld -v |
24 |
> @(#)PROGRAM:ld PROJECT:ld64- |
25 |
> Library search paths: |
26 |
> /gentoo/usr/lib/gcc/i686-apple-darwin9/4.0.1 |
27 |
> /gentoo/usr/i686-apple-darwin9/lib |
28 |
> /gentoo/usr/lib |
29 |
> /gentoo/lib |
30 |
> /usr/lib |
31 |
> /usr/local/lib |
32 |
> Framework search paths: |
33 |
> /Library/Frameworks/ |
34 |
> /System/Library/Frameworks/ |
35 |
> /Network/Library/Frameworks/ |
36 |
> ld: warning -arch not specified |
37 |
> ld: no object files specified for inferred architecture i386 |
38 |
> |
39 |
> (no error) |
40 |
|
41 |
Hmmm... ok. I suspect gcc-apple here. Maybe the Leopard gcc isn't too |
42 |
good for Tiger machines. I will restore a binary, and see if the |
43 |
problem goes away. |
44 |
|
45 |
> btw: the exit status differs from `/usr/bin/ld`'s: |
46 |
> |
47 |
> % /usr/bin/ld -v 2>/dev/null; echo $? |
48 |
> 0 |
49 |
> % /usr/bin/ld 2>/dev/null; echo $? |
50 |
> 1 |
51 |
> % ld -v 2>/dev/null; echo $? |
52 |
> 1 |
53 |
> % ld 2>/dev/null; echo $? |
54 |
> 1 |
55 |
|
56 |
I suspect this may have to do with the wrapper. Try |
57 |
`binutils-config --get-bin-path`/ld -v 2>/dev/null; echo $? |
58 |
that probably gives 0 as well (I hope) |
59 |
|
60 |
Thanks for trying. |
61 |
|
62 |
|
63 |
|
64 |
-- |
65 |
Fabian Groffen |
66 |
Gentoo on a different level |
67 |
-- |
68 |
gentoo-alt@g.o mailing list |