Gentoo Archives: gentoo-alt

From: Elias Pipping <pipping@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] [Darwin] odcctools trouble...
Date: Mon, 12 Nov 2007 21:55:06
Message-Id: 20071112215428.GA18260@macbook.local
In Reply to: [gentoo-alt] [PREFIX] [Darwin] odcctools trouble... by Fabian Groffen
1 On Mon, Nov 12, 2007 at 10:06:33PM +0100, Fabian Groffen wrote:
2 > In short, this is the problem:
3 >
4 > % ld -v
5 > @(#)PROGRAM:ld PROJECT:ld64-
6 > Library search paths:
7 > /Library/Gentoo/usr/lib/gcc/powerpc-apple-darwin8/4.0.1
8 > /Library/Gentoo/usr/powerpc-apple-darwin8/lib
9 > /Library/Gentoo/usr/lib
10 > /Library/Gentoo/lib
11 > /usr/lib
12 > /usr/local/lib
13 > Framework search paths:
14 > /Library/Frameworks/
15 > /System/Library/Frameworks/
16 > /Network/Library/Frameworks/
17 > ld: warning -arch not specified
18 > Bus error
19
20 this is what happens on x86-macos (note the last line):
21
22 % ld -v
23 @(#)PROGRAM:ld PROJECT:ld64-
24 Library search paths:
25 /gentoo/usr/lib/gcc/i686-apple-darwin9/4.0.1
26 /gentoo/usr/i686-apple-darwin9/lib
27 /gentoo/usr/lib
28 /gentoo/lib
29 /usr/lib
30 /usr/local/lib
31 Framework search paths:
32 /Library/Frameworks/
33 /System/Library/Frameworks/
34 /Network/Library/Frameworks/
35 ld: warning -arch not specified
36 ld: no object files specified for inferred architecture i386
37
38 (no error)
39
40 btw: the exit status differs from `/usr/bin/ld`'s:
41
42 % /usr/bin/ld -v 2>/dev/null; echo $?
43 0
44 % /usr/bin/ld 2>/dev/null; echo $?
45 1
46 % ld -v 2>/dev/null; echo $?
47 1
48 % ld 2>/dev/null; echo $?
49 1
50
51 -- Elias

Replies

Subject Author
Re: [gentoo-alt] [PREFIX] [Darwin] odcctools trouble... Fabian Groffen <grobian@g.o>