public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball?
@ 2002-05-22 21:35 Casey Cain
  2002-05-23 22:52 ` John White
  2002-05-23 23:10 ` Matthew Kennedy
  0 siblings, 2 replies; 7+ messages in thread
From: Casey Cain @ 2002-05-22 21:35 UTC (permalink / raw
  To: gentoo-dev

Hey,

I finally bootstrapped gcc3.1 with:
perl-5.6.1-r4 (unmasked)
texinfo (unmasked)
binutils-2.12 
CFLAGS='-march=i686 -O2 -pipe'
kernel 2.4.16 (gentoo kernel from last fall -- not as heavily patched)
in a VMware box
and all went well..thanks Spider for the info!

Can someone tell me the steps to make a proper stage2-xxx.tbz2
tarball? I want to keep it so I don't have to 
rebootstrap when testing stuff.

Oh yea, if anyone wants it just give me an anon ftp to post it. 
(saves a lot of time!)
Thanks,

Casey
PS Currently merging system..hope to have it done later tonight


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball?
  2002-05-22 21:35 [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball? Casey Cain
@ 2002-05-23 22:52 ` John White
  2002-05-23 23:10 ` Matthew Kennedy
  1 sibling, 0 replies; 7+ messages in thread
From: John White @ 2002-05-23 22:52 UTC (permalink / raw
  To: gentoo-dev

On Wed, May 22, 2002 at 02:35:31PM -0700, Casey Cain wrote:
> I finally bootstrapped gcc3.1 with:
> perl-5.6.1-r4 (unmasked)
> texinfo (unmasked)
> binutils-2.12 
> CFLAGS='-march=i686 -O2 -pipe'
> kernel 2.4.16 (gentoo kernel from last fall -- not as heavily patched)
> in a VMware box
> and all went well..thanks Spider for the info!
> 
> Can someone tell me the steps to make a proper stage2-xxx.tbz2
> tarball? I want to keep it so I don't have to 
> rebootstrap when testing stuff.
 
I don't think there are formal docs to do this, but here's what I did:

Follow /README.maintainers to about line 107, or right before it
says "Now unchroot and tar up your new build image."

At that point, I actually chroot into the build image and run through
the steps to get me to stage 2 or 3 (from the Installation doc), then
unchroot and tar up the image.

-- 
John White


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball?
  2002-05-22 21:35 [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball? Casey Cain
  2002-05-23 22:52 ` John White
@ 2002-05-23 23:10 ` Matthew Kennedy
  2002-05-23 23:48   ` Casey Cain
  1 sibling, 1 reply; 7+ messages in thread
From: Matthew Kennedy @ 2002-05-23 23:10 UTC (permalink / raw
  To: gentoo-dev

Hello,

Were you able to emerge xfree after bootstrapping with gcc3.1 by any
chance?

Matt

On Wed, 2002-05-22 at 16:35, Casey Cain wrote:
> Hey,
> 
> I finally bootstrapped gcc3.1 with:

-- 
Matthew Kennedy
Gentoo Linux Developer



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball?
  2002-05-23 23:10 ` Matthew Kennedy
@ 2002-05-23 23:48   ` Casey Cain
  2002-05-24  5:06     ` Matthew Kennedy
  0 siblings, 1 reply; 7+ messages in thread
From: Casey Cain @ 2002-05-23 23:48 UTC (permalink / raw
  To: gentoo-dev

On 05 02, 18:10, Matthew Kennedy wrote:
> Hello,
> 
> Were you able to emerge xfree after bootstrapping with gcc3.1 by any
> chance?

No. It kept crapping out at the very very end trying to build something
in Mesa..
I tried like 5 times..different things..such as taking the -D_USE-3DNOW,
changing -march=i686 to -march-i386..but it always failed.  I checked
Cooker's Xfree-4.2 SRPMS, AFAIK, Cooker is totally compiled with gcc3.1
but they have about 20+ patches, but nothing that I can find to do with
either gcc3.1, or Mesa. 
I took a screenshot of where it failed..not much help I know..
http://members.shaw.ca/cjv99/gcc31-error.png

But...I eventually went into the dir an compiled the file with 
gcc -c gamma_inithw.c -o gamma_inithw.o (which basically makes an empty
object file because it needs the #defines..so it compiled. I then went
back and ran make in the work dir and it built and installed and
everything. THEN I DID SOMETHING DUMB.  I was doing this in Vmware, so I
was keeping various copies of virtual disc. Anyways, before I tried to
use portage to install it, I went and copied the virtual disc to a a
new location, however I screwed up and overwrote this disc with an older
one!!!  Anyways, I have a midterm today so I cannot work on it..I
should be studying now..ha..

I suppose if we can rip Mesa out..it will build..but that's not a
solution, just a quick hack.

bootstrapped with..gcc3.1, perl-5.6.1-r4, binutils-2.12, had to use an
older ncurses but other than that it went pretty smoothly.


Casey


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball?
  2002-05-23 23:48   ` Casey Cain
@ 2002-05-24  5:06     ` Matthew Kennedy
  2002-05-24  5:39       ` Casey Cain
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Kennedy @ 2002-05-24  5:06 UTC (permalink / raw
  To: gentoo-dev

On Thu, 2002-05-23 at 18:48, Casey Cain wrote:
> But...I eventually went into the dir an compiled the file with 
> gcc -c gamma_inithw.c -o gamma_inithw.o (which basically makes an empty
> object file because it needs the #defines..so it compiled. I then went
> back and ran make in the work dir and it built and installed and
> everything. THEN I DID SOMETHING DUMB.  I was doing this in Vmware, so I
> was keeping various copies of virtual disc. Anyways, before I tried to
> use portage to install it, I went and copied the virtual disc to a a
> new location, however I screwed up and overwrote this disc with an older
> one!!!  Anyways, I have a midterm today so I cannot work on it..I
> should be studying now..ha..
> 
> I suppose if we can rip Mesa out..it will build..but that's not a
> solution, just a quick hack.
> 
> bootstrapped with..gcc3.1, perl-5.6.1-r4, binutils-2.12, had to use an
> older ncurses but other than that it went pretty smoothly.

Okay... 

XFree86-4.2-r10 (and even -r9) *will* build under gcc3.1 for me but
there appears to be a problem using emerge to do it. Here's what I did:

  ebuild /usr/portage/x11-base/xfree-4.2.0-r10.ebuild unpack
  cd /var/tmp/portage/..../xfree-4.2.0-r10/xc
  make World
  cd nls && make (if you want nls)
  cd /
  ebuild /usr/portage/x11-base/xfree-4.2.0-r10.ebuild install qmerge
 
Success. I don't have 3dfx h/w so ymmv. I haven't looked into mesa. I've
got nvidia h/w so afaik, i don't need it.

I've started a bug on this topic:
http://bugs.gentoo.org/show_bug.cgi?id=2979

Feel free to add wiki.

Matt

-- 
Matthew Kennedy
Gentoo Linux Developer



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball?
  2002-05-24  5:06     ` Matthew Kennedy
@ 2002-05-24  5:39       ` Casey Cain
  2002-05-24  7:30         ` Matthew Kennedy
  0 siblings, 1 reply; 7+ messages in thread
From: Casey Cain @ 2002-05-24  5:39 UTC (permalink / raw
  To: gentoo-dev

On 05 02, 00:06, Matthew Kennedy wrote:
 Okay... 
> 
> XFree86-4.2-r10 (and even -r9) *will* build under gcc3.1 for me but
> there appears to be a problem using emerge to do it. Here's what I did:
-snip-
> Success. I don't have 3dfx h/w so ymmv. I haven't looked into mesa. I've
> got nvidia h/w so afaik, i don't need it.

OK. I have a Radeon DDR for real, and in VMWare I don't know but
truthfully it doesn't matter as I don't plan to use any sort of graphics
accel. How did you get X to build?  
I even tried on a crappy celeron 533 w/RageFury and it failed in the 
same place. 
My USE settings are default profiles/default-gcc3.0..nothing of 3dfx
mentioned..am I doing something wrong?

Here is what I did..May 22 rsync:
-bootstrap with gentoo 2.4.16 (pre4?) its from last fall anyways
-unmask gcc3.1 and texinfo
-scripts/bootstrap.sh
..an hour later..
-emerge system
-breaks on ncurses..ebuild/merge old ncurses
-continue emerge system
-emerge xfree
BREAKS every time..and my Athlon this takes approx. 3hrs

Any ideas?
Thanks

Casey


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball?
  2002-05-24  5:39       ` Casey Cain
@ 2002-05-24  7:30         ` Matthew Kennedy
  0 siblings, 0 replies; 7+ messages in thread
From: Matthew Kennedy @ 2002-05-24  7:30 UTC (permalink / raw
  To: gentoo-dev

On Fri, 2002-05-24 at 00:39, Casey Cain wrote:
> -emerge xfree
> BREAKS every time..and my Athlon this takes approx. 3hrs

How about my ebuild work-around for xfree?

-- 
Matthew Kennedy
Gentoo Linux Developer



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-05-24  7:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-22 21:35 [gentoo-dev] gcc3.1 -- how build stage2-*.tbz2 tarball? Casey Cain
2002-05-23 22:52 ` John White
2002-05-23 23:10 ` Matthew Kennedy
2002-05-23 23:48   ` Casey Cain
2002-05-24  5:06     ` Matthew Kennedy
2002-05-24  5:39       ` Casey Cain
2002-05-24  7:30         ` Matthew Kennedy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox