Gentoo Archives: gentoo-alt

From: matt <mattmatteh@×××××××××.net>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] odcctools-20070629 fails to compile during bootstrap on ibook
Date: Thu, 13 Sep 2007 20:34:17
Message-Id: 20070913152527.73e72051@thing.home
In Reply to: Re: [gentoo-alt] odcctools-20070629 fails to compile during bootstrap on ibook by Elias Pipping
1 it seems that i am outdated :(
2
3 gcc build is 5250 and xcode versions is 2.2.1
4
5 doesnt look like that gets updated with software update. how do i
6 update that ?
7
8 thanks
9
10 matt
11
12 On Sat, 8 Sep 2007 11:33:44 +0200
13 Elias Pipping <pipping@××××××××××××.de> wrote:
14
15 > On Sat, Sep 08, 2007 at 12:58:04AM -0500, matt wrote:
16 > > how do i determine what version of xocde i have installed ? and
17 > > what is the lastest version ?
18 > >
19 > > also, i am on ppc, why where there be code with x86 in it ?
20 >
21 > that's the odcctools, an opendarwin wrapper around the cctools, which
22 > is basically binutils-for-mac. they handle mach-o binaries which can
23 > contain ppc, ppc64, i386/i686 and/or x86_64 code (arm, too, due to
24 > the iphone, i think).
25 >
26 > the important part about xcode is actually the version of gcc that
27 > comes with it. `/usr/bin/gcc-4.0 --version | head -n1` should give
28 > you the important info:
29 >
30 > i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.
31 > build XXXX)
32 >
33 > the XXXX should be greater or equal to 5367.
34 >
35 > for xcode's version, do this:
36 >
37 > % grep -A1 CFBundleShortVersionString \
38 > /Developer/Applications/Xcode.app/Contents/version.plist
39 >
40 > you should get
41 >
42 > <key>CFBundleShortVersionString</key>
43 > <string>YYY</string>
44 >
45 > with YYY equal to 2.4.1 or later
46 >
47 >
48 > -- Elias
49 >
50 > >
51 > > matt
52 > >
53 > > On Thu, 6 Sep 2007 10:22:10 +0200
54 > > Fabian Groffen <grobian@g.o> wrote:
55 > >
56 > > > This looks like an outdated Xcode installation.
57 > > >
58 > > > On 05-09-2007 14:55:37 -0500, matt wrote:
59 > > > > make[1]: Leaving directory
60 > > > > `/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld'
61 > > > > cd ld64 && make make[1]: Entering directory
62 > > > > `/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld64'
63 > > > > g++ -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DDEBUG
64 > > > > -I/Users/matt/gentoo/usr/include -I. -I. -I./src -I../include
65 > > > > -I../include -g -O2 -fno-builtin-round -fno-builtin-trunc
66 > > > > -no-cpp-precomp -g -O2 -mdynamic-no-pic -c -o
67 > > > > ld.o ./src/ld.cpp ./src/MachOWriterExecutable.hpp: In member
68 > > > > function 'uint64_t
69 > > > > mach_o::executable::ThreadsLoadCommandsAtom<A>::getSize() const
70 > > > > [with A = x86_64]': ./src/MachOWriterExecutable.hpp:4644: error:
71 > > > > 'x86_THREAD_STATE64_COUNT' was not declared in this
72 > > > > scope ./src/MachOWriterExecutable.hpp: In member function 'void
73 > > > > mach_o::executable::ThreadsLoadCommandsAtom<A>::copyRawContent(uint8_t*)
74 > > > > const [with A = x86_64]': ./src/MachOWriterExecutable.hpp:4706:
75 > > > > error: 'x86_THREAD_STATE64' was not declared in this
76 > > > > scope ./src/MachOWriterExecutable.hpp:4707: error:
77 > > > > 'x86_THREAD_STATE64_COUNT' was not declared in this scope
78 > > > > make[1]: *** [ld.o] Error 1 make[1]: Leaving directory
79 > > > > `/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld64'
80 > > > > make: *** [ld64] Error 2
81 > > > > *
82 > > > > * ERROR: sys-devel/odcctools-20070629 failed.
83 > > > > * Call stack:
84 > > > > * ebuild.sh, line 1592: Called dyn_compile
85 > > > > * ebuild.sh, line 928: Called qa_call 'src_compile'
86 > > > > * ebuild.sh, line 44: Called src_compile
87 > > > > * odcctools-20070629.ebuild, line 40: Called die
88 > > > > *
89 > > > > * emake failed
90 > > > > * If you need support, post the topmost build error, and the
91 > > > > call stack if relevant.
92 > > > > * A complete build log is located at
93 > > > > '/Users/matt/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/temp/build.log'.
94 > > > > *
95 > > > > fibook:~/gentoo/var/tmp/portage matt$
96 > > > >
97 > > > >
98 > > > > any suggestion ?
99 > > > >
100 > > > > matt
101 > > > > --
102 > > > > gentoo-alt@g.o mailing list
103 > > > >
104 > > >
105 > > --
106 > > gentoo-alt@g.o mailing list
107 > >
108 --
109 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] odcctools-20070629 fails to compile during bootstrap on ibook Matt Michalowski <me@××××××××.au>