Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
anybody tried the gentoo - gcc1 iso yet?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Mon Jun 03, 2002 1:36 pm    Post subject: anybody tried the gentoo - gcc1 iso yet? Reply with quote

Hi guys,

just fell over this:

http://www.ibiblio.org/gentoo/releases/build/1.3_gcc3.1_test/

a gentoo 3.1 test image.. anybody tried it?

I'm gonna try to install it under a chroot environment soon..
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
craftyc
Guru
Guru


Joined: 23 May 2002
Posts: 443
Location: Behind You.

PostPosted: Mon Jun 03, 2002 1:45 pm    Post subject: Reply with quote

Looks interesting. I may give it a try when I get some time. I have exams at the moment.
_________________
Postcount ++
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Mon Jun 03, 2002 1:56 pm    Post subject: Reply with quote

Somebody is paving the way......... :D
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
mb
Guru
Guru


Joined: 25 Apr 2002
Posts: 355
Location: Hessen | .de

PostPosted: Mon Jun 03, 2002 2:12 pm    Post subject: Re: anybody tried the gentoo - gcc1 iso yet? Reply with quote

Klavs wrote:
I'm gonna try to install it under a chroot environment soon..



is there some kind of template / create_script for an example chroot environment available... or shall i bootstrap again ??

i would like to try new ebuild there first before installing it on my real system.. and vmware is imho not a good solution...


#mb
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Mon Jun 03, 2002 3:24 pm    Post subject: Reply with quote

I just did this:

1)make partitions and swap via fdisk or whatever.
2) mkswap and mke2fs -j them (or whatever filesystem you want that your current kernel supports).
3) mount /new/slash-partition /mnt/gentoo
4) tar -jxf stage1-gcc3*.tbz2 in /mnt/gentoo
5) mount -o bind /proc /mnt/gentoo/proc
6) cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
7) chroot /mnt/gentoo /bin/bash
8) source /etc/profile
9) emerge rsync
10) env-update
11) -follow instructions in normal install
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
mb
Guru
Guru


Joined: 25 Apr 2002
Posts: 355
Location: Hessen | .de

PostPosted: Mon Jun 03, 2002 3:41 pm    Post subject: Reply with quote

ah.. ok... :D

maybe we should add something like:
12) change shell-prompt to "[chroot] root #"


because i'm getting confused by all these terminals :roll:


#mb
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Mon Jun 03, 2002 6:33 pm    Post subject: Reply with quote

I got these error messages when bootstrapping:

some mv errors.. anything the matter with my chroot environment?

mv: cannot stat `s-crt': No such file or directory
mv: cannot stat `s-crt0': No such file or directory
mv: cannot stat `crtbegin.o': No such file or directory
mv: cannot stat `crtbeginS.o': No such file or directory
mv: cannot stat `crtend.o': No such file or directory
mv: cannot stat `crtendS.o': No such file or directory
mv: cannot stat `gcc-cross': No such file or directory
mv: cannot create hard link `stage1/cccp' to `stage1/cpp0': File exists
mv: cannot stat `cc1obj': No such file or directory
mv: cannot stat `enquire': No such file or directory
mv: cannot stat `protoize': No such file or directory
mv: cannot stat `unprotoize': No such file or directory
mv: cannot stat `collect2': No such file or directory
mv: cannot stat `gcov': No such file or directory
mv: cannot stat `*.bp': No such file or directory
mv: cannot stat `*.greg': No such file or directory
mv: cannot stat `*.lreg': No such file or directory
mv: cannot stat `*.combine': No such file or directory
mv: cannot stat `*.flow': No such file or directory
mv: cannot stat `*.cse': No such file or directory
mv: cannot stat `*.jump': No such file or directory
mv: cannot stat `*.rtl': No such file or directory
mv: cannot stat `*.tree': No such file or directory
mv: cannot stat `*.loop': No such file or directory
mv: cannot stat `*.dbr': No such file or directory
mv: cannot stat `*.jump2': No such file or directory
mv: cannot stat `*.sched': No such file or directory
mv: cannot stat `*.cse2': No such file or directory
mv: cannot stat `*.sched2': No such file or directory
mv: cannot stat `*.stack': No such file or directory
mv: cannot stat `*.gcse': No such file or directory
mv: cannot stat `*.flow2': No such file or directory
mv: cannot stat `*.[si]': No such file or directory
mv: cannot stat `libcpp.a': No such file or directory
make[2]: [stage1-start] Error 1 (ignored)
mv intl/*.o stage1/intl
mv: cannot stat `intl/*.o': No such file or directory
make[2]: [stage1-start] Error 1 (ignored)

and some compile errors.

cc1: Invalid option `3dnow'
cc1: Invalid option `mmx'
cc1: bad value (athlon) for -march= switch
make[2]: *** [gencheck.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r5/work/gcc-2.95.3/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r5/work/gcc-2.95.3/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)

This leaves me with some questions:

1) Why is it compiling gcc-2.95 - when I'm using a gentoo-1.3-stage1-gcc3 image (which comes with gcc-3.1)?
2) How can I fix it? change the compile options for gcc in it's .ebuild? - what's the best way? (if you give it a try and find a hack that works, please do post a patch :-)
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
rukhoven
n00b
n00b


Joined: 18 Apr 2002
Posts: 54
Location: The flat lands of nether elevation

PostPosted: Mon Jun 03, 2002 7:23 pm    Post subject: Reply with quote

maybe you have to change /etc/make.profile to link to /usr/portage/profiles/default-1.0-gcc3, to make it work...
_________________
*****************************
AMDXp 2000 per sis745 con 60 GB HD
......Is what I'd like to have....... :)
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Mon Jun 03, 2002 8:04 pm    Post subject: Reply with quote

Seems to work.

Tnx.

Now I only need to recompile the bootstrap with profiling. How can I do this?
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Aug 18, 2002 10:44 pm    Post subject: Reply with quote

GCC3 to Gentoo Chat, as it started out rather chatlike.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum