1 |
To clarify, building everything except gcc works fine - its gcc itself |
2 |
thats problematic |
3 |
|
4 |
BillK |
5 |
|
6 |
|
7 |
|
8 |
On Thu, 2010-10-07 at 15:52 +0800, William Kenworthy wrote: |
9 |
> In /etc/fstab I have (this is a diskless atom based PXE system): |
10 |
> |
11 |
> shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
12 |
> |
13 |
> tmpfs /tmp tmpfs size=1250M,mode=1777,noatime,auto 0 0 |
14 |
> tmpfs /var/lock tmpfs size=10m,noatime,auto 0 0 |
15 |
> tmpfs /var/run tmpfs size=10m,noatime,auto 0 0 |
16 |
> tmpfs /var/cache/hald tmpfs size=10m,noatime,auto 0 0 |
17 |
> |
18 |
> |
19 |
> and in /etc/conf.d/local.start: |
20 |
> mkdir /tmp/portage |
21 |
> mkdir /tmp/portage/tmp |
22 |
> mkdir /tmp/portage/distfiles |
23 |
> |
24 |
> and it /etc/make.conf |
25 |
> |
26 |
> DISTDIR="/tmp/portage/distfiles" |
27 |
> PORTAGE_TMPDIR='/tmp/portage/tmp' |
28 |
> PORTDIR='/tmp/portage/' |
29 |
> PORTDIR_OVERLAY="/usr/local/portage" |
30 |
> PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/amd64/" |
31 |
> PKGDIR="/tmp/portage/packages/" |
32 |
> |
33 |
> |
34 |
> It works fine except for gcc where with 3G of ram, everything in tmpfs |
35 |
> and swap over nfs works randomly due to running out of ram. |
36 |
> |
37 |
> BillK |
38 |
> |
39 |
> |
40 |
> |
41 |
> |
42 |
> On Thu, 2010-10-07 at 00:55 -0400, Walter Dnes wrote: |
43 |
> > On Tue, Oct 05, 2010 at 11:27:54PM -0400, Walter Dnes wrote |
44 |
> > |
45 |
> > > Looks like I can tweak stuff in the ebuild via "mozconfig_annotate" |
46 |
> > > lines, and then... |
47 |
> > > |
48 |
> > > ebuild firefox-3.6.9.ebuild manifest |
49 |
> > > emerge firefox |
50 |
> > |
51 |
> > Something isn't working. I put in |
52 |
> > mozconfig_annotate '' --disable-pango |
53 |
> > mozconfig_annotate '' --disable-oji --disable-mathml |
54 |
> > |
55 |
> > into the ebuild (a copy in my local overlay) and ebuild-manifested it. |
56 |
> > Portage said it was building from the overlay, but "about:buildconfig" |
57 |
> > shows them as being enabled. I have been able to |
58 |
> > --disable-necko-wifi (WTF is *THAT* in a browser, fercryingoutloud?). |
59 |
> > |
60 |
> > Any ideas? A long time ago, in a place far away, I used to build |
61 |
> > Mozilla 0.9x "the hard way", because the downloadable binary was |
62 |
> > painfully slow on my machine. And later on Phoenix 0.9x (remember |
63 |
> > that?). I've forgotten most of what I learned, but I can follow the |
64 |
> > instructions at https://developer.mozilla.org/En/Simple_Firefox_build |
65 |
> > I have a couple of questions before proceeding... |
66 |
> > 1) what do I have to set to force all files to be installed in /opt or |
67 |
> > in /usr/local ? |
68 |
> > 2) I've got 8 gigs of ram. How do I force the compiler to use /dev/shm |
69 |
> > as the scratch directory ? |
70 |
> > |
71 |
> |
72 |
|
73 |
-- |
74 |
William Kenworthy <billk@×××××××××.au> |
75 |
Home in Perth! |