[lfs-support] LFS 7.2 GCC pass 1

Israel Silberg israel at silberg.co.il
Mon Sep 3 10:24:49 PDT 2012


Thaks all for the replies,
Richard, what do you mean by puting it in a script to what is going on? How
do I make the script write me the data I need?
I know some bash scripting but clearly not enogh :-)
And another question, if I want in the end tohave a LFS or BLFS system
without gcc in it, shold I keep it in the toolchain or should I remove it
when the system is done?
How can I remove it? Should I keep its installation folder and not delete
it in order to do make remove?
On Sep 3, 2012 7:24 PM, "Richard Melville" <
richard.melville69 at googlemail.com> wrote:

> I extracted all of these packages from within the GCC-4.7.1 folder
>> and the configure and make are from gcc-build
>> Here is the output for ls -lah of gcc-4.7.1
>>
>> lfs at kitt-Lenovo-Product:/mnt/lfs/sources/gcc-4.7.1$ ls -lah
>> total 11M
>> drwxr-xr-x 33 lfs lfs 4.0K Sep  3 09:25 .
>> drwxrwxrwt  4 lfs lfs 4.0K Sep  3 09:27 ..
>> -rw-r--r--  1 lfs lfs  38K Jul  4  2003 ABOUT-NLS
>> -rw-r--r--  1 lfs lfs  18K Jul 14  2005 COPYING
>> -rw-r--r--  1 lfs lfs  26K Jul 14  2005 COPYING.LIB
>> -rw-r--r--  1 lfs lfs 3.3K Apr  9  2009 COPYING.RUNTIME
>> -rw-r--r--  1 lfs lfs  35K Jul 17  2007 COPYING3
>> -rw-r--r--  1 lfs lfs 7.5K Jul 17  2007 COPYING3.LIB
>> -rw-r--r--  1 lfs lfs 524K Jun 14 11:27 ChangeLog
>> -rw-r--r--  1 lfs lfs 3.2K May 13  2004 ChangeLog.tree-ssa
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:48 INSTALL
>> -rw-r--r--  1 lfs lfs   58 Jun 14 11:48 LAST_UPDATED
>> -rw-r--r--  1 lfs lfs  22K Feb 17  2012 MAINTAINERS
>> -rw-r--r--  1 lfs lfs 6.0M Jun 14 13:01 MD5SUMS
>> -rw-r--r--  1 lfs lfs  25K Jan  2  2012 Makefile.def
>> -rw-r--r--  1 lfs lfs 1.4M May 16 18:54 Makefile.in
>> -rw-r--r--  1 lfs lfs  67K May 16 18:54 Makefile.tpl
>> -rw-r--r--  1 lfs lfs 579K Jun 14 11:48 NEWS
>> -rw-r--r--  1 lfs lfs  815 Oct 10  2009 README
>> drwxr-xr-x  7 lfs lfs 4.0K Jun 14 11:35 boehm-gc
>> -rwxr-xr-x  1 lfs lfs 3.7K Aug 22  2009 compile
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:35 config
>> -rw-r--r--  1 lfs lfs  25K Mar 22  2011 config-ml.in
>> -rwxr-xr-x  1 lfs lfs  44K Jun  6  2011 config.guess
>> -rwxr-xr-x  1 lfs lfs  15K Feb 13  2011 config.rpath
>> -rwxr-xr-x  1 lfs lfs  35K Nov  2  2011 config.sub
>> -rwxr-xr-x  1 lfs lfs 458K Feb  2  2012 configure
>> -rw-r--r--  1 lfs lfs 101K Feb  2  2012 configure.ac
>> drwxr-xr-x  5 lfs lfs 4.0K Jun 14 11:35 contrib
>> -rwxr-xr-x  1 lfs lfs  19K Aug 22  2009 depcomp
>> drwxr-xr-x  3 lfs lfs 4.0K Jun 14 11:48 fixincludes
>> drwxr-xr-x 17 lfs lfs  20K Sep  3 09:27 gcc
>> drwxr-xr-x 14 lfs lfs 4.0K May  6 14:20 gmp
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:37 gnattools
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:35 include
>> -rwxr-xr-x  1 lfs lfs  14K Aug 22  2009 install-sh
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:34 intl
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:48 libada
>> drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:48 libcpp
>> drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:37 libdecnumber
>> drwxr-xr-x  7 lfs lfs 4.0K Jun 14 11:48 libffi
>> drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:37 libgcc
>> drwxr-xr-x  9 lfs lfs 4.0K Jun 14 11:48 libgfortran
>> drwxr-xr-x  6 lfs lfs 4.0K Jun 14 11:47 libgo
>> drwxr-xr-x  4 lfs lfs 4.0K Jun 14 12:02 libgomp
>> drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:35 libiberty
>> drwxr-xr-x  4 lfs lfs 4.0K Jun 14 13:01 libitm
>> drwxr-xr-x 15 lfs lfs 4.0K Jun 14 11:37 libjava
>> drwxr-xr-x  3 lfs lfs 4.0K Jun 14 11:34 libmudflap
>> drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:47 libobjc
>> drwxr-xr-x  5 lfs lfs 4.0K Jun 14 12:49 libquadmath
>> drwxr-xr-x  3 lfs lfs 4.0K Jun 14 11:48 libssp
>> drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 libstdc++-v3
>> -rwxr-xr-x  1 lfs lfs 3.3K Sep 20  2007 libtool-ldflags
>> -rw-r--r--  1 lfs lfs 258K Nov 21  2011 libtool.m4
>> -rw-r--r--  1 lfs lfs 1.8K Sep 26  2008 ltgcc.m4
>> -rw-r--r--  1 lfs lfs 244K Jan 13  2011 ltmain.sh
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:35 lto-plugin
>> -rw-r--r--  1 lfs lfs  12K Dec  5  2009 ltoptions.m4
>> -rw-r--r--  1 lfs lfs 4.3K Sep 26  2008 ltsugar.m4
>> -rw-r--r--  1 lfs lfs  703 Dec  5  2009 ltversion.m4
>> -rw-r--r--  1 lfs lfs 6.0K Dec  5  2009 lt~obsolete.m4
>> drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:37 maintainer-scripts
>> -rwxr-xr-x  1 lfs lfs  12K Aug 22  2009 missing
>> -rwxr-xr-x  1 lfs lfs 2.2K Jul 22  2000 mkdep
>> -rwxr-xr-x  1 lfs lfs 3.5K Aug 22  2009 mkinstalldirs
>> -rwxr-xr-x  1 lfs lfs 2.6K Feb 12  2011 move-if-change
>> drwxr-xr-x  6 lfs lfs 4.0K Jul 19 15:46 mpc
>> drwxr-xr-x  9 lfs lfs 4.0K Jul  3 18:02 mpfr
>> -rwxr-xr-x  1 lfs lfs 2.3K Jul 14  2005 symlink-tree
>> -rwxr-xr-x  1 lfs lfs 6.1K Aug 22  2009 ylwrap
>> drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 zlib
>>
>>
> I know it's frustrating -- it's the same bug that I and numerous others
> have experienced, but none of the team will accept that it's a bug.  It
> took me four or five attempts to get GCC to build, but my problem was at
> pass 2.  At one attempt I even copied and pasted the whole instruction set
> and it still failed at the same point that you've found.
>
> Bruce suggested wrapping the commands in a script so you can see what's
> happening, and that seems like a good idea, however I had already built it
> by then by doing nothing different -- just trying it yet again.
>
> I'd still be interested to know why we build GMP, MPC, and MPFR inside GCC
> except on the final build where they are built separately.
>
> Richard
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120903/70e48c4c/attachment.html>


More information about the lfs-support mailing list