LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-21-2010, 06:40 AM   #1
gibin
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 0
stuck in building binutils pass1


iam trying lfs for first time.i'm using lfs 6.3 and packages from livecd.i building this in ubuntu 9.10 as VM and have all necessary prerequisites.
now the problem is i cant complete the make process of binutils pass 1.i sucessfully built the temporary system once.But unfortunately lost it.i starting again from scratch and follow the same steps as i did earlier.but i cant pass this binutils package.
everything works fine until configure process.after that when i issue 'make' the operations in configure seems repeating its continuing these steps forever.
a copy of whats seeing in make process is given below

Code:
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc -B/usr/bin/
checking whether the C compiler (gcc -B/usr/bin/  ) works... yes
checking whether the C compiler (gcc -B/usr/bin/  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc -B/usr/bin/ accepts -g... (cached) yes
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for i686-pc-linux-gnu-ar... (cached) ar
checking for i686-pc-linux-gnu-as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... (cached) /usr/bin/ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-strip... (cached) strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... (cached) objdump
checking for i686-pc-linux-gnu-c++... no
checking for c++... no
checking for i686-pc-linux-gnu-g++... no
checking for g++... no
checking for i686-pc-linux-gnu-cxx... no
checking for cxx... no
checking for i686-pc-linux-gnu-gxx... no
checking for gxx... no
checking for i686-pc-linux-gnu-gcj... no
checking for gcj... no
checking for i686-pc-linux-gnu-gfortran... no
checking for gfortran... no
checking for ar... no
checking for as... no
checking for dlltool... no
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for ld... no
checking for lipo... no
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for nm... no
checking for objdump... no
checking for ranlib... no
checking for strip... no
checking for windres... no
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... just compiled
checking where to find the target gcc... host tool
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... just compiled
checking where to find the target lipo... host tool
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
make: Warning: File `../binutils-2.17/Makefile.in' has modification time 1.4e+08 s in the future
CONFIG_SHELL="/bin/sh" /bin/sh ./config.status --recheck
running /bin/sh ../binutils-2.17/configure  --prefix=/tools --disable-nls --disable-werror --no-create --no-recursion
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc -B/usr/bin/
checking whether the C compiler (gcc -B/usr/bin/  ) works... yes
checking whether the C compiler (gcc -B/usr/bin/  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc -B/usr/bin/ accepts -g... (cached) yes
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for i686-pc-linux-gnu-ar... (cached) ar
checking for i686-pc-linux-gnu-as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... (cached) /usr/bin/ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-strip... (cached) strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... (cached) objdump
checking for i686-pc-linux-gnu-c++... no
checking for c++... no
checking for i686-pc-linux-gnu-g++... no
checking for g++... no
checking for i686-pc-linux-gnu-cxx... no
checking for cxx... no
checking for i686-pc-linux-gnu-gxx... no
checking for gxx... no
checking for i686-pc-linux-gnu-gcj... no
checking for gcj... no
checking for i686-pc-linux-gnu-gfortran... no
checking for gfortran... no
checking for ar... no
checking for as... no
checking for dlltool... no
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for ld... no
checking for lipo... no
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for nm... no
checking for objdump... no
checking for ranlib... no
checking for strip... no
checking for windres... no
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... just compiled
checking where to find the target gcc... host tool
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... just compiled
checking where to find the target lipo... host tool
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
make: Warning: File `../binutils-2.17/Makefile.in' has modification time 1.4e+08 s in the future
CONFIG_SHELL="/bin/sh" /bin/sh ./config.status --recheck
running /bin/sh ../binutils-2.17/configure  --prefix=/tools --disable-nls --disable-werror --no-create --no-recursion
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc -B/usr/bin/
checking whether the C compiler (gcc -B/usr/bin/  ) works... yes
checking whether the C compiler (gcc -B/usr/bin/  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc -B/usr/bin/ accepts -g... (cached) yes
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for i686-pc-linux-gnu-ar... (cached) ar
checking for i686-pc-linux-gnu-as... (cached) as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... (cached) /usr/bin/ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... (cached) nm
checking for i686-pc-linux-gnu-ranlib... (cached) ranlib
checking for i686-pc-linux-gnu-strip... (cached) strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... (cached) objcopy
checking for i686-pc-linux-gnu-objdump... (cached) objdump
checking for i686-pc-linux-gnu-c++... no
checking for c++... no
checking for i686-pc-linux-gnu-g++... no
checking for g++... no
checking for i686-pc-linux-gnu-cxx... no
checking for cxx... no
checking for i686-pc-linux-gnu-gxx... no
checking for gxx... no
checking for i686-pc-linux-gnu-gcj... no
checking for gcj... no
checking for i686-pc-linux-gnu-gfortran... no
checking for gfortran... no
checking for ar... no
checking for as... no
checking for dlltool... no
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for ld... no
checking for lipo... no
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for nm... no
checking for objdump... no
checking for ranlib... no
checking for strip... no
checking for windres... no
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... just compiled
checking where to find the target gcc... host tool
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... just compiled
checking where to find the target lipo... host tool
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
^Z
[1]+  Stopped                 make
pls giv me an answer
 
Old 12-22-2010, 02:51 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
Wide guess; time skrew acuses it to run configure over and over again. What's your Vm?
 
Old 12-22-2010, 08:26 PM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
I may be hallucinating, but I thought I saw this very question / problem posted here recently. The answer, in that thread was that the default Ubuntu is not an acceptable host platform but that it can be made into one. I think the problem is that the default tools and libraries are incorrect for building LFS. The recommendation was to try the Live CD.

Have you modified your tools to those recommended in the book or are you using the Ubuntu defaults?

Edit: a very similar question was answered here.

Last edited by Noway2; 12-22-2010 at 08:28 PM. Reason: Found similar link
 
Old 12-22-2010, 10:18 PM   #4
gibin
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
ozan,iam using oracle virtualbox in linux.i also tried the same in vmware.
 
Old 12-22-2010, 10:23 PM   #5
gibin
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
i told u i done this job sucessfully once in the ubuntu platform.ubuntu lacks gawk,bison and patch utilities.i installed them externaly.i also tried the live cd but same effect.any idea???.
i got similar problem when i tried to build in binutils-build folder outside real $LFS/sources directory i think.
 
Old 12-23-2010, 02:02 AM   #6
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
Definitely YOu are having time skew in the guest. It's command problem in both VBox, VMware and any other virtual system running in a computer with changing cpu speeding. For VirtualBox start from here, For VMware, their FAQ has a work around.
 
1 members found this post helpful.
Old 12-23-2010, 04:28 AM   #7
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Aside from being an issue with your virtual Linux platform, the only real suggestion I have is to upgrade to a more recent version of LFS. Version 6.3 is about 1.5 years old and is about vintage to your Ubuntu 9.10. LFS is currently on version 6.7. You may have a tools incompatibility. I know that the book says tools version or later, but I have seen on several occasions where a tools update breaks compatibility older packages. I have been working on build LFS version 7 over the last week. I am using the current version of the live CD running directly with no virtual platform and it is going flawlessly.
 
1 members found this post helpful.
Old 12-23-2010, 07:42 AM   #8
gibin
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
thanx guys i really worked.it was clock skew problem.i didnt know abt this clock skew thing until now.but i did notice the timestamp showing with untarring which doesnt seen before.thanks very much guys!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck at Chapter 5.4, Error when making dir for Binutils 2.20 BrandonJ Linux From Scratch 6 04-02-2010 09:14 PM
error in make binutils pass1 eshi14 Linux From Scratch 2 12-16-2009 05:08 AM
problem making Binutils-2.18 - PASS1(LFS6.4) slim.chen Linux From Scratch 5 07-14-2009 11:39 PM
Binutils-2.15.94.0.2.2 - Pass 1 stuck up after make install kagashe Linux From Scratch 9 10-09-2005 11:42 AM
Stuck on installing Binutils Linux~Powered Linux From Scratch 4 01-16-2005 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration