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