1 |
On Oct 17, 2008, at 4:14 PM, Logan Bowers wrote: |
2 |
|
3 |
> Hello all, |
4 |
> |
5 |
> I'm unsuccessfully attempting to boostrap gentoo-alt on my MacBook |
6 |
> Pro (CoreDuo, Leopard). I can make it to code listing 1.14 in the |
7 |
> instructions (http://www.gentoo.org/proj/en/gentoo-alt/prefix/ |
8 |
> bootstrap-macos.xml) before I get the following build error when |
9 |
> compiling dev-libs/mpfr: |
10 |
> |
11 |
> ld: warning codegen in ___gmpn_popcount (offset 0x00000007) |
12 |
> prevents image from loading in dyld shared cache |
13 |
> ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) |
14 |
> prevents image from loading in dyld shared cache |
15 |
> ld: warning codegen in ___gmpn_popcount (offset 0x00000015) |
16 |
> prevents image from loading in dyld shared cache |
17 |
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in |
18 |
> ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in |
19 |
> slidable image |
20 |
> collect2: ld returned 1 exit status |
21 |
> make[1]: *** [libmpfr.la] Error 1 |
22 |
> make[1]: Leaving directory `/Volumes/Gentoo/var/tmp/portage/dev- |
23 |
> libs/mpfr-2.3.1/work/mpfr-2.3.1' |
24 |
> make: *** [all-recursive] Error 1 |
25 |
> * ERROR: dev-libs/mpfr-2.3.1 failed: |
26 |
> * emake failed |
27 |
> * |
28 |
> |
29 |
> For reference: |
30 |
> |
31 |
> bash-3.2$ emerge mpfr gmp -pv |
32 |
> |
33 |
> These are the packages that would be merged, in order: |
34 |
> |
35 |
> Calculating dependencies... done! |
36 |
> [ebuild R ] dev-libs/gmp-4.2.4 USE="-nocxx" 0 kB |
37 |
> [ebuild N ] dev-libs/mpfr-2.3.2 0 kB |
38 |
> |
39 |
> Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB |
40 |
> |
41 |
> I've tried fiddling with the but CFLAGS in an attempt to get gmp to |
42 |
> compile PIC but to no avail. Anyone have some ideas on other |
43 |
> things to try? Thanks! |
44 |
> |
45 |
> Logan Bowers |
46 |
|
47 |
On my CoreDuo Tiger machine IIRC gmp and mpfr are only required by |
48 |
later versions of gcc. You might want to try restricting your |
49 |
version of gcc (say with package.mask) to 4.2 or 4.0 instead of the |
50 |
latest version. |
51 |
|
52 |
John |