LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Stuck at 5.10 GCC-4.4.3 -Pass 2 (https://www.linuxquestions.org/questions/linux-from-scratch-13/stuck-at-5-10-gcc-4-4-3-pass-2-a-833323/)

basheer 09-20-2010 07:34 AM

Stuck at 5.10 GCC-4.4.3 -Pass 2
 
Hi all,
I'm building LFS 6.6 with LFS with LFS Live CD as the host.
After installing binutils-2.20 pass 2, I'm stuck at GCC-4.4.3 -Pass 2.
I have pasted the output below...

lfs:/mnt/lfs/sources/binutils-build$ patch -Np1 -i ../gcc-4.4.3-startfiles_fix-1.patch
can't find file to patch at input line 22
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Submitted By: Jeremy Huntwork (jhuntwork AT linuxfromscratch DOT org)
|Date: 2008-12-05
|Initial Package Version: 4.3.2
|Upstream Status: See below.
|Origin: DIY Linux, See below.
|Description: Original patch follows:
|
|# DIY Linux Patch
|Date: 2008-09-09
|Author: Refer Origin.
|Origin: Partial revert of http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00416.html
|Maker: Greg Schafer <gschafer@zip.com.au>
|Upstream Status: Not applicable. Tweak only for Temptools phase GCC-Pass2.
|Description: Partially revert GCC driver to pre-GCC-4.3 state to allow startfiles to be
| found in $prefix when GCC is configured for a non-standard prefix eg: /temptools. Full
| background info in thread starting here: http://gcc.gnu.org/ml/gcc/2008-03/msg00095.html
| and GCC bugzilla here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532
|
|diff -Naur gcc-4.3.0-RC-20080222.orig/gcc/gcc.c gcc-4.3.0-RC-20080222/gcc/gcc.c
|--- gcc-4.3.0-RC-20080222.orig/gcc/gcc.c 2008-01-24 18:57:12.000000000 +0000
|+++ gcc-4.3.0-RC-20080222/gcc/gcc.c 2008-03-02 06:07:36.000000000 +0000
--------------------------
File to patch:



Can someone please guide me.

druuna 09-20-2010 07:57 AM

Hi,

Assuming LFS 6.6 stable: A patch for binutils 2.20 pass 2?

There's no such patch: 5.9. Binutils-2.20 - Pass 2

The patch you mention is part of 5.10: 5.10. GCC-4.4.3 - Pass 2

Hope this helps.

basheer 09-20-2010 01:21 PM

Thanx again druuna, I had to actually tar gcc and cd into gcc and then I had to patch it from there.


All times are GMT -5. The time now is 04:42 PM.