1 |
I build from the current snapshot a few weeks ago on my own MacBook Pro |
2 |
without problems, however by that time odcctools was still the way to |
3 |
go. |
4 |
|
5 |
I'll create a new snapshot today, with which I've successfully |
6 |
bootstrapped on my iMac G5. If it's not too much efforts, please |
7 |
restart the bootstrap process. You need the following changes: |
8 |
|
9 |
Code Listing 1.3: |
10 |
./bootstrap-prefix.sh $EPREFIX tree -> ./bootstrap-prefix.sh $EPREFIX latest_tree |
11 |
Code Listing 1.8: |
12 |
emerge --oneshot --nodeps odcctools -> emerge --oneshot --nodeps binutils-apple |
13 |
|
14 |
|
15 |
On 17-10-2008 16:15:25 -0700, Logan Bowers wrote: |
16 |
> John, |
17 |
> |
18 |
> Thanks for the info. That solution, however, leads to problem #2. :) I |
19 |
> masked out gcc-apple 4.2, so `emerge gcc-apple` attempts to emerge |
20 |
> sys-devel/gcc-apple-4.0.1_p5488 but that fails with: |
21 |
> |
22 |
> checking for getpagesize... (cached) yes |
23 |
> checking for working mmap... yes |
24 |
> checking for working strncmp... yes |
25 |
> updating cache ./config.cache |
26 |
> configure: creating ./config.status |
27 |
> config.status: creating Makefile |
28 |
> config.status: creating testsuite/Makefile |
29 |
> config.status: creating config.h |
30 |
> config.status: executing default commands |
31 |
> * ERROR: sys-devel/gcc-apple-4.0.1_p5488 failed: |
32 |
> * emake failed |
33 |
> * |
34 |
> * Call stack: |
35 |
> * ebuild.sh: 49: <call src_compile> |
36 |
> * environment:4751: emake bootstrap || die "emake failed" |
37 |
> |
38 |
> It doesn't seem to give any error at all and I have no idea what to do |
39 |
> with that. :/ Does it generate an error log somewhere? |
40 |
> |
41 |
> |
42 |
> Logan Bowers |
43 |
> |
44 |
> On Oct 17, 2008, at 1:59 PM, John Gibson wrote: |
45 |
> |
46 |
>> On Oct 17, 2008, at 4:14 PM, Logan Bowers wrote: |
47 |
>> |
48 |
>>> Hello all, |
49 |
>>> |
50 |
>>> I'm unsuccessfully attempting to boostrap gentoo-alt on my MacBook |
51 |
>>> Pro (CoreDuo, Leopard). I can make it to code listing 1.14 in the |
52 |
>>> instructions |
53 |
>>> (http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml |
54 |
>>> ) before I get the following build error when compiling dev-libs/ |
55 |
>>> mpfr: |
56 |
>>> |
57 |
>>> ld: warning codegen in ___gmpn_popcount (offset 0x00000007) prevents |
58 |
>>> image from loading in dyld shared cache |
59 |
>>> ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) prevents |
60 |
>>> image from loading in dyld shared cache |
61 |
>>> ld: warning codegen in ___gmpn_popcount (offset 0x00000015) prevents |
62 |
>>> image from loading in dyld shared cache |
63 |
>>> ld: absolute addressing (perhaps -mdynamic-no-pic) used in |
64 |
>>> ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in |
65 |
>>> slidable image |
66 |
>>> collect2: ld returned 1 exit status |
67 |
>>> make[1]: *** [libmpfr.la] Error 1 |
68 |
>>> make[1]: Leaving directory `/Volumes/Gentoo/var/tmp/portage/dev- |
69 |
>>> libs/mpfr-2.3.1/work/mpfr-2.3.1' |
70 |
>>> make: *** [all-recursive] Error 1 |
71 |
>>> * ERROR: dev-libs/mpfr-2.3.1 failed: |
72 |
>>> * emake failed |
73 |
>>> * |
74 |
>>> |
75 |
>>> For reference: |
76 |
>>> |
77 |
>>> bash-3.2$ emerge mpfr gmp -pv |
78 |
>>> |
79 |
>>> These are the packages that would be merged, in order: |
80 |
>>> |
81 |
>>> Calculating dependencies... done! |
82 |
>>> [ebuild R ] dev-libs/gmp-4.2.4 USE="-nocxx" 0 kB |
83 |
>>> [ebuild N ] dev-libs/mpfr-2.3.2 0 kB |
84 |
>>> |
85 |
>>> Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB |
86 |
>>> |
87 |
>>> I've tried fiddling with the but CFLAGS in an attempt to get gmp to |
88 |
>>> compile PIC but to no avail. Anyone have some ideas on other things |
89 |
>>> to try? Thanks! |
90 |
>>> |
91 |
>>> Logan Bowers |
92 |
>> |
93 |
>> On my CoreDuo Tiger machine IIRC gmp and mpfr are only required by |
94 |
>> later versions of gcc. You might want to try restricting your version |
95 |
>> of gcc (say with package.mask) to 4.2 or 4.0 instead of the latest |
96 |
>> version. |
97 |
>> |
98 |
>> John |
99 |
>> |
100 |
>> |
101 |
> |
102 |
|
103 |
|
104 |
|
105 |
-- |
106 |
Fabian Groffen |
107 |
Gentoo on a different level |