From maol at symlink.ch Sat Jun 5 11:41:03 2004 From: maol at symlink.ch (Markus Ackermann) Date: Sat, 5 Jun 2004 13:41:03 +0200 Subject: [Clc-crux64] Re: Crux64 In-Reply-To: References: Message-ID: <200406051341.03716.maol@symlink.ch> Everyone please subscribe to clc-crux64 at lists.berlios.de at https://lists.berlios.de/mailman/listinfo/clc-crux64 as it seems that we haven't been added automatically. Someone might want to announce the new list in one of CRUX' mailing lists. I've run Per's Makefile for CRUX on SuSE 9.1 but it didn't compile all packages... missing from base are bin86 binutils db gcc glibc lilo net-tools perl slocate sysklogd tcsh traceroute util-linux If someone has time to find out what's wrong with them on AMD64 please fix it and let us know (with a modified Pkgfile, patch, whatever...). See attached my notes on what I did. Markus. -------------- next part -------------- wget http://www.fukt.bth.se/~per/pkgutils/pkgutils-5.18.tar.gz tar -xzf pkgutils-5.18.tar.gz cd pkgutils-5.18 vim Makefile # edit BINDIR, MANDIR if you like make install vim /etc/pkgmk.conf # change CFLAGS, CXXFLAGS export CFLAGS="-O2 -pipe" export CXXFLAGS="-O2 -pipe" wget http://jw.tks6.net/files/crux/httpup-0.3.1.tar.gz tar -xzf httpup-0.3.1.tar.gz cd httpup-0.3.1 make cp httpup /usr/local/bin wget -O Makefile 'http://www.fukt.bth.se/~per/crux/cvs.cgi/*checkout*/crux/Makefile' sed -i 's/i386/x86_64/g' Makefile mkdir -p kernel ports wget -O kernel/linux-2.6.6.config 'http://www.fukt.bth.se/~per/crux/cvs.cgi/*checkout*/crux/kernel/linux-2.6.6.config' make kernel (enter the following in 'make oldconfig') 3 y y n y y (end oldconfig) httpup sync http://crux.fh-regensburg.de/portdb/repo/base $PWD/ports/base httpup sync http://crux.fh-regensburg.de/portdb/repo/opt $PWD/ports/opt make base make opt From jkossen at xs4all.nl Sat Jun 5 19:51:59 2004 From: jkossen at xs4all.nl (Jochem Kossen) Date: Sat, 5 Jun 2004 21:51:59 +0200 Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <200406051341.03716.maol@symlink.ch> References: <200406051341.03716.maol@symlink.ch> Message-ID: <20040605195159.GF31549@jkossen.xs4all.nl> On Sat, Jun 05, 2004 at 01:41:03PM +0200, Markus Ackermann wrote: > I've run Per's Makefile for CRUX on SuSE 9.1 but it didn't compile all > packages... missing from base are > bin86 This one is specifically coded for x86, and makes some x86-a-like assumptions. Other distributions didn't even try to create a patch, and just built a 32bit version. Don't know how we should solve this one here... > binutils This one has a wrong url, change gnu/ to gnu/ftp/gnu. It'll build with a different footprint. (some x86_64 files added) > gcc Wrong URL, change gnu to gnu/ftp/gnu (but this one's outdated, 3.3.3 is in crux 2.0 stable, there, the url is fine) > db > glibc > lilo > net-tools > perl > slocate > sysklogd > tcsh > traceroute > util-linux Looking at these now... > If someone has time to find out what's wrong with them on AMD64 please fix it > and let us know (with a modified Pkgfile, patch, whatever...). > > See attached my notes on what I did. The checkout you made seems to be out of date (binutils, gcc, ...). For convenience, i've put up a tarball of a cvsup checkout of Per's CRUX 2-0-0 CVS repository. The only things i changed are the s/i386/x86_64/ in the Makefile, and an updated binutils footprint. You can find it at http://jk.yazzy.org/crux.tar.gz (about 10 MB) > Markus. > wget http://www.fukt.bth.se/~per/pkgutils/pkgutils-5.18.tar.gz > tar -xzf pkgutils-5.18.tar.gz > cd pkgutils-5.18 > vim Makefile # edit BINDIR, MANDIR if you like > make install > vim /etc/pkgmk.conf # change CFLAGS, CXXFLAGS > export CFLAGS="-O2 -pipe" > export CXXFLAGS="-O2 -pipe" > wget http://jw.tks6.net/files/crux/httpup-0.3.1.tar.gz > tar -xzf httpup-0.3.1.tar.gz > cd httpup-0.3.1 > make > cp httpup /usr/local/bin > > > wget -O Makefile 'http://www.fukt.bth.se/~per/crux/cvs.cgi/*checkout*/crux/Makefile' > sed -i 's/i386/x86_64/g' Makefile > mkdir -p kernel ports > wget -O kernel/linux-2.6.6.config 'http://www.fukt.bth.se/~per/crux/cvs.cgi/*checkout*/crux/kernel/linux-2.6.6.config' > make kernel (enter the following in 'make oldconfig') > 3 > y > y > n > y > y > (end oldconfig) > httpup sync http://crux.fh-regensburg.de/portdb/repo/base $PWD/ports/base > httpup sync http://crux.fh-regensburg.de/portdb/repo/opt $PWD/ports/opt > > make base > make opt From jkossen at xs4all.nl Sat Jun 5 22:59:57 2004 From: jkossen at xs4all.nl (Jochem Kossen) Date: Sun, 6 Jun 2004 00:59:57 +0200 Subject: [Clc-crux64] glibc 3.3.3-1 patch Message-ID: <20040605225957.GG31549@jkossen.xs4all.nl> Attached is a patch to build glibc on amd64. As Markus, i work from SuSE 9.1. Notice the new /usr/lib64 dir which replaces a lot from /usr/lib. I wonder if this is ever going to work ;) -------------- next part -------------- A non-text attachment was scrubbed... Name: base_glibc.patch.bz2 Type: application/octet-stream Size: 4697 bytes Desc: not available URL: From maol at symlink.ch Sun Jun 6 11:03:57 2004 From: maol at symlink.ch (Markus Ackermann) Date: Sun, 06 Jun 2004 13:03:57 +0200 Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <20040605195159.GF31549@jkossen.xs4all.nl> References: <200406051341.03716.maol@symlink.ch> <20040605195159.GF31549@jkossen.xs4all.nl> Message-ID: <40C2FA1D.9000003@symlink.ch> See this mail for bin86 and lilo patches: http://www.x86-64.org/lists/patches/msg03202.html I can imagine that http://www.x86-64.org/ has more interesting stuff... (haven't had time to look yet) Markus. From jkossen at xs4all.nl Sun Jun 6 12:28:00 2004 From: jkossen at xs4all.nl (Jochem Kossen) Date: Sun, 6 Jun 2004 14:28:00 +0200 Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <40C2FA1D.9000003@symlink.ch> References: <200406051341.03716.maol@symlink.ch> <20040605195159.GF31549@jkossen.xs4all.nl> <40C2FA1D.9000003@symlink.ch> Message-ID: <20040606122800.GH31549@jkossen.xs4all.nl> On Sun, Jun 06, 2004 at 01:03:57PM +0200, Markus Ackermann wrote: > See this mail for bin86 and lilo patches: > http://www.x86-64.org/lists/patches/msg03202.html > > I can imagine that http://www.x86-64.org/ has more interesting stuff... > (haven't had time to look yet) Ah that's great, attached is the patch for the bin86 0.16.0 port for everyone who's interested (still a bit quiet on the list :-P ). -------------- next part -------------- diff -uN /mnt/crux/usr/ports/base/bin86/bin86-0.16.0.patch ports/base/bin86/bin86-0.16.0.patch --- /mnt/crux/usr/ports/base/bin86/bin86-0.16.0.patch 1970-01-01 01:00:00.000000000 +0100 +++ ports/base/bin86/bin86-0.16.0.patch 2004-06-06 14:09:57.914999360 +0200 @@ -0,0 +1,12 @@ +--- ld/x86_aout.h.orig 2004-06-06 14:08:05.559080056 +0200 ++++ ld/x86_aout.h 2004-06-06 14:09:27.233663632 +0200 +@@ -12,6 +12,9 @@ + #if defined(i386) || defined(__BCC__) || defined(MSDOS) + typedef long Long; + #define __OUT_OK 1 ++#elif defined(__x86_64__) ++typedef int Long; ++#define __OUT_OK 1 + #else + typedef char Long[4]; + #endif diff -uN /mnt/crux/usr/ports/base/bin86/.md5sum ports/base/bin86/.md5sum --- /mnt/crux/usr/ports/base/bin86/.md5sum 2002-09-01 21:29:55.000000000 +0200 +++ ports/base/bin86/.md5sum 2004-06-06 14:10:47.976388872 +0200 @@ -1 +1,2 @@ +5d30edf585428a8d809b60be0a855164 bin86-0.16.0.patch 9f999e38dbd6bbdd79701853c44737cb bin86-0.16.0.tar.gz diff -uN /mnt/crux/usr/ports/base/bin86/Pkgfile ports/base/bin86/Pkgfile --- /mnt/crux/usr/ports/base/bin86/Pkgfile 2003-07-02 01:47:05.000000000 +0200 +++ ports/base/bin86/Pkgfile 2004-06-06 14:10:58.796743928 +0200 @@ -4,10 +4,11 @@ name=bin86 version=0.16.0 release=1 -source=(http://www.cix.co.uk/~mayday/dev86/$name-$version.tar.gz) +source=(http://www.cix.co.uk/~mayday/dev86/$name-$version.tar.gz $name-$version.patch) build() { cd $name-$version + patch -p0 < ../$name-$version.patch make CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/man/man1 From lsantil at dslextreme.com Fri Jun 11 21:00:48 2004 From: lsantil at dslextreme.com (lsantil at dslextreme.com) Date: Fri, 11 Jun 2004 14:00:48 -0700 (PDT) Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <20040606122800.GH31549@jkossen.xs4all.nl> References: <200406051341.03716.maol@symlink.ch> <20040605195159.GF31549@jkossen.xs4all.nl> <40C2FA1D.9000003@symlink.ch> <20040606122800.GH31549@jkossen.xs4all.nl> Message-ID: <59527.137.79.37.193.1086987648.squirrel@www.dslextreme.com> Hi all, Ok. I verified the patch from compiles bin86 on my Red Hat AMD64 install. I still have a to turn in my take-home exam on Monday and I might not be able to work on Crux64 all that much over the weekend. I'll try to look into the following non-compiling pkgs when I get a chance (and probably others; my run of Markus Ackermann's build steps is still going): Under base/ bin86 (fixed with Jochem's patch), binutils, db, gcc, glibc, lilo, net-tools, perl, slocate, sysklogd, tcsh, traceroute, util-linux Under opt/ cdrtools Binutils should be easy to fix. I compiled it once on Gentoo AMD64 2004.1 and I just need to sit with it for a while. The others may be just footprint issues (lib vs. lib64). BTW, you can check any progress reports I make on my blog at http://lpsantil.spymac.com/blog/. You can also post comments and suggestions there ('write comment' link in the upper-right corner). Louis > On Sun, Jun 06, 2004 at 01:03:57PM +0200, Markus Ackermann wrote: >> See this mail for bin86 and lilo patches: >> http://www.x86-64.org/lists/patches/msg03202.html >> >> I can imagine that http://www.x86-64.org/ has more interesting stuff... >> (haven't had time to look yet) > > Ah that's great, attached is the patch for the bin86 0.16.0 port for > everyone who's interested (still a bit quiet on the list :-P ). > From lsantil at dslextreme.com Fri Jun 11 22:22:28 2004 From: lsantil at dslextreme.com (lsantil at dslextreme.com) Date: Fri, 11 Jun 2004 15:22:28 -0700 (PDT) Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <59527.137.79.37.193.1086987648.squirrel@www.dslextreme.com> References: <200406051341.03716.maol@symlink.ch> <20040605195159.GF31549@jkossen.xs4all.nl> <40C2FA1D.9000003@symlink.ch> <20040606122800.GH31549@jkossen.xs4all.nl> <59527.137.79.37.193.1086987648.squirrel@www.dslextreme.com> Message-ID: <60034.137.79.37.193.1086992548.squirrel@www.dslextreme.com> Hi all, Jochem: gcc built "out-of-the-box" with Per's make file. It probably used some 32-bit-ish options. Could you send me your patch anyways (I wasn't registered to the list yet when you sent it). Louis > Hi all, > > Ok. I verified the patch from compiles bin86 on my Red Hat AMD64 > install. I still have a to turn in my take-home exam on Monday and I > might not be able to work on Crux64 all that much over the weekend. I'll > try to look into the following non-compiling pkgs when I get a chance (and > probably others; my run of Markus Ackermann's build steps is still going): > > Under base/ > bin86 (fixed with Jochem's patch), binutils, db, gcc, glibc, lilo, > net-tools, perl, slocate, sysklogd, tcsh, traceroute, util-linux > > Under opt/ > cdrtools > > Binutils should be easy to fix. I compiled it once on Gentoo AMD64 2004.1 > and I just need to sit with it for a while. The others may be just > footprint issues (lib vs. lib64). > > BTW, you can check any progress reports I make on my blog at > http://lpsantil.spymac.com/blog/. You can also post comments and > suggestions there ('write comment' link in the upper-right corner). > > Louis > >> On Sun, Jun 06, 2004 at 01:03:57PM +0200, Markus Ackermann wrote: >>> See this mail for bin86 and lilo patches: >>> http://www.x86-64.org/lists/patches/msg03202.html >>> >>> I can imagine that http://www.x86-64.org/ has more interesting stuff... >>> (haven't had time to look yet) >> >> Ah that's great, attached is the patch for the bin86 0.16.0 port for >> everyone who's interested (still a bit quiet on the list :-P ). >> > > _______________________________________________ > Clc-crux64 mailing list > Clc-crux64 at lists.berlios.de > http://lists.berlios.de/mailman/listinfo/clc-crux64 > > From lsantil at dslextreme.com Fri Jun 11 23:44:51 2004 From: lsantil at dslextreme.com (lsantil at dslextreme.com) Date: Fri, 11 Jun 2004 16:44:51 -0700 (PDT) Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <59527.137.79.37.193.1086987648.squirrel@www.dslextreme.com> References: <200406051341.03716.maol@symlink.ch> <20040605195159.GF31549@jkossen.xs4all.nl> <40C2FA1D.9000003@symlink.ch> <20040606122800.GH31549@jkossen.xs4all.nl> <59527.137.79.37.193.1086987648.squirrel@www.dslextreme.com> Message-ID: <6409.66.51.196.127.1086997491.squirrel@www.dslextreme.com> I fixed/upgraded libtiff, binutils, bin86, gcc and db. On db, I disabled the C++ API (it won't compile otherwise; missing file on a sed transformation). Do any of the other packages require its C++ API? Louis > Hi all, > > Ok. I verified the patch from compiles bin86 on my Red Hat AMD64 > install. I still have a to turn in my take-home exam on Monday and I > might not be able to work on Crux64 all that much over the weekend. I'll > try to look into the following non-compiling pkgs when I get a chance (and > probably others; my run of Markus Ackermann's build steps is still going): > > Under base/ > bin86 (fixed with Jochem's patch), binutils, db, gcc, glibc, lilo, > net-tools, perl, slocate, sysklogd, tcsh, traceroute, util-linux > > Under opt/ > cdrtools > > Binutils should be easy to fix. I compiled it once on Gentoo AMD64 2004.1 > and I just need to sit with it for a while. The others may be just > footprint issues (lib vs. lib64). > > BTW, you can check any progress reports I make on my blog at > http://lpsantil.spymac.com/blog/. You can also post comments and > suggestions there ('write comment' link in the upper-right corner). > > Louis > >> On Sun, Jun 06, 2004 at 01:03:57PM +0200, Markus Ackermann wrote: >>> See this mail for bin86 and lilo patches: >>> http://www.x86-64.org/lists/patches/msg03202.html >>> >>> I can imagine that http://www.x86-64.org/ has more interesting stuff... >>> (haven't had time to look yet) >> >> Ah that's great, attached is the patch for the bin86 0.16.0 port for >> everyone who's interested (still a bit quiet on the list :-P ). >> > > _______________________________________________ > Clc-crux64 mailing list > Clc-crux64 at lists.berlios.de > http://lists.berlios.de/mailman/listinfo/clc-crux64 > > From chronic_tautologist at hotmail.com Sat Jun 12 01:07:09 2004 From: chronic_tautologist at hotmail.com (Doan Vu) Date: Sat, 12 Jun 2004 01:07:09 +0000 Subject: [Clc-crux64] Re: Crux64 Message-ID: >Jochem: gcc built "out-of-the-box" with Per's make file. It probably >used some 32-bit-ish options. Could you send me your patch anyways (I >wasn't registered to the list yet when you sent it). Hey. You said you used Jochem's bin86 patch already, and he's only sent 2 patches, so the one I've attached must be the one you want.. I hope. About building Crux.. I had a quick look at Per's Makefile and saw words like bootstrap and stageX that reminded me of building Gentoo. I'm not a Makefile expert, but the file is easy to read and decipher. Would I be right in saying that building Crux basically entails "make bootstrap" and then trying to fix up the compile errors associated with x86_64? I'd like to give this a go after the exam period when I'm hibernating. One more thing.. Jochem's Crux tarball doesn't contain the contrib collection - according to the Makefile, bootstrap will try to do "all collections", so wouldn't it complain about the missing contrib? God speed fellas :) _________________________________________________________________ FOXTEL Digital - Your ticket to cinema at home: http://ad.au.doubleclick.net/clk;7718915;9123289;x?http://www.foxtel.com.au/Campaign/channelchoice.html -------------- next part -------------- A non-text attachment was scrubbed... Name: base_glibc.patch.bz2 Type: application/octet-stream Size: 4697 bytes Desc: not available URL: From jkossen at xs4all.nl Sat Jun 12 07:52:29 2004 From: jkossen at xs4all.nl (Jochem Kossen) Date: Sat, 12 Jun 2004 09:52:29 +0200 Subject: [Clc-crux64] Re: Crux64 In-Reply-To: References: Message-ID: <20040612075229.GB30707@jkossen.xs4all.nl> On Sat, Jun 12, 2004 at 01:07:09AM +0000, Doan Vu wrote: > >Jochem: gcc built "out-of-the-box" with Per's make file. It probably > >used some 32-bit-ish options. Could you send me your patch anyways (I > >wasn't registered to the list yet when you sent it). > > Hey. You said you used Jochem's bin86 patch already, and he's only sent 2 > patches, so the one I've attached must be the one you want.. I hope. > > About building Crux.. I had a quick look at Per's Makefile and saw words > like bootstrap and stageX that reminded me of building Gentoo. I'm not a > Makefile expert, but the file is easy to read and decipher. Would I be > right in saying that building Crux basically entails "make bootstrap" and > then trying to fix up the compile errors associated with x86_64? I'd like > to give this a go after the exam period when I'm hibernating. Not sure about this, this is my first effort at porting to another arch. My idea was to build the base ports on a distro, pkgadd them in a chroot, and in that chroot run the make bootstrap. Otherwise you'd have everything compiled against libraries from the host distribution... > One more thing.. Jochem's Crux tarball doesn't contain the contrib > collection - according to the Makefile, bootstrap will try to do "all > collections", so wouldn't it complain about the missing contrib? Yep, forgot about them :( Here's the list of ports from base which don't compile with me: db lilo sysklogd tcsh traceroute I don't have time to look at them this weekend un fortunately. For lilo, Marcus sent in a mail containing a patch, but it's a big patch, untested, and looks dirty IMHO, although i'm not that experienced in C. lsantil says db compiles without the C++ API, but i don't think that's acceptable unfortunately... From chronic_tautologist at hotmail.com Sat Jun 12 10:53:51 2004 From: chronic_tautologist at hotmail.com (Doan Vu) Date: Sat, 12 Jun 2004 10:53:51 +0000 Subject: [Clc-crux64] Re: Crux64 Message-ID: >Not sure about this, this is my first effort at porting to another arch. >My idea was to build the base ports on a distro, pkgadd them in a >chroot, and in that chroot run the make bootstrap. Otherwise you'd have >everything compiled against libraries from the host distribution... Yeah, I tried to 'make bootstrap' and it didn't work. For a 'make all' to work, you need pkgutils (and possibly other stuff), which means I'll have to learn how write ebuilds, and these things really suck. Makes me appreciate the beauty of Crux ports :) >Yep, forgot about them :( Hehe.. silly me I just realised that no one would've noticed because no one's progressed beyond base packages. >Here's the list of ports from base which don't compile with me: > db > lilo > sysklogd > tcsh > traceroute > >I don't have time to look at them this weekend un fortunately. For lilo, >Marcus sent in a mail containing a patch, but it's a big patch, >untested, and looks dirty IMHO, although i'm not that experienced in C. AFAIK, lilo and grub can't compile under 64-bit. From some Gentoo guru: "lilo will NOT work, only if you also have a 32bit installation to install it from. as lilo is 32bit assembly, it will NOT run on a 64bit OS, the same with grub, its 32bit assembly, therefore they have a grub-static package, which is a binary package of grub (and built on a p4 system)" I suppose that's why the patch is "big, untested, and dirty"? >lsantil says db compiles without the C++ API, but i don't think that's >acceptable unfortunately... Over and out, Doan _________________________________________________________________ Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to http://join.msn.com/?pgmarket=en-au&page=hotmail/es2 From predivan at ptt.yu Sat Jun 12 10:54:48 2004 From: predivan at ptt.yu (Predrag Ivanovic) Date: Sat, 12 Jun 2004 12:54:48 +0200 Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <20040612075229.GB30707@jkossen.xs4all.nl> References: <20040612075229.GB30707@jkossen.xs4all.nl> Message-ID: <20040612125448.709b2e7c.predivan@ptt.yu > On Sat, 12 Jun 2004 09:52:29 +0200 Jochem Kossen wrote: > > > > About building Crux.. I had a quick look at Per's Makefile and saw words > > like bootstrap and stageX that reminded me of building Gentoo. I'm not a > > Makefile expert, but the file is easy to read and decipher. Would I be > > right in saying that building Crux basically entails "make bootstrap" and > > then trying to fix up the compile errors associated with x86_64? I'd like > > to give this a go after the exam period when I'm hibernating. > > Not sure about this, this is my first effort at porting to another arch. > My idea was to build the base ports on a distro, pkgadd them in a > chroot, and in that chroot run the make bootstrap. Otherwise you'd have > everything compiled against libraries from the host distribution... > That's what Per's makefile does: builds packages for chroot on host sytem makes chroot bootstraps the system in 2 stages,recompiling all packages twice against libs from chroot. I'm sure you can modify it to suit your needs. HTH, Pedja From jw at tks6.net Mon Jun 14 06:46:36 2004 From: jw at tks6.net (Johannes Winkelmann) Date: Mon, 14 Jun 2004 08:46:36 +0200 Subject: [Clc-crux64] Debian announces pure 64 bit port Message-ID: <20040614064636.GA18162@hoc> Hi, There's an interesting discussion on http://lwn.net/Articles/89290/ regarding pure64 and biarch setups. I for one am not that conviced anymore that biarch is better; the chroot 32-bit installation seems a good idea as well. Regards, Johannes P.S. Sorry, I still didn't join the club of 64 bit CPU owners ;-) -- Johannes Winkelmann mailto:jw at tks6.net Bern, Switzerland http://jw.tks6.net From martin at rehr.dk Thu Jun 24 11:12:36 2004 From: martin at rehr.dk (Martin Rehr) Date: Thu, 24 Jun 2004 13:12:36 +0200 Subject: [Clc-crux64] Building Crux from scratch Message-ID: <200406241312.36235.martin@rehr.dk> Hello fellow crux freaks :) I finally got my amd64 notebook and want to give a amd64 build of crux a try. I have read all the prevoius mails regarding this subject, but im afraid I need a little help to get going. Where do i get the source code for CRUX 2.0 and what is the basic procedures for building your own dist? Regards. Martin Rehr From predivan at ptt.yu Thu Jun 24 14:37:52 2004 From: predivan at ptt.yu (Predrag Ivanovic) Date: Thu, 24 Jun 2004 16:37:52 +0200 Subject: [Clc-crux64] Building Crux from scratch In-Reply-To: <200406241312.36235.martin@rehr.dk> References: <200406241312.36235.martin@rehr.dk> Message-ID: <20040624163752.6cb6675b.predivan@ptt.yu > On Thu, 24 Jun 2004 13:12:36 +0200 Martin Rehr wrote: > Hello fellow crux freaks :) > > I finally got my amd64 notebook and want to give a amd64 build of crux > a try. > > I have read all the prevoius mails regarding this subject, but im > afraid I need a little help to get going. > > Where do i get the source code for CRUX 2.0 and what is the basic > procedures for building your own dist? > > Regards. > Martin Rehr > From martin at rehr.dk Thu Jun 24 20:12:03 2004 From: martin at rehr.dk (Martin Rehr) Date: Thu, 24 Jun 2004 22:12:03 +0200 Subject: [Clc-crux64] Building Crux from scratch In-Reply-To: <20040624163752.6cb6675b.predivan@ptt.yu > References: <200406241312.36235.martin@rehr.dk> <20040624163752.6cb6675b.predivan@ptt.yu > Message-ID: <200406242212.03462.martin@rehr.dk> On Thursday 24 June 2004 16:37, Predrag Ivanovic wrote: > On Thu, 24 Jun 2004 13:12:36 +0200 > > Martin Rehr wrote: > > Hello fellow crux freaks :) > > > > I finally got my amd64 notebook and want to give a amd64 build of crux > > a try. > > > > I have read all the prevoius mails regarding this subject, but im > > afraid I need a little help to get going. > > > > Where do i get the source code for CRUX 2.0 and what is the basic > > procedures for building your own dist? > > > > Regards. > > Martin Rehr > > From the clc-crux64 archives: > > > "The checkout you made seems to be out of date (binutils, gcc, ...). For > convenience, i've put up a tarball of a cvsup checkout of Per's CRUX > 2-0-0 CVS repository. The only things i changed are the s/i386/x86_64/ > in the Makefile, and an updated binutils footprint. You can find it at > http://jk.yazzy.org/crux.tar.gz (about 10 MB)" > ----- > That should help you a bit,I hope. > > Pedja > _______________________________________________ > Clc-crux64 mailing list > Clc-crux64 at lists.berlios.de > http://lists.berlios.de/mailman/listinfo/clc-crux64 Thanks alot, I will take a look at it and problerly return with a bounch of questions :) Regards. Martin From lsantil at dslextreme.com Fri Jun 25 05:10:32 2004 From: lsantil at dslextreme.com (lsantil at dslextreme.com) Date: Thu, 24 Jun 2004 22:10:32 -0700 (PDT) Subject: [Clc-crux64] Re: Crux64 In-Reply-To: <20040612075229.GB30707@jkossen.xs4all.nl> References: <20040612075229.GB30707@jkossen.xs4all.nl> Message-ID: <7345.66.51.196.127.1088140232.squirrel@www.dslextreme.com> > On Sat, Jun 12, 2004 at 01:07:09AM +0000, Doan Vu wrote: [SNIP] > Yep, forgot about them :( > > Here's the list of ports from base which don't compile with me: > db > lilo > sysklogd > tcsh > traceroute > > I don't have time to look at them this weekend un fortunately. For lilo, > Marcus sent in a mail containing a patch, but it's a big patch, > untested, and looks dirty IMHO, although i'm not that experienced in C. > > lsantil says db compiles without the C++ API, but i don't think that's > acceptable unfortunately... Any status updates? In any case, I think we would be ok if we were just able to mkisofs a CD that boots (currently, Crux 2.0 doesn't boot [crashes at the CD-ROM driver for some reason; need to look into it; it might be the NForce3 mobo chipset...hmmm] on the new AMD64 3000+ desktop I just finished building for a cheap $600 USD). Looking at the list above, only lilo and sysklogd I think are critcal (Apache has a dependence on db). tcsh and traceroute might be nice to have but I wouldn't call them necessary. I'm gonna be at the Apple Developer Conference next week but I should have plenty of free time to do some work on Crux64. Louis From jkossen at xs4all.nl Fri Jun 25 07:24:28 2004 From: jkossen at xs4all.nl (Jochem Kossen) Date: Fri, 25 Jun 2004 09:24:28 +0200 Subject: [Clc-crux64] Re: db dependencies? In-Reply-To: <7365.66.51.196.127.1088140438.squirrel@www.dslextreme.com> References: <7365.66.51.196.127.1088140438.squirrel@www.dslextreme.com> Message-ID: <20040625072427.GA10604@jkossen.xs4all.nl> On Thu, Jun 24, 2004 at 10:13:58PM -0700, lsantil at dslextreme.com wrote: > An issue came up on the Crux64 list. db is in base but doesn't yet > compile cleanly on AMD64. What depends on it? I know Apache does. > However, I don't think Apache is critical app at this point (once we get a > bootable CD it will be). Just took a look at gentoo, and the only thing they do specific to amd64 is --with-mutex=x86/gcc-assembly I don't have time to try though From martin at rehr.dk Fri Jun 25 11:34:56 2004 From: martin at rehr.dk (Martin Rehr) Date: Fri, 25 Jun 2004 13:34:56 +0200 Subject: [Clc-crux64] Getting started. Message-ID: <200406251334.56808.martin@rehr.dk> Hi. I have a bit of trouble getting started with crux64. I downloaded the source code which you provided me with Pedja, thx a lot. I took a look into the make file and as far as i can see the only thing which is told to be x86_64 is the kernel. I have tried gentoo amd64, but I booted on a livecd with 64 bit kernel installed and the gcc compiler with 64 bits support. In my crux 2.0 the compiler does'nt support 64 bit ( -m64 flag ) If someone could provide me with the few basics steps to get goinging i would be thankfull. Shall I start with a make bootstrap? How and when shall i tell the compiler to shift to 64 bit ? Thanx in advance. Regards. Martin From lsantil at dslextreme.com Fri Jun 25 14:18:38 2004 From: lsantil at dslextreme.com (lsantil at dslextreme.com) Date: Fri, 25 Jun 2004 07:18:38 -0700 (PDT) Subject: [Clc-crux64] Getting started. In-Reply-To: <200406251334.56808.martin@rehr.dk> References: <200406251334.56808.martin@rehr.dk> Message-ID: <62102.137.79.37.193.1088173118.squirrel@www.dslextreme.com> Hi Martin, Follow the steps in the email . Specifically, start at wget and continue downward. You will also probably want to create a work-in-progress dir for crux64. It is probably easiest to use your gentoo AMD64 environment to compile things (and gurantees the packages compile at least with some 64-bit gcc). However, in the end, we'll have to run a 'make bootstrap iso' to get a clean Crux64 CD image. Louis > Hi. > > I have a bit of trouble getting started with crux64. > > I downloaded the source code which you provided me with Pedja, thx a lot. > > I took a look into the make file and as far as i can see the only thing > which > is told to be x86_64 is the kernel. > > I have tried gentoo amd64, but I booted on a livecd with 64 bit kernel > installed and the gcc compiler with 64 bits support. > > In my crux 2.0 the compiler does'nt support 64 bit ( -m64 flag ) > > If someone could provide me with the few basics steps to get goinging i > would > be thankfull. > > Shall I start with a make bootstrap? > > How and when shall i tell the compiler to shift to 64 bit ? > > Thanx in advance. > > Regards. > Martin > _______________________________________________ > Clc-crux64 mailing list > Clc-crux64 at lists.berlios.de > http://lists.berlios.de/mailman/listinfo/clc-crux64 > > From lsantil at dslextreme.com Fri Jun 25 17:16:12 2004 From: lsantil at dslextreme.com (lsantil at dslextreme.com) Date: Fri, 25 Jun 2004 10:16:12 -0700 (PDT) Subject: [Clc-crux64] Re: db dependencies? In-Reply-To: <20040625072427.GA10604@jkossen.xs4all.nl> References: <7365.66.51.196.127.1088140438.squirrel@www.dslextreme.com> <20040625072427.GA10604@jkossen.xs4all.nl> Message-ID: <64356.137.79.37.193.1088183772.squirrel@www.dslextreme.com> Hi Jochem, Just tried this on my AMD64 box at home. It still failed to build the package. It seemed to fail at the final link stage (complains of multple definitions of _init, et al. starting in crti.o). There may be issues of Fedora Core2's gcc/ld being misconfigured. Might a bootstrap work better? It takes a long time but I think I will have to try that soon. Louis > On Thu, Jun 24, 2004 at 10:13:58PM -0700, lsantil at dslextreme.com wrote: >> An issue came up on the Crux64 list. db is in base but doesn't yet >> compile cleanly on AMD64. What depends on it? I know Apache does. >> However, I don't think Apache is critical app at this point (once we get >> a >> bootable CD it will be). > > Just took a look at gentoo, and the only thing they do specific to amd64 > is --with-mutex=x86/gcc-assembly > > I don't have time to try though > >