Gentoo Archives: gentoo-alt

From: Logan Bowers <logan@×××××××××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Problems building mpfr during boostrap on OSX
Date: Fri, 17 Oct 2008 20:14:50
Message-Id: C86FAAE4-8592-467A-B267-5925A97F296A@datacurrent.com
1 Hello all,
2
3 I'm unsuccessfully attempting to boostrap gentoo-alt on my MacBook Pro
4 (CoreDuo, Leopard). I can make it to code listing 1.14 in the
5 instructions (http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml
6 ) before I get the following build error when compiling dev-libs/mpfr:
7
8 ld: warning codegen in ___gmpn_popcount (offset 0x00000007) prevents
9 image from loading in dyld shared cache
10 ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) prevents
11 image from loading in dyld shared cache
12 ld: warning codegen in ___gmpn_popcount (offset 0x00000015) prevents
13 image from loading in dyld shared cache
14 ld: absolute addressing (perhaps -mdynamic-no-pic) used in
15 ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in
16 slidable image
17 collect2: ld returned 1 exit status
18 make[1]: *** [libmpfr.la] Error 1
19 make[1]: Leaving directory `/Volumes/Gentoo/var/tmp/portage/dev-libs/
20 mpfr-2.3.1/work/mpfr-2.3.1'
21 make: *** [all-recursive] Error 1
22 * ERROR: dev-libs/mpfr-2.3.1 failed:
23 * emake failed
24 *
25
26 For reference:
27
28 bash-3.2$ emerge mpfr gmp -pv
29
30 These are the packages that would be merged, in order:
31
32 Calculating dependencies... done!
33 [ebuild R ] dev-libs/gmp-4.2.4 USE="-nocxx" 0 kB
34 [ebuild N ] dev-libs/mpfr-2.3.2 0 kB
35
36 Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB
37
38 I've tried fiddling with the but CFLAGS in an attempt to get gmp to
39 compile PIC but to no avail. Anyone have some ideas on other things
40 to try? Thanks!
41
42 Logan Bowers

Attachments

File name MIME type
smime.p7s application/pkcs7-signature

Replies

Subject Author
Re: [gentoo-alt] Problems building mpfr during boostrap on OSX John Gibson <jgibson@×××××.org>