Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
I tryed now: delete all from /tools, all unpacked sources, begin at first with compile of binutils. That suceeded. Then, I continued the process with compile of gcc. Sorry, nothing change, it give me the error message written above. Today afternoon I should install the unlike ubuntu (exact/distinctly lubuntu) and try it again... 2013/10/24 Pierre Labastie pierre.labas...@neuf.fr Le 23/10/2013 23:49, Viola Zoltán a écrit : @akhiezer: I tryed: CFLAGS=-O2 -g make but no changed: Hi Viola, What I told about the LFS_TGT variable is important. I've seen that you have changed it in your 'printenv' output, but have you recompiled binutils with this new setting? If not, you are in a mixed native-croscompile setting, which cannot be expected to work... For the host distro I use, it is debian 7.0. I've also tried recent Arch, various Ubuntu's, Fedora's, and Suse's, all of them allowed to build LFS. Regards Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Le 22/10/2013 23:31, Viola Zoltán a écrit : lfs@Csiszilla ~ $ cat .bashrc set +h umask 022 LFS=/Mount/Simplicity LC_ALL=POSIX LFS_TGT=$(uname -m)-pc-linux-gnu Should be : |LFS_TGT=$(uname -m)-lfs-linux-gnu See section 4.4 and 5.2 for why. | PATH=/tools/bin:/bin:/usr/bin export LFS LC_ALL LFS_TGT PATH alias mc='. /usr/libexec/mc/mc-wrapper.sh' The last line is not from the book. I do not think it is related to the described failure, though, but who knows? If you are really a newbie, try to follow exactly the book. Regards Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Date: Tue, 22 Oct 2013 19:41:24 -0400 From: Viola Zoltán violaz...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Excuse me, I am very newbie and very idiotic... I tryed it: CFLAGS=-fno-exceptions -fno-rtti; make CFLAGS=--fno-exceptions --fno-rtti; make but nothing changed, the compile not succeeded, same error message... - shouldn't that be: CFLAGS=-fno-exceptions -fno-rtti make - i.e. without the semi-colon (';') ; and normally just use the single-dash ('-') format for those options (i.e. '-f...' instead of '--f...') . (Also, fwiw, for a make command-line I'd normally put such variables _after_ the 'make': make [ -f makefile ] [ options ] ... [ targets ] ... ). hth akh p.s. also try to avoid top-posting. -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Date: Wed, 23 Oct 2013 10:01:40 +0100 From: (akhiezer) To: LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Date: Tue, 22 Oct 2013 19:41:24 -0400 From: Viola Zoltán violaz...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Excuse me, I am very newbie and very idiotic... I tryed it: CFLAGS=-fno-exceptions -fno-rtti; make CFLAGS=--fno-exceptions --fno-rtti; make but nothing changed, the compile not succeeded, same error message... - shouldn't that be: CFLAGS=-fno-exceptions -fno-rtti make - i.e. without the semi-colon (';') ; and normally just use the single-dash ('-') format for those options (i.e. '-f...' instead of '--f...') . (Also, fwiw, for a make command-line I'd normally put such variables _after_ the 'make': make [ -f makefile ] [ options ] ... [ targets ] ... ). hth akh p.s. also try to avoid top-posting. - although, as Ken says, he's asking you to retry the make with the '-fno-exceptions -fno-rtti' options omitted - iff certain conditions are met - per details of Ken's 2+ messages (the stuff re '-O2 -g', etc). akh -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Sorry, nothing change. I was deleted all GCC source, begin from first the 5.5 chapter (compiling of GCC), with this command (after the configure): CFLAGS=-fno-exceptions -fno-rtti make but it write me this error message: /bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-latencytab.c insn-latencytab.c echo timestamp s-attrtab g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/. -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/Mount/Simplicity/sources/gcc-build/./gmp -I/Mount/Simplicity/sources/gcc-4.8.1/gmp -I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src -I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktraceinsn-attrtab.c -o insn-attrtab.o g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/Mount/Simplicity/sources/gcc-build/./gmp -I/Mount/Simplicity/sources/gcc-4.8.1/gmp -I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src -I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktrace\ -o build/genautomata.o ../../gcc-4.8.1/gcc/genautomata.c g++ -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genautomata \ build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a -lm build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md \ insn-conditions.md tmp-automata.c /bin/sh: line 1: 12525 Bus error build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md tmp-automata.c make[2]: *** [s-automata] Error 135 make[2]: Leaving directory `/Mount/Simplicity/sources/gcc-build/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/Mount/Simplicity/sources/gcc-build' make: *** [all] Error 2 2013/10/23 akhiezer lf...@cruziero.com Date: Wed, 23 Oct 2013 10:01:40 +0100 From: (akhiezer) To: LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Date: Tue, 22 Oct 2013 19:41:24 -0400 From: Viola Zoltán violaz...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Excuse me, I am very newbie and very idiotic... I tryed it: CFLAGS=-fno-exceptions -fno-rtti; make CFLAGS=--fno-exceptions --fno-rtti; make but nothing changed, the compile not succeeded, same error message... - shouldn't that be: CFLAGS=-fno-exceptions -fno-rtti make - i.e. without the semi-colon (';') ; and normally just use the single-dash ('-') format for those options (i.e. '-f...' instead of '--f...') . (Also, fwiw, for a make command-line I'd normally put such variables _after_ the 'make': make [ -f makefile ] [ options ] ... [ targets ] ... ). hth akh p.s. also try to avoid top-posting. - although, as Ken says, he's asking you to retry the make with the '-fno-exceptions -fno-rtti' options omitted - iff certain conditions are met - per details of Ken's 2+ messages (the stuff re '-O2 -g', etc). akh -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
The full printenv output: TERM=xterm OLDPWD=/Mount/Simplicity/sources/gcc-build LC_ALL=POSIX LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: LFS=/Mount/Simplicity PATH=/tools/bin:/bin:/usr/bin PWD=/Mount/Simplicity/sources/gcc-build LFS_TGT=i686-lfs-linux-gnu PS1=\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] SHLVL=1 HOME=/home/lfs _=/usr/bin/printenv 2013/10/23 akhiezer lf...@cruziero.com From lfs-support-boun...@linuxfromscratch.org Wed Oct 23 21:34:56 2013 Date: Wed, 23 Oct 2013 16:16:23 -0400 From: Viola Zoltán violaz...@gmail.com To: akhiezer lf...@cruziero.com, LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Sorry, nothing change. I was deleted all GCC source, begin from first the 5.5 chapter (compiling of GCC), with this command (after the configure): CFLAGS=-fno-exceptions -fno-rtti make but it write me this error message: /bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-latencytab.c insn-latencytab.c echo timestamp s-attrtab g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/. -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/Mount/Simplicity/sources/gcc-build/./gmp -I/Mount/Simplicity/sources/gcc-4.8.1/gmp -I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src -I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktraceinsn-attrtab.c -o insn-attrtab.o g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/Mount/Simplicity/sources/gcc-build/./gmp -I/Mount/Simplicity/sources/gcc-4.8.1/gmp -I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src -I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktrace\ -o build/genautomata.o ../../gcc-4.8.1/gcc/genautomata.c g++ -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genautomata \ build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a -lm build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md \ insn-conditions.md tmp-automata.c /bin/sh: line 1: 12525 Bus error build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md tmp-automata.c make[2]: *** [s-automata] Error 135
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
To: akhiezer lf...@cruziero.com, LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Sorry, nothing change. I was deleted all GCC source, begin from first the 5.5 chapter (compiling of GCC), with this command (after the configure): CFLAGS=-fno-exceptions -fno-rtti make but it write me this error message: /bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-latencytab.c insn-latencytab.c echo timestamp s-attrtab g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/. -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/Mount/Simplicity/sources/gcc-build/./gmp -I/Mount/Simplicity/sources/gcc-4.8.1/gmp -I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src -I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktraceinsn-attrtab.c -o insn-attrtab.o g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/Mount/Simplicity/sources/gcc-build/./gmp -I/Mount/Simplicity/sources/gcc-4.8.1/gmp -I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src -I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktrace\ -o build/genautomata.o ../../gcc-4.8.1/gcc/genautomata.c g++ -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genautomata \ build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o build/errors.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a -lm build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md \ insn-conditions.md tmp-automata.c /bin/sh: line 1: 12525 Bus error build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md tmp-automata.c make[2]: *** [s-automata] Error 135 make[2]: Leaving directory `/Mount/Simplicity/sources/gcc-build/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/Mount/Simplicity/sources/gcc-build' make: *** [all] Error 2 2013/10/23 akhiezer lf...@cruziero.com Date: Wed, 23 Oct 2013 10:01:40 +0100 From: (akhiezer) To: LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Date: Tue, 22 Oct 2013 19:41:24 -0400 From: Viola Zoltán violaz...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Subject: Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1 Excuse me, I am very newbie and very idiotic... I tryed it: CFLAGS=-fno-exceptions -fno-rtti; make CFLAGS=--fno-exceptions --fno-rtti; make but nothing changed, the compile not succeeded, same error message... - shouldn't that be: CFLAGS=-fno-exceptions -fno-rtti make - i.e. without the semi-colon (';') ; and normally just use the single-dash ('-') format for those options (i.e. '-f...' instead of '--f...') . (Also, fwiw, for a make command-line I'd normally put such variables _after_ the 'make': make [ -f makefile ] [ options ] ... [ targets ] ... ). hth akh p.s. also try to avoid top-posting. - although, as Ken says, he's asking you to retry the make with the '-fno-exceptions -fno-rtti' options omitted - iff certain conditions are met - per details of Ken's 2+ messages (the stuff re '-O2 -g', etc). akh Sorry to howevermuch-inadvertently partway-hijack a thread, but given time-differences c, here goes: Can you give the output of 'printenv' . Can you go 'round the loop again - i.e. fresh tarball-unpack, etc - and do: CFLAGS=-O2 -g make
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
On Wed, Oct 23, 2013 at 05:49:27PM -0400, Viola Zoltán wrote: @akhiezer: I tryed: CFLAGS=-O2 -g make but no changed: My final suggestion is : try a different host distro. The recent google matches for this were almost all for people updating packages on gentoo, which is why I suspect gentoo's hardening. There was one similar error for someone doing something on fedora, but at the moment I regard that as an outlier (it had no responses and apparently remains unresolved). One of the gentoo threads suggested that these errors could come from memory problems (test with memtest86), but I suspect there must also be something in the hardening which has an influence, because you are not getting a segfault. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Dear Ken, I am sure that this is no memory problem. I have absolutely full totally new memory chipset in my laptop, and all programs work very good, both in my Sabayon (because I use not Gentoo, but Sabayon) and my old Ubuntu 11.10 distro in an other partition. Okay, I try the LFS with any other host distro. Make a suggestion to me, please, which distro would be good for this procedure? No LiveCD please, I have an empty almost 100 GB partitio for the host system. Please propose a distro which has MC... I CAN use the commandline without MC, good, but WITH mc it is much easyer and faster. I am not profi in the Linux, but no beginner. Maybe power user. I can write not too difficult bash scripts, can programming in C/C++ (and a little bit in assembly...), my preferred window manager is the DWM, but I am newbie in the LFS, because I not understand good how the configure, the make, autoconf, automake and the linker work, not know they's syntax, etc. I am in the Linux autodidact, self-educated, I was never learned it in any school or training course. Actually/as a matter of fact, I was begin the LFS even just exactly because I would like to know FULLY, how a Linux system work, and because I very not like the bloatware distros (named *buntu, etc) with lot of (for me) superfluous programs. I like, agree, approve the suckless.orgphilosophy. I like the commandline and the commandline-based programs (and ncurses). But sorry, I not have a good mentor... Thus, what host distro do you suggest for me, which work good (tested) sure to this LFS? Zoli 2013/10/23 Ken Moffat zarniwh...@ntlworld.com On Wed, Oct 23, 2013 at 05:49:27PM -0400, Viola Zoltán wrote: @akhiezer: I tryed: CFLAGS=-O2 -g make but no changed: My final suggestion is : try a different host distro. The recent google matches for this were almost all for people updating packages on gentoo, which is why I suspect gentoo's hardening. There was one similar error for someone doing something on fedora, but at the moment I regard that as an outlier (it had no responses and apparently remains unresolved). One of the gentoo threads suggested that these errors could come from memory problems (test with memtest86), but I suspect there must also be something in the hardening which has an influence, because you are not getting a segfault. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
On Wed, Oct 23, 2013 at 07:14:15PM -0400, Viola Zoltán wrote: Dear Ken, I am sure that this is no memory problem. I have absolutely full totally new memory chipset in my laptop, and all programs work very good, both in my Sabayon (because I use not Gentoo, but Sabayon) and my old Ubuntu 11.10 distro in an other partition. Okay, I try the LFS with any other host distro. Make a suggestion to me, please, which distro would be good for this procedure? No LiveCD please, I have an empty almost 100 GB partitio for the host system. Please propose a distro which has MC... I CAN use the commandline without MC, good, but WITH mc it is much easyer and faster. I am not profi in the Linux, but no beginner. Maybe power user. I can write not too difficult bash scripts, can programming in C/C++ (and a little bit in assembly...), my preferred window manager is the DWM, but I am newbie in the LFS, because I not understand good how the configure, the make, autoconf, automake and the linker work, not know they's syntax, etc. I am in the Linux autodidact, self-educated, I was never learned it in any school or training course. Actually/as a matter of fact, I was begin the LFS even just exactly because I would like to know FULLY, how a Linux system work, and because I very not like the bloatware distros (named *buntu, etc) with lot of (for me) superfluous programs. I like, agree, approve the suckless.orgphilosophy. I like the commandline and the commandline-based programs (and ncurses). But sorry, I not have a good mentor... Thus, what host distro do you suggest for me, which work good (tested) sure to this LFS? Zoli I've no idea which distro would suit you. But whatever you use, 100GB is excessively large for a system. Many people will put the user's files in /home on a separate partition. Some people will put other data files (e.g. audio-video) on a separate partition. You can always reinstall a distro if it gets trashed, but you are the only one who can preserve and back-up your own data. Debian and debian-derived distros (ubuntu, mint) may be missing a few things (e.g. they might have mawk instead of gawk, and /bin/sh might be symlinked to dash - both these things can be fixed). Distros like Arch and fedora might be too bleeding edge (i.e. newer than what we have tested), but I will be surprised if they cause many problems (I'm assuming that systemd doesn't cause a problem in building LFS - I've never used it, and have no plans to). MC is not something I like, so I've no idea which distros use it. The one benefit to a distro is that it should set up your hardware properly. Nowadays many things just work, but older or very new hardware can have problems. Wifi can be a problem, and occasionally graphics are also a problem. Suspend/hibernate also. If you can find a distro which suits you, you can use it to examine desktops and different desktop applications. I assume that debian has the widest range of these. Once you have a usable (for you) desktop, you will (I hope) find that using a graphical browser such as firefox is the easiest way to search for solutions to problems, and you will also be able to try putting multiple terms on the same desktop (if your screen is big enough) - I guess that kde, gnome, and unity (ubuntu) are probably not very good for multiple terms on the same desktop. Seriously, a desktop configured the way you like it, with multiple terms, is the most productive way to write scripts or code IMHO. I'd better not forget to mention Slackware. You might do best to spend a few weeks playing around with different distros - for normal use, I guess that 10GB is plenty for a system, but you may have trouble getting multiple distros to play nicely with each other - particularly when setting up grub, but also the user and group IDs. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Dear Ken, I need the new distro from you suggestion ONLY, JUST for the building of LFS, no for other works/jobs! No problem, if it not have wifi-possibility or others. I saved the full LFS and BLFS books to my new-used partition, I will work from its. And I was downloaded all needed packages, of course. I will install the new host distro, and build LFS. If I would like work/play any other, then reboot to my Sabayon. Therefore, I no need full-featured desktop environment. Just a lightweight WM with a browser to read the LFS book, mc (not musthaved, but I like it) and nothing else, just I should can build my LFS. I need the host distro just temporarily, ad interim. Which distro you do use nowadays for build you LFS system? Or, it is would be much easyer to my, that if you have a full temporary system as written in the LFS book, - finished to the 5.35 chapter - then you pack it to a tar.bz2 file, and send me its download link. I download it, unpack it to my partition, change ownership, and begin at this chapter I continue the building of my own LFS system, with chroot and others. This is a little bit would be alike to the Gentoo, from stage3, I think. Zoli 2013/10/23 Ken Moffat zarniwh...@ntlworld.com On Wed, Oct 23, 2013 at 07:14:15PM -0400, Viola Zoltán wrote: Dear Ken, I am sure that this is no memory problem. I have absolutely full totally new memory chipset in my laptop, and all programs work very good, both in my Sabayon (because I use not Gentoo, but Sabayon) and my old Ubuntu 11.10 distro in an other partition. Okay, I try the LFS with any other host distro. Make a suggestion to me, please, which distro would be good for this procedure? No LiveCD please, I have an empty almost 100 GB partitio for the host system. Please propose a distro which has MC... I CAN use the commandline without MC, good, but WITH mc it is much easyer and faster. I am not profi in the Linux, but no beginner. Maybe power user. I can write not too difficult bash scripts, can programming in C/C++ (and a little bit in assembly...), my preferred window manager is the DWM, but I am newbie in the LFS, because I not understand good how the configure, the make, autoconf, automake and the linker work, not know they's syntax, etc. I am in the Linux autodidact, self-educated, I was never learned it in any school or training course. Actually/as a matter of fact, I was begin the LFS even just exactly because I would like to know FULLY, how a Linux system work, and because I very not like the bloatware distros (named *buntu, etc) with lot of (for me) superfluous programs. I like, agree, approve the suckless.orgphilosophy. I like the commandline and the commandline-based programs (and ncurses). But sorry, I not have a good mentor... Thus, what host distro do you suggest for me, which work good (tested) sure to this LFS? Zoli I've no idea which distro would suit you. But whatever you use, 100GB is excessively large for a system. Many people will put the user's files in /home on a separate partition. Some people will put other data files (e.g. audio-video) on a separate partition. You can always reinstall a distro if it gets trashed, but you are the only one who can preserve and back-up your own data. Debian and debian-derived distros (ubuntu, mint) may be missing a few things (e.g. they might have mawk instead of gawk, and /bin/sh might be symlinked to dash - both these things can be fixed). Distros like Arch and fedora might be too bleeding edge (i.e. newer than what we have tested), but I will be surprised if they cause many problems (I'm assuming that systemd doesn't cause a problem in building LFS - I've never used it, and have no plans to). MC is not something I like, so I've no idea which distros use it. The one benefit to a distro is that it should set up your hardware properly. Nowadays many things just work, but older or very new hardware can have problems. Wifi can be a problem, and occasionally graphics are also a problem. Suspend/hibernate also. If you can find a distro which suits you, you can use it to examine desktops and different desktop applications. I assume that debian has the widest range of these. Once you have a usable (for you) desktop, you will (I hope) find that using a graphical browser such as firefox is the easiest way to search for solutions to problems, and you will also be able to try putting multiple terms on the same desktop (if your screen is big enough) - I guess that kde, gnome, and unity (ubuntu) are probably not very good for multiple terms on the same desktop. Seriously, a desktop configured the way you like it, with multiple terms, is the most productive way to write scripts or code IMHO. I'd better not forget to mention Slackware. You might do best to spend a few weeks playing around with different distros - for normal use, I guess that 10GB is plenty for a system, but you may
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
On Wed, Oct 23, 2013 at 09:00:36PM -0400, Viola Zoltán wrote: Dear Ken, I need the new distro from you suggestion ONLY, JUST for the building of LFS, no for other works/jobs! No problem, if it not have wifi-possibility or others. I saved the full LFS and BLFS books to my new-used partition, I will work from its. And I was downloaded all needed packages, of course. I will install the new host distro, and build LFS. If I would like work/play any other, then reboot to my Sabayon. Therefore, I no need full-featured desktop environment. Just a lightweight WM with a browser to read the LFS book, mc (not musthaved, but I like it) and nothing else, just I should can build my LFS. I need the host distro just temporarily, ad interim. Which distro you do use nowadays for build you LFS system? To answer that last question - LFS. I have used debian-ppc and then ubuntu for my non x86 boxes, but the last x86 distro I used was probably mandrake-7.2. Is sabayon the gentoo-based hardened distro you were using ? Or did you actually install gentoo ? Or, it is would be much easyer to my, that if you have a full temporary system as written in the LFS book, - finished to the 5.35 chapter - then you pack it to a tar.bz2 file, and send me its download link. I download it, unpack it to my partition, change ownership, and begin at this chapter I continue the building of my own LFS system, with chroot and others. This is a little bit would be alike to the Gentoo, from stage3, I think. Zoli Four reasons why I can't do that : 1. I don't have such a tarball. 2. Size - I don't have anywhere to upload large files. 3. Licensing - you would need my buildscripts, and I would also have to offer to supply you with the source tarballs for a reasonable time, at least for the GPL'd packages. 4. I'm normally building on x86_64. You are building i686. At this point, perhaps I should mention that we really dislike top posting. You mentioned that you didn't like ubuntu : if you have a fairly-recent ubuntu CD, that should be good enough : install it and then boot ubuntu, install a minimal desktop instead of the bloated 'buntu desktop (I prefer icewm, but xfce is nearly as useful), your mc, and then whatever it needs for LFS - build-essentials, and replacing the dash symlink is my guess. Check the host system requirements in the book. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Okay, thanks. 2013/10/23 Ken Moffat zarniwh...@ntlworld.com On Wed, Oct 23, 2013 at 09:00:36PM -0400, Viola Zoltán wrote: Dear Ken, I need the new distro from you suggestion ONLY, JUST for the building of LFS, no for other works/jobs! No problem, if it not have wifi-possibility or others. I saved the full LFS and BLFS books to my new-used partition, I will work from its. And I was downloaded all needed packages, of course. I will install the new host distro, and build LFS. If I would like work/play any other, then reboot to my Sabayon. Therefore, I no need full-featured desktop environment. Just a lightweight WM with a browser to read the LFS book, mc (not musthaved, but I like it) and nothing else, just I should can build my LFS. I need the host distro just temporarily, ad interim. Which distro you do use nowadays for build you LFS system? To answer that last question - LFS. I have used debian-ppc and then ubuntu for my non x86 boxes, but the last x86 distro I used was probably mandrake-7.2. Is sabayon the gentoo-based hardened distro you were using ? Or did you actually install gentoo ? Or, it is would be much easyer to my, that if you have a full temporary system as written in the LFS book, - finished to the 5.35 chapter - then you pack it to a tar.bz2 file, and send me its download link. I download it, unpack it to my partition, change ownership, and begin at this chapter I continue the building of my own LFS system, with chroot and others. This is a little bit would be alike to the Gentoo, from stage3, I think. Zoli Four reasons why I can't do that : 1. I don't have such a tarball. 2. Size - I don't have anywhere to upload large files. 3. Licensing - you would need my buildscripts, and I would also have to offer to supply you with the source tarballs for a reasonable time, at least for the GPL'd packages. 4. I'm normally building on x86_64. You are building i686. At this point, perhaps I should mention that we really dislike top posting. You mentioned that you didn't like ubuntu : if you have a fairly-recent ubuntu CD, that should be good enough : install it and then boot ubuntu, install a minimal desktop instead of the bloated 'buntu desktop (I prefer icewm, but xfce is nearly as useful), your mc, and then whatever it needs for LFS - build-essentials, and replacing the dash symlink is my guess. Check the host system requirements in the book. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
On Tue, Oct 22, 2013 at 05:31:19PM -0400, Viola Zoltán wrote: Hi, excuse me for the bad English... I try LFS from Sabayon host system, with this GCC version: lfs@Csiszilla /Mount/Simplicity/sources/gcc-build $ gcc --version gcc (Gentoo Hardened 4.7.2-r1 p1.5, pie-0.5.5) 4.7.2 The binutils succeeded. The GCC not. It wrote me this error message: build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md \ insn-conditions.md tmp-automata.c /bin/sh: line 1: 24043 Bus error build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md tmp-automata.c make[3]: *** [s-automata] Error 135 Apparently, a bus error differs from a segfault - valid memory is being accessed in an invalid way. The example google found was for unaligned accesses on architectures where those are illegal. i686 is generally very permissive, so I can't imagine what sort of access would cause this. Google did find similar examples on gentoo lists (users trying to emerge gcc and getting a Bus error). Apparently, the pie setting was involved. I've no idea how you would reduce the hardening on a gentoo system. Someone in another gentoo response suggested reducing the CFLAGS to something sane - if you are following LFS exactly, then the default CFLAGS from the package should be used. I -fno-exceptions -fno-rtti are from the package. But if you did set those, try without them. My significant variables: lfs@Csiszilla /Mount/Simplicity/sources/gcc-build $ echo $LFS /Mount/Simplicity Might work nowadays, but we always recommend /mnt/lfs. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
Excuse me, I am very newbie and very idiotic... I tryed it: CFLAGS=-fno-exceptions -fno-rtti; make CFLAGS=--fno-exceptions --fno-rtti; make but nothing changed, the compile not succeeded, same error message... 2013/10/22 Ken Moffat zarniwh...@ntlworld.com On Tue, Oct 22, 2013 at 11:12:09PM +0100, Ken Moffat wrote: Someone in another gentoo response suggested reducing the CFLAGS to something sane - if you are following LFS exactly, then the default CFLAGS from the package should be used. I -fno-exceptions -fno-rtti are from the package. But if you did set those, try without them. That second sentence should start I assume -fno-exceptions ... ^^ ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1
On Tue, Oct 22, 2013 at 07:41:24PM -0400, Viola Zoltán wrote: Excuse me, I am very newbie and very idiotic... I tryed it: CFLAGS=-fno-exceptions -fno-rtti; make CFLAGS=--fno-exceptions --fno-rtti; make but nothing changed, the compile not succeeded, same error message... I intended you to try REMOVING those CFLAGS by setting CFLAGS to just -O2 -g, but ONLY if they were already set in your LFS user's CFLAGS. I know you posted some variables in your original post, but perhaps your lfs user has mangaged to acquire some other settings from the host distro ? I don't understand the details of gentoo, but running 'printenv' as the lfs user should enable you to check that if you are in any doubt. Or 'printenv | less' if htings have been picked up. Also, if you do change anything like that you need to use freshly untarred source and a fresh (empty) build directory, and specify them when you run configure. But I think the most likely problem is that your gentoo system has been hardened, and I have no idea how to deal with that. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
Hi 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. I'd say some Debian or Gentoo LiveCD works fine. At the starting of the book, you'll be able to check wether you have host prerequisities and, otherwise, install the needed. Ubuntu seems to cause, sometimes, issues, but maybe things have changed. Indeed, using Ubuntu as host system you will see /bin/sh - /bin/dash in version-check output (host system requirements). Since you will encounter errors using dash shell you really want to change from dash to bash - as you can read in the archive [1] I had to learn it, too. [1] http://comments.gmane.org/gmane.linux.lfs.support/37167 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
Le vendredi 16 août à 20:46, inquiring.m...@hushmail.com a écrit : Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. Hi. To buld LFS, a minimal knowledge about linux is required. You should know how to get the packages :-) 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. The grml livecd based on debian was fine except you had to change from zsh to bash but I don't know about it now. Have a look at http://grml.org/ 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems. You need gdisk. -- Ph. Delavalade -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
On Fri, 16 Aug 2013 16:32:57 -0500 William Harrington kb0...@berzerkula.org wrote: On Aug 16, 2013, at 3:09 PM, Aleksandar Kuktin wrote: As stated above, you can use the LFS live CD although it is rather old. Can't build current LFS with LFS 6.3 livecd. That's why I've updated it. But that will soon come to an end with gcc-4.8.x targets. the 6.3 livecd uses gcc 4.1.2 which has no Wno-narrowing and another variable which causes issues when cross compiling. I'd need to update the livecd to at least gcc 4.4 or 4.5 to get rid of it, not a problem, just letting you know. A new LFS livecd needs to be available, or get rid of it and have a wiki for people to look toward to hosts that work wtih LFS and the commands required to get them to the point if they don't meet the host system requirements. Sincerely, William Harrington I had a general idea that there are people who maintain the livecd, but I didn't know much more about it. -- You don't need an AI for a robot uprising. Humans will do just fine. signature.asc Description: PGP signature -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Newbie
Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems. I realise there are a few different points here but would appreciate some help on this to get me started. Thanks in advance. IM. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Newbie
Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems (http://www.rodsbooks.com/gdisk/gdisk.html) I realise there are a few different points here but would appreciate some help on this to get me started. Thanks in advance. IM. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
inquiring.m...@hushmail.com wrote: Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. Any of those should be OK, but you will need to update them by adding a few packages. The procedures you use depend on which is used. 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems. You will need to install a GPT partition table. The distros above should do that for you. Just make sure to leave room for LFS. Generally a build partition of 10G is plenty. Personally, I'd keep the *buntu, RH, etc partition small. 10G is fine for them too. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
From: inquiring.m...@hushmail.com inquiring.m...@hushmail.com To: lfs-support@linuxfromscratch.org Sent: Friday, August 16, 2013 1:46 PM Subject: [lfs-support] Newbie Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems. I realise there are a few different points here but would appreciate some help on this to get me started. Thanks in advance. IM. Any distribution will do. Use unetbootin and put the image on a usb drive allowing space to save your work Then add any packages you may need to meet the host requirements. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
On Aug 16, 2013, at 1:46 PM, inquiring.m...@hushmail.com wrote: Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html ) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems. I realise there are a few different points here but would appreciate some help on this to get me started. http://www.linuxfromscratch.org/lfs/view/stable/prologue/prerequisites.html You should know how to download packages. The links are given in the section of the book about packages and patches. For a livecd you can use the one I keep updated http://cross-lfs.org/~kb0iic/livecdupd/ or any other livecd which meets the host system requirements. The host sys reqs page does state that dev packages may need to be installed. There are wikis about configuring bootloaders for EUFI, and if you have the above and patience and don't want quick answers and can search mailing lists and documentation, then you will most likely succeed. LFS has a FAQ, has a mailing list (which is archived by gmane and others to search), do not take the LFS support page and download page and book for granted. Read and comprehend and have fun building LFS. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
On vendredi 16 août 2013 à 19:46:24 (+0100), inquiring.m...@hushmail.com wrote: Hello all, Hi, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. LFS is a book. On the website, in section LFS, you can download it or read it on line. Read all the book and you will have a fepter in it which will help you downloading all xou need. But read the whole book (except maybe the changelog). Don't skip anything. To download the packages, everything is explained chap3. 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. I'd say some Debian or Gentoo LiveCD works fine. At the starting of the book, you'll be able to check wether you have host prerequisities and, otherwise, install the needed. Ubuntu seems to cause, sometimes, issues, but maybe things have changed. 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems. As far I know, you can toogle, in your bios, between classical and UEFI mode. You should enable classic mode. Your question goes beyond the primary purpose of the project. I don't know. You should read how to install a classical distro such as Debian, Arch or Gentoo on such configurations. As you'll see, lfs doesn't explain topics such as kernel configuration, etc. You should learn more about these stuff before starting such build. I realise there are a few different points here but would appreciate some help on this to get me started. Thanks in advance. IM. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
Hello and welcome. Feel as if at home. On Fri, 16 Aug 2013 19:46:24 +0100 inquiring.m...@hushmail.com wrote: Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. You either have to download them yourself, one at a time, or get yourself a copy of the LFS live CD which has them all in one place. However, I am pretty certain that the LFS live CD has not been maintained for some time and therefore the packages you can find on one will almost certainly be old. 2. I'd also like to know which LIVE CD/DVD you can recommend to use as a base that satisfies all the criteria from the script on the host requirements page (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html) as all the distro's I've chosen (major ones like Kubuntu, CentOS, Gentoo, etc) all fail on one or more element. Some of them fail on BISON while others on GCC, a package I suspect to be rather important in this endeavour. As stated above, you can use the LFS live CD although it is rather old. The other alternative is to take a distro which is close to what you need and just add the missing stuff to it. 3. I recently bought a new computer with no OS on it just for installing Linux on it and learning more about it so LFS seemed to be ideal. It's a new platform with UEFI instead of the older BIOS a 3TB HDD. I read that on drives like this, the old fdisk tool is insufficient but the only instructions I've seen in the manual are for the older, fdisk programme. I read something about needing to install a FAT32 partition at the start or something like that but wasn't sure if this was right or not as I know that FS is quite different to any *nix based filesystems. The fdisk manual page states that fdisk was, in fact, not designed for big partitions. It further states that one should use the more advanced GNU parted for such disks. Therefore, use parted. And I'm pretty sure you can ignore that FAT32 at the start part. -- You don't need an AI for a robot uprising. Humans will do just fine. signature.asc Description: PGP signature -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
On Aug 16, 2013, at 3:09 PM, Aleksandar Kuktin wrote: As stated above, you can use the LFS live CD although it is rather old. Can't build current LFS with LFS 6.3 livecd. That's why I've updated it. But that will soon come to an end with gcc-4.8.x targets. the 6.3 livecd uses gcc 4.1.2 which has no Wno-narrowing and another variable which causes issues when cross compiling. I'd need to update the livecd to at least gcc 4.4 or 4.5 to get rid of it, not a problem, just letting you know. A new LFS livecd needs to be available, or get rid of it and have a wiki for people to look toward to hosts that work wtih LFS and the commands required to get them to the point if they don't meet the host system requirements. Sincerely, William Harrington-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
Jean-Philippe MENGUAL wrote: As far I know, you can toogle, in your bios, between classical and UEFI mode. You should enable classic mode. Not with a 3T drive. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Newbie
Aleksandar Kuktin wrote: Hello and welcome. Feel as if at home. On Fri, 16 Aug 2013 19:46:24 +0100 inquiring.m...@hushmail.com wrote: Hello all, 1. I just saw the LFS site and would like to try it but can't see the section that says how to download the source file packages ready to work through the programme. You either have to download them yourself, one at a time, or get yourself a copy of the LFS live CD which has them all in one place. They are at http://anduin.linuxfromscratch.org/sources/LFS/lfs-packages/ 7.4-rc1 should be there later today. The fdisk manual page states that fdisk was, in fact, not designed for big partitions. It further states that one should use the more advanced GNU parted for such disks. Therefore, use parted. And I'm pretty sure you can ignore that FAT32 at the start part. For a EFI based system it can be a little tricky. Let a distro do it the first time. gdisk is easier to use than parted. No, you don't need a FAT partition, but you do need a small (1 MB) grub partition. Keep ALL boundaries aligned with even MB to avoid possible problems. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page