1 |
Elias Pipping wrote: |
2 |
> On Sat, Nov 10, 2007 at 02:57:09PM +0100, Niko wrote: |
3 |
>> Hi, |
4 |
>> |
5 |
>> I've successfully bootstrapped on Leopard but ruby compilation explodes. |
6 |
>> |
7 |
>> i686-apple-darwin9-ar rcu libruby18-static.a array.o bignum.o class.o |
8 |
>> compar.o dir.o dln.o enum.o error.o eval.o file.o gc |
9 |
>> .o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o |
10 |
>> process.o prec.o random.o range.o re.o regex.o r |
11 |
>> uby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o |
12 |
>> version.o dmyext.o |
13 |
>> i686-apple-darwin9-gcc -march=prescott -O2 -pipe -fno-strict-aliasing |
14 |
>> -fno-common -pipe -fno-common -DRUBY_EXPORT -L. |
15 |
>> main.o dmydln.o libruby18-static.a -lpthread -ldl -lobjc -o miniruby |
16 |
>> ruby: [BUG] Segmentation fault |
17 |
>> ruby 1.8.6 (2007-09-24) [i686-darwin9] |
18 |
> |
19 |
> That's disturbing, since it works on my machine: |
20 |
> |
21 |
> % ruby --version |
22 |
> ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9] |
23 |
> |
24 |
> And I just compiled it again -- still works. |
25 |
> |
26 |
|
27 |
And it used to compiled well, with same config, before I upgraded to |
28 |
leopard. |
29 |
|
30 |
> |
31 |
> what's the output of `emerge --info`? |
32 |
|
33 |
Portage 2.2.00.8470-prefix (default-prefix/darwin/macos/10.5/x86, |
34 |
gcc-4.0.1, unavailable, 9.0.0 i386) |
35 |
================================================================= |
36 |
System uname: 9.0.0 i386 i386 |
37 |
Timestamp of tree: Sat, 10 Nov 2007 10:46:25 +0000 |
38 |
distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) |
39 |
(default port 3632) [disabled] |
40 |
app-shells/bash: 3.2_p17-r1 |
41 |
dev-lang/python: 2.5.1-r3 |
42 |
sys-devel/autoconf: 2.13, 2.61-r1 |
43 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 |
44 |
sys-devel/gcc-config: 1.3.16 |
45 |
sys-devel/libtool: 1.5.24 |
46 |
ACCEPT_KEYWORDS="x86-macos ~x86-macos" |
47 |
CBUILD="i686-apple-darwin9" |
48 |
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" |
49 |
CHOST="i686-apple-darwin9" |
50 |
CONFIG_PROTECT="/etc" |
51 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild |
52 |
/etc/terminfo" |
53 |
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" |
54 |
DISTDIR="/Users/niko/Development/Gentoo/usr/portage/distfiles" |
55 |
EPREFIX="/Users/niko/Development/Gentoo" |
56 |
FEATURES="buildpkg collision-protect distlocks fixpackages |
57 |
metadata-transfer nostrip parallel-fetch sfperms strict unmerge-orphans |
58 |
userfetch" |
59 |
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/" |
60 |
LANG="en_US.UTF-8" |
61 |
LC_ALL="en_US.UTF-8" |
62 |
MAKEOPTS="-j3" |
63 |
PKGDIR="/Users/niko/Development/Gentoo/usr/portage/packages" |
64 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
65 |
--compress --force --whole-file --delete --delete-after --stats |
66 |
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages |
67 |
--filter=H_**/files/digest-*" |
68 |
PORTAGE_TMPDIR="/Users/niko/Development/Gentoo/var/tmp" |
69 |
PORTDIR="/Users/niko/Development/Gentoo/usr/portage" |
70 |
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" |
71 |
USE="aqua coreaudio cracklib ithreads midi mmx mmxext ncurses nls objc |
72 |
objc++ perl prefix readline ruby sse sse2 ssl threads unicode x86-macos |
73 |
zlib" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" |
74 |
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb |
75 |
ncurses text" USERLAND="GNU" |
76 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, |
77 |
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
78 |
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
79 |
|
80 |
|
81 |
> |
82 |
> |
83 |
> -- Elias |
84 |
> |
85 |
> PS: if you're on a core 2 duo mac, could you add the following to your |
86 |
> make.conf and try again? |
87 |
> |
88 |
> CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" |
89 |
> CXXFLAGS="${CFLAGS}" |
90 |
> |
91 |
> that's what I have. |
92 |
|
93 |
It's a first generation macbook pro, so it's a core duo (march=prescott) |
94 |
|
95 |
|
96 |
-- |
97 |
gentoo-alt@g.o mailing list |