From: keksov <ke...@gm...> - 2004-02-29 21:42:46
|
Hello, I just struggling with the same problem. Looks like I found a working solution The whole stage 1 was compiled without any problem at all, but I've been stopped at stage 2 by some weird problem with binutils... Now I'm just recompiling everything without any CPU specific optimization... And the problem is... i686 flag ;) Just grab the file <your mirror here>/releases/x86/2004.0/stages/x86/stage1-x86-pie-ssp-2004.0.tar.bz2 Below is just small script which I'm using to rebuild the system (tailor it according to your needs) mkdir -p /mnt/gentoo && mount -t ext3 /dev/cobd3 /mnt/gentoo && # change cobd3 to wherever you have your new "partition" cd /mnt/gentoo && rm -rf * && # just to be on a save side mkdir boot && mkdir proc && mkdir tmp && chmod 1777 /mnt/gentoo/tmp && wget "<your mirror here>/releases/x86/2004.0/stages/x86/stage1-x86-pie-ssp-2004.0.tar.bz2" && bunzip2 stage1-x86-pie-ssp-2004.0.tar.bz2 && # this way it works perfectly tar -xpf stage1-x86-pie-ssp-2004.0.tar && cat > ./etc/make.conf && # note: your are already at /mnt/gentoo <<EndOfText CFLAGS="-O2" USE="mmx sse -acpi -alsa -apm berkdb crypt cscope curl freetds gd gdbm gif -gnome gpm -gtk -gtk2 guile imagemagick innodb -java jpeg -kde libwww mysql ncurses nls pdflib perl -qt sasl samba ssl tiff truetype -X xml xml2 zlib" CXXFLAGS="${CFLAGS}" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/.mirrors/ftplinux/ftp.gentoo.org" EndOfText # note the absence of -mcpu flag in CFLAGS (sure, I'll be glad to provide it, but # for some reason or other I didn't found yet the working combination of it and # CHOST variable, which is also missing (let config script decide on its own, most # probably it'll pick i386, not too optimal but we are just playing, aren't we? ;) chroot /mnt/gentoo /bin/bash # Ok let's chroot now env-update && source /etc/profile && cd /usr && wget "<your mirror here>/snapshots/portage-20040228.tar.bz2" && # grab the # latest portage tree tar -xpf portage-20040228.tar.bz2 && # it works just fine, since we have non # i386 optimized binary scripts/bootstrap -f && # predownload base sources scripts/bootstrap.sh && # take a cup of tee... Ok, ten cups of tee :)) To this point I had no problems at all... But now try to install stage2... emerge --fetchonly system && # predownload sources emerge system m> as other described in other posts gentoo still segfaults when untarring, m> some go smooth but larger packages never unpack (glibc for example) i m> also still havent managed to unpack vim, after several tries irssi and m> its dependencies did unpack, also tar, bzip2 and gzip eventually m> untarred, unfortunately recompiling those didnt help m> i recompiled them with CFLAGS=-march=pentium4 -O2 -fomit-frame-pointer m> -mfpmath=sse -pipe (those are proven to work well on my athlon-xp, just m> substituted the -march obviously), also with CFLAGS=-march=i386 and even m> CFLAGS= to force defaults m> im running colinux on a P4 2.6GHz w/ 400mhz fsb laptop running Windows m> XP Pro Sp1 m> segfaults happened with the default flags of the image and with others m> that should work better was this a physical machine not some software layer m> any information regarding others that also still show that problem, m> people who had that and found a fix, or info from developers if they are m> already working on a fix would be highly appreciated m> ------------------------------------------------------- m> SF.Net is sponsored by: Speed Start Your Linux Apps Now. m> Build and deploy apps & Web services for Linux with m> a free DVD software kit from IBM. Click Now! m> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click m> _______________________________________________ m> coLinux-devel mailing list m> coL...@li... m> https://lists.sourceforge.net/lists/listinfo/colinux-devel -- Best regards, keksov mailto:ke...@gm... |