You are not logged in.
Started doing a port of arch to the athlon64. So far, I have setup gentoo and compiled pacman but i seem to be missing abs. After I figure out where why it isn't there i'll start compiling stuff. I also need to figure out why my system keeps rebooting randomly. Arch doesn't seem to do it and i compiled my own kernel.
Offline
Just curious why you didn't install arch on it (it runs in 32 bit more), and then simply cross compile to your target architecture.
Any specific reason?
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I do have arch 32bit installed, but i read about problems with cross compiling from the arch i586 port. Also the gcc that comes with arch can't create 64bit bins. Just copied the abs stuff from my arch partition and i'm trying to get cvsup to work it seems to be masked in gentoo. After that i'm guessing everything should be fairly easy.
Offline
ahh. Cool. Thanks for the info.
I guess X-Compiling is a bit trickier in practice than it sounded in theory.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Have you talked to Xentac about pacbuild and his other semi-automated build tools (mostly in planning or in progress, but I believe there is some finished prototype available too)?
Dusty
Offline
no but i've been talking to kth5, been having a hard time getting glibc to compile. keep getting random errors about headers missing but they are there in /usr/include/asm (seems to be the dir where it says most of the headers r missing but they r really there) anyone know a way around it? i'll post the errors as soon i get on a system with x
Offline
... -MD -MP -MF /var/abs/base/glibc/src/glibc-build/tcb-offsets.h.dT -MT '/var/abs/base/glibc/src/glibc-build/tcb-offsets.h.d /var/abs/base/glibc/src/glibc-build/tcb-offsets.h'
In file included from ../sysdeps/unix/sysdep.h:21,
from ../sysdeps/unix/x86_64/sysdep.h:19,
from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:23,
from <stdin>:1:
../sysdeps/unix/sysv/linux/sys/syscall.h:25:24: asm/unistd.h: No such file or directory
In file included from ../linuxthreads/sysdeps/x86_64/tls.h:25,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:26,
from <stdin>:1:
../linuxthreads/sysdeps/x86_64/pt-machine.h:27:24: asm/prctl.h: No such file or directory
In file included from ../socket/sys/socket.h:35,
from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../linuxthreads/descr.h:19,
from ../linuxthreads/sysdeps/x86_64/tls.h:60,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:26,
from <stdin>:1:
../sysdeps/unix/sysv/linux/bits/socket.h:304:24: asm/socket.h: No such file or directory
In file included from ../sysdeps/unix/sysv/linux/sys/param.h:24,
from ../sysdeps/i386/i686/hp-timing.h:25,
from ../sysdeps/x86_64/hp-timing.h:23,
from ../linuxthreads/descr.h:25,
from ../linuxthreads/sysdeps/x86_64/tls.h:60,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:26,
from <stdin>:1:
/var/abs/base/glibc/pkg/usr/include/linux/param.h:4:23: asm/param.h: No such file or directory
make[2]: *** [/var/abs/base/glibc/src/glibc-build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/var/abs/base/glibc/src/glibc-2.3.4-20041108/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/abs/base/glibc/src/glibc-2.3.4-20041108'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
[/code]
Offline
Sorry i'm not offering any assistance, but I do encourage you in building a 64 for Arch, it would really help. If I had such a system I would definitely be doing it myself. When people do switch over to 64bit they should be able to continue using Arch with full optimizations, not as i686. It would be great to expand Arch by offering this. Good luck!
Offline
silly me! forgot to change the PKGBUILD ;-p i think i am close to getting a working 64bit glibc thanks for the encouragement yowwww
Offline
been a little busy the past few days but now that finals are over (for me anyways) at school i should have time to do more. got a 64bit glibc compiled and a few other things. i'll a list later today.
Offline
Made TONS of progress today! amazing what i can do with a little bit of free time.
autoconf 2.59-1
bash 3.0-3
binutils 2.15-1
diffutils 2.8.1-2
e2fsprogs 1.35-1
ed 0.2-2
file 4.12-1
filesystem 0.7-4
findutils 4.2.11-1
flex 2.5.31-2
gdbm 1.8.3-2
glibc 2.3.4-2
grep 2.5.1a-1
gzip 1.2.4b-1
kbd 1.12-1
less 382-2
libpcap 0.8.3-1
libtar 1.2.11-2
libtool 1.5.10-1
m4 1.4.2-1
mailx 8.1.1-2
make 3.80-1
mawk 1.3.3-6
mktemp 1.5-1
nano 1.2.4-3
ncurses 5.4-1
openssl 0.9.7e-1
pciutils 2.1.11-3
psmisc 21.5-1
readline 5.0-1
sed 4.1.3-1
tar 1.15.1-1
tcp_wrappers 7.6-6
wget 1.9.1-3
which 2.16-1
wireless_tools 27-1
zlib 1.2.2-1
tried to do gcc a few times but had problems i'm worried it might be because of glibc, but hopefully it won't be. also i need help with pam because there seems to be a patch missing in the abs tree but its in the pkgbuild wanted to know if i can just take it out of the pkgbuild since the patch isn't in the tree. Its pam_unix2.patch.
Offline
Wow! Very nice!
I'd love to help!
I'll try install a gentoo or debian amd64 with GCC3.4 this evening so I can start compiling packages if you want
I've got a amd64 Debian with gcc3.3 installed now.. but I guess I need gcc 3.4? Installing a GCC cross compiler on arch i686 shouldn't really be a problem. I'll try to readup on the problems with the i586 cross compiler..
Offline
New stuff!
bison 1.875-2
coreutils 5.2.1-5
cpio 2.6-1
cvsup 16.1h-2
dcron 2.9-2
man-pages 2.01-1
pacman 2.9.5-1
pam 0.78-1
ppp 2.4.3-1
procinfo 18-2
reiserfsprogs 3.6.19-1
shadow 4.0.7-1
util-linux 2.12-5
At approxomatiely 8:36 this morning standard eastern time the first ls was done by me in arch x86_64! Pacman was also run for the first time shortly afterwards. [/code]
Offline
decided to restart. I have found a major clue in getting 32bit backwards compatibility which i wanted to just leave out. But i think after i some changes i can get it to going. If i can't i'll just use what i already have. Just like to say thanks to the LFS project for providing clues. http://home.ix.netcom.com/~ejohns/glfs-amd64/intro.html
Offline
I was just reading that article an hour ago. I'll try that approach this evening to try to get a very basic arch system up and running.
Offline
Creepy: I'm on irc a lot so if you wanna talk...
Offline
Well! i don't know what to call today. A wasted day or a day of productivity. I gave up on trying to get a 32bit glibc going and left the task to Creepy. Thanks for the help! I continued compiling stuff since the 32bit glibc will go in /lib32 anyway. I should be close to getting gcc compiled at least i hope so. I figured out that the CFLAGS were screwing it up and i'm trying to find a way to over ride them in the PKGBUILD. anyone has any ideas just post them! Also i think i have a few packages to add to the list but i'm not sure. I'll figure it out and post them later.
EDIT: forgot to mention that i also booted arch with my gentoo kernel! It was pretty sick!
Offline
Offline
I booted a amd64 kernel with a complete 32bit arch userland (compiled with a gcc cross compiler).
After a recompile of gcc (with the amd64 crosscompiler under amd64 kernel) I couldn't recompile glibc because gcc_s couldn't be linked (wrong version, probably 32 bit..). I'm not sure why the native 64bit gcc want's to link with the 32bit gcc crosscompile libs. There are some message on the gcc mailing list about this, and they think it might be a gcc 3.4 bug.
I'll try to get a workaround going for this, this evening..
Offline
IceRAM: i know i can set it in the makepkg.conf but i'm looking for something i can set in the PKGBUILD for a long term solution. Here is a repost of the list because i'm to lazy to figure out whats new and what isn't Don't expect nice lists like kth5 does!
autoconf 2.59-1
bash 3.0-3
binutils 2.15-1
bzip2 1.0.2-3
coreutils 5.2.1-5
cpio 2.6-1
devfsd 1.3.25-4
diffutils 2.8.1-2
e2fsprogs 1.35-1
ed 0.2-2
file 4.12-1
filesystem 0.7-4
findutils 4.2.15-1
flex 2.5.31-2
gdbm 1.8.3-2
glibc 2.3.4-2
grep 2.5.1a-1
grub 0.96-1
gzip 1.2.4b-1
initscripts 0.7-8
kbd 1.12-1
less 382-2
libpcap 0.8.3-1
libtar 1.2.11-2
libtool 1.5.10-1
libusb 0.1.8-5
m4 1.4.2-1
mailx 8.1.1-2
mawk 1.3.3-6
mktemp 1.5-1
module-init-tools 3.1-2
nano 1.2.4-3
ncurses 5.4-1
net-tools 1.60-9
openssl 0.9.7e-1
pacman 2.9.5-1
pam 0.78-1
patch 2.5.4-2
pciutils 2.1.11-3
ppp 2.4.3-1
procinfo 18-2
readline 5.0-1
sed 4.1.4-1
shadow 4.0.7-1
sysvinit 2.86-1
tar 1.15.1-1
tcp_wrappers 7.6-6
udev 050-1
util-linux 2.12-6
vim 6.3-3
wget 1.9.1-3
which 2.16-1
wireless_tools 27-1
zlib 1.2.2-1
Creepy: BTW i found some more useful info thought it might help http://www.gentoo.org/proj/en/base/amd6 … t=2&chap=4
Offline
Nice going!
I've solved my error and now have a native 64 bit gcc which produces 64 bit binairies and glibc installed on a normal archlinux installation.
I need a few more packages before I have a complete build system to build amd64 arch packages. But that's the next step (tomorrow ).. When I have the base packages compiled I'll try to install those so I have a native amd64 userland.
Btw: gcc defaults to installing 64bit libs in /lib64 and 32bit libs in /lib (!). Thats what bit me with the glibc compile. I symlinked lib to lib64. When installing gcc it installed gcc_s 64bit in /lib64 and then gcc 32bit in /lib overwriting the 64 bit version (!). Removing the symlink thus having /lib and /lib64 seperate solved my glibc compiling problem
Offline
oops! sorry for suggesting the symlink thats how i had done it with 64bit glibc because i wasn't able to chroot after i compiled bash and stuff. Instead of rebuilding everything just rebuild glibc using makepkg and get the rest of the stuff from me. I'll find out the status of Maverick's opteron systems and see if he can get a mirror up. If he can't i'll just set it up myself on a spare system.
Offline
phoenix3051: i recommend just using what has already been compiled, but might wanna wait until Creepy gets glibc done... Since my version is 64bit only. Things like grub won't work.
The 64bit files are now on http://genesis.blogdns.net hopefully once Creepy's glibc is done things won't have to be recompiled since they linked against what was in /lib64 anyways. After that gcc is left and then the few problem packages like dhcpcd.
Offline
gcc and glibc aren't really a problem a.t.m. I've compiled them twice already
I'll see how fast I can get a basic arch system up and running with networking, gcc, glibc, abs and pacman so I can use a 64bit arch for other packages.
The packages wich are already compiled should work, but just to be sure I'd like to compile them again in 64bit arch so there is no gentoo legacy left
Offline
Wow, you guys are awesome. I have an AMD64 and REALLY want an Arch64 distro!
Offline