LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-20-2010, 08:34 AM   #1
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Unhappy 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.
 
Old 09-20-2010, 08:57 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
1 members found this post helpful.
Old 09-20-2010, 02:21 PM   #3
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Original Poster
Rep: Reputation: 29
Thanx again druuna, I had to actually tar gcc and cd into gcc and then I had to patch it from there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gcc 4.0.3 first pass - 'libgcc_s.so.1' radiodee1 Linux From Scratch 3 10-13-2006 07:23 PM
Out of Memory gcc-3.4.1 -Pass 1 status1 Linux From Scratch 22 09-10-2006 06:21 PM
questions on GCC-3.4.3 - Pass 2 and Binutils-2.15.94.0.2.2 - Pass 2 satimis Linux From Scratch 7 12-26-2005 10:23 PM
Binutils-2.15.94.0.2.2 - Pass 1 stuck up after make install kagashe Linux From Scratch 9 10-09-2005 12:42 PM
GCC second pass Mystified Linux From Scratch 6 07-28-2005 10:21 PM

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

All times are GMT -5. The time now is 04:50 AM.

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