Re: FC6 (x86_64) as a host system
El Martes, 20 de Marzo de 2007 06:18, Fix escribió: > If you're building 64-bit *LFS system WITHOUT use of the cross > compilation, you would need the 64-bit host system, I guess. That's > what I do. And I think that system wouldn't be neither Cross nor > Beyond LFS. Right, but the LFS book is intended only for x86 --> x86 builds. For not cross-compiled builds on others arches, included x86-64 --> x86-64 builds, you may need a different sets of instructions and/or patches that currently aren't discussed on any *LFS book. -- Manuel Canales Esparcia Usuario de LFS nº2886: http://www.linuxfromscratch.org LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info TLDP-ES: http://es.tldp.org -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: FC6 (x86_64) as a host system
On 3/20/07, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote: > And IMHO any mention of the old 64-bit CLFS LiveCD should be removed from > the site. LiveCD that I was talking about is ftp://anduin.linuxfromscratch.org/LFS-LiveCD/lfslivecd-x86_64-CRS051009-pre1.iso And yes, now I've noticed that this LiveCD, really, is just a little old: 16.10.2005 01:00:00 So I think you're a quite right. It needs to be removed. :) Fix jabber: [EMAIL PROTECTED] -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: FC6 (x86_64) as a host system
On 3/20/07, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote: > > What are you talking about? The regular stable 6.2-5 LFS LiveCD also > contains a 64-bit kernel (but the userspace is still 32-bit). It is good > enough to compile x86_64 CLFS using the chroot method. If you're building 64-bit *LFS system WITHOUT use of the cross compilation, you would need the 64-bit host system, I guess. That's what I do. And I think that system wouldn't be neither Cross nor Beyond LFS. Fix -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: FC6 (x86_64) as a host system
Alexander E. Patrakov wrote: > And IMHO any mention of the old 64-bit CLFS LiveCD should be removed from > the site. I believe you have the privileges to do that. -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: FC6 (x86_64) as a host system
Fix wrote: > However, I've seen x86_64 beta LiveCD on the ftp, and I thought it is > a development version of the LFS. Is it a CLFS? What are you talking about? The regular stable 6.2-5 LFS LiveCD also contains a 64-bit kernel (but the userspace is still 32-bit). It is good enough to compile x86_64 CLFS using the chroot method. And IMHO any mention of the old 64-bit CLFS LiveCD should be removed from the site. -- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: FC6 (x86_64) as a host system
On 3/19/07, Bryan Kadzban <[EMAIL PROTECTED]> wrote: > > And as Chris told you in your other thread, LFS doesn't support either > multilib or 64-bit systems. You want CLFS: > > http://trac.cross-lfs.org/ > > instead. Well, thanks for deciding for me what I want. :) However, I've seen x86_64 beta LiveCD on the ftp, and I thought it is a development version of the LFS. Is it a CLFS? Fix -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: FC6 (x86_64) as a host system
Fix wrote: >> Greg came up with a pretty good solution for DIY (IMO). Basically, >> by passing CC="gcc -B/usr/bin/" during binutils-pass1 and >> gcc-pass1, gcc will continue to use the host linker until we get >> our gcc built. > > Maybe this hack work for FC6 (i686), but it isn't actually sufficient > on bi-arch (multilib) system. And as Chris told you in your other thread, LFS doesn't support either multilib or 64-bit systems. You want CLFS: http://trac.cross-lfs.org/ instead. signature.asc Description: OpenPGP digital signature -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
FC6 (x86_64) as a host system
> Greg came up with a pretty good solution for DIY (IMO). Basically, by > passing CC="gcc -B/usr/bin/" during binutils-pass1 and gcc-pass1, gcc > will continue to use the host linker until we get our gcc built. Maybe this hack work for FC6 (i686), but it isn't actually sufficient on bi-arch (multilib) system. Let's see. Fedora Core 6 (x86_64). gcc-4.1.2 binutils-2.17 During gcc Pass 1: ./xgcc -B./ -B/tools/x86_64-pc-linux-gnu/bin/ -isystem /tools/x86_64-pc-linux-gn u/include -isystem /tools/x86_64-pc-linux-gnu/sys-include -L/mnt/lfs/.ebuild/.tm p/gcc-build/gcc/../ld -O2 -O2 -g -O2 -DIN_GCC-W -Wall -Wwrite-strings -Ws trict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -n odefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/./libgcc.map -o ./libgcc_s.so.1.tmp libgcc/./_muldi3_s.o libgcc/./_negdi2_s.o libgcc/./_lsh rdi3_s.o libgcc/./_ashldi3_s.o libgcc/./_ashrdi3_s.o libgcc/./_cmpdi2_s.o libgcc /./_ucmpdi2_s.o libgcc/./_clear_cache_s.o libgcc/./_enable_execute_stack_s.o lib gcc/./_trampoline_s.o libgcc/./__main_s.o libgcc/./_absvsi2_s.o libgcc/./_absvdi 2_s.o libgcc/./_addvsi3_s.o libgcc/./_addvdi3_s.o libgcc/./_subvsi3_s.o libgcc/. /_subvdi3_s.o libgcc/./_mulvsi3_s.o libgcc/./_mulvdi3_s.o libgcc/./_negvsi2_s.o libgcc/./_negvdi2_s.o libgcc/./_ctors_s.o libgcc/./_ffssi2_s.o libgcc/./_ffsdi2_ s.o libgcc/./_clz_s.o libgcc/./_clzsi2_s.o libgcc/./_clzdi2_s.o libgcc/./_ctzsi2 _s.o libgcc/./_ctzdi2_s.o libgcc/./_popcount_tab_s.o libgcc/./_popcountsi2_s.o l ibgcc/./_popcountdi2_s.o libgcc/./_paritysi2_s.o libgcc/./_paritydi2_s.o libgcc/ ./_powisf2_s.o libgcc/./_powidf2_s.o libgcc/./_powixf2_s.o libgcc/./_powitf2_s.o libgcc/./_mulsc3_s.o libgcc/./_muldc3_s.o libgcc/./_mulxc3_s.o libgcc/./_multc3 _s.o libgcc/./_divsc3_s.o libgcc/./_divdc3_s.o libgcc/./_divxc3_s.o libgcc/./_di vtc3_s.o libgcc/./_fixunssfsi_s.o libgcc/./_fixunsdfsi_s.o libgcc/./_fixunsxfsi_ s.o libgcc/./_fixsfdi_s.o libgcc/./_fixunssfdi_s.o libgcc/./_floatdisf_s.o libgc c/./_fixdfdi_s.o libgcc/./_fixunsdfdi_s.o libgcc/./_floatdidf_s.o libgcc/./_fixx fdi_s.o libgcc/./_fixunsxfdi_s.o libgcc/./_floatdixf_s.o libgcc/./_fixtfdi_s.o l ibgcc/./_fixunstfdi_s.o libgcc/./_floatditf_s.o libgcc/./_divdi3_s.o libgcc/./_m oddi3_s.o libgcc/./_udivdi3_s.o libgcc/./_umoddi3_s.o libgcc/./_udiv_w_sdiv_s.o libgcc/./_udivmoddi4_s.o libgcc/./unwind-dw2_s.o libgcc/./unwind-dw2-fde-glibc_s .o libgcc/./unwind-sjlj_s.o libgcc/./gthr-gnat_s.o libgcc/./unwind-c_s.o -lc && rm -f ./libgcc_s.so && if [ -f ./libgcc_s.so.1 ]; then mv -f ./libgcc_s.so.1 ./l ibgcc_s.so.1.backup; else true; fi && mv ./libgcc_s.so.1.tmp ./libgcc_s.so.1 && ln -s libgcc_s.so.1 ./libgcc_s.so /lib64/libc.so.6: file not recognized: File format not recognized $ strings /lib64/libc.so.6 | grep \\.hash .gnu.hash $ echo $CC gcc -B/usr/bin $ ${CC} -print-prog-name=ld /usr/bin/ld $ cat gcc-build/Makefile | grep "^CC =" CC = gcc -B/usr/bin $ gcc-build/gcc/xgcc -print-prog-name=ld /tools/lib/../x86_64-pc-linux-gnu/bin/ld If using binutils-2.17.50.0.12 ./xgcc -B./ -B/tools/x86_64-pc-linux-gnu/bin/ -isystem /tools/x86_64-pc-linux-gn u/include -isystem /tools/x86_64-pc-linux-gnu/sys-include -L/mnt/lfs/.ebuild/.tm p/gcc-build/gcc/../ld -O2 -O2 -g -O2 -DIN_GCC-W -Wall -Wwrite-strings -Ws trict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -n odefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/32/libgcc.ma p -o 32/libgcc_s.so.1.tmp -m32 libgcc/32/_muldi3_s.o libgcc/32/_negdi2_s.o libg cc/32/_lshrdi3_s.o libgcc/32/_ashldi3_s.o libgcc/32/_ashrdi3_s.o libgcc/32/_cmpd i2_s.o libgcc/32/_ucmpdi2_s.o libgcc/32/_clear_cache_s.o libgcc/32/_enable_execu te_stack_s.o libgcc/32/_trampoline_s.o libgcc/32/__main_s.o libgcc/32/_absvsi2_s .o libgcc/32/_absvdi2_s.o libgcc/32/_addvsi3_s.o libgcc/32/_addvdi3_s.o libgcc/3 2/_subvsi3_s.o libgcc/32/_subvdi3_s.o libgcc/32/_mulvsi3_s.o libgcc/32/_mulvdi3_ s.o libgcc/32/_negvsi2_s.o libgcc/32/_negvdi2_s.o libgcc/32/_ctors_s.o libgcc/32 /_ffssi2_s.o libgcc/32/_ffsdi2_s.o libgcc/32/_clz_s.o libgcc/32/_clzsi2_s.o libg cc/32/_clzdi2_s.o libgcc/32/_ctzsi2_s.o libgcc/32/_ctzdi2_s.o libgcc/32/_popcoun t_tab_s.o libgcc/32/_popcountsi2_s.o libgcc/32/_popcountdi2_s.o libgcc/32/_parit ysi2_s.o libgcc/32/_paritydi2_s.o libgcc/32/_powisf2_s.o libgcc/32/_powidf2_s.o libgcc/32/_powixf2_s.o libgcc/32/_powitf2_s.o libgcc/32/_mulsc3_s.o libgcc/32/_m uldc3_s.o libgcc/32/_mulxc3_s.o libgcc/32/_multc3_s.o libgcc/32/_divsc3_s.o libg cc/32/_divdc3_s.o libgcc/32/_divxc3_s.o libgcc/32/_divtc3_s.o libgcc/32/_fixunss fsi_s.o libgcc/32/_fixunsdfsi_s.o libgcc/32/_fixunsxfsi_s.o libgcc/32/_fixsfdi_s .o libgcc/32/_fixunssfdi_s.o libgcc/32/_floatdisf_s.o libgcc/32/_fixdfdi_s.o lib gcc/32/_fixunsdfdi_s.o libgcc/32/_floatdidf_s.o libgc