LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-16-2011, 04:07 PM   #1
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51

Rep: Reputation: 4
Gcc - problems on checking


I'm using gcc-4.6.2 with 7.0 book (because it fix some regressions of the 4.6.1 version).
When i do some controls, these are the results:
Code:
root:~# readelf -l a.out | grep ': /lib'
      [Requesting program interpreter: /lib/ld-linux.so.2]
Code:
root:~# grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
/usr/lib/crt1.o succeeded
/usr/lib/crti.o succeeded
/usr/lib/crtn.o succeeded
Code:
root:~# grep -B4 '^ /usr/include' dummy.log
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/tools/lib/gcc/i686-lfs-linux-gnu/4.6.2/../../../../i686-lfs-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include
The readelf is ok.
The first grep is different from the book, but it may be acceptable.
The second grep si completely different, and i have some doubts.
Have you some ideas?
 
Old 11-16-2011, 04:18 PM   #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 7.0 stable, chapter 6.17. GCC-4.6.1.

The second and third are both wrong.

Quote:
I'm using gcc-4.6.2 with 7.0 book (because it fix some regressions of the 4.6.1 version).
You should use the version that is in the book. It works.

4.6.2 is being tested in unstable, but even compared with those test you cannot continue.

Something might have gone wrong here: 6.10. Re-adjusting the Toolchain

Hope this helps.
 
Old 11-17-2011, 01:48 AM   #3
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51

Original Poster
Rep: Reputation: 4
I went 2 min ago into the #irc of lfs
They also say that i can't use a different version.
I'm going to rebuild all now
 
  


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
What's the solution to get rid of this error when checking for gcc? Shingoshi Slackware 13 06-12-2009 02:10 PM
gcc bounds checking patch help needed easykillsoft Programming 5 12-30-2005 08:39 AM
checking version of gcc on RH9 oasisbhrnw99 Linux - Newbie 2 10-18-2004 10:16 PM
SuSE 9.1 Personal Problems checking whether the C compiler (gcc ) works... no angus orion Linux - Newbie 2 07-29-2004 07:14 PM
checking whether the C compiler (gcc ) works... no Transition Linux - Newbie 19 07-01-2004 03:04 AM

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

All times are GMT -5. The time now is 10:30 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