LinuxQuestions.org
Visit Jeremy's Blog.
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 06-29-2005, 11:51 PM   #1
daly1
Member
 
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Rep: Reputation: 15
Angry libgcc_s.so in /tools/lib64


VERY annoying. I am building the LFS system with pure-64. Problem is with gcc pass 1 in chapter 5. I am configuring it like so:

../gcc-3.4.2/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c --enable-multilib=no --libdir=/tools/lib --libexecdir=/tools/lib --enable-long-long --host=x86_64-pc-linux-gnu

and then I make bootstrap and make install and at the end of the day, I end up having a lib64 directory in addition to the lib directory. I see this happenning after make install:

make[3]: Entering directory `/mnt/LFS/sources/gcc-build/gcc'
for d in libgcc; do \
if [ -d $d ]; then true; else /bin/sh ../../gcc-3.4.2/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/bin/install -c -m 644 ./libgcc.a /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
ranlib /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/libgcc.a
/usr/bin/install -c -m 644 ./libgcov.a /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
ranlib /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/libgcov.a
/usr/bin/install -c -m 644 ./libgcc_eh.a /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
ranlib /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/libgcc_eh.a
/bin/sh ../../gcc-3.4.2/gcc/mkinstalldirs /tools/lib/../lib64; /usr/bin/install -c -m 644 libgcc_s.so.1 /tools/lib/../lib64/libgcc_s.so.1; rm -f /tools/lib/../lib64/libgcc_s.so; ln -s libgcc_s.so.1 /tools/lib/../lib64/libgcc_s.so
mkdir -p -- /tools/lib/../lib64

/usr/bin/install -c -m 644 crtbegin.o /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
/usr/bin/install -c -m 644 crtend.o /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
/usr/bin/install -c -m 644 crtbeginS.o /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
/usr/bin/install -c -m 644 crtendS.o /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
/usr/bin/install -c -m 644 crtbeginT.o /tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/
make[3]: Leaving directory `/mnt/LFS/sources/gcc-build/gcc'

For the life of me, I cannot figure out where the heck it got the lib64 from. I grepped, searched and looked all over the place looking for it, but I cannot find it!!!! The only file in /tools/lib64 is libgcc_s.so and a symlink to it.

Does anyone know what's going on?
 
Old 06-30-2005, 09:28 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
I'm thinking of taking the 64 bit plunge, while researching I stumbled across this website, I dont know if you will find it useful but it can't hurt.

http://projects.snowbrain.com/philinux/

Mad.
 
Old 07-01-2005, 09:29 AM   #3
daly1
Member
 
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Original Poster
Rep: Reputation: 15
I find this one to be a much better and more reliable resource.http://www.schneider-berlin.net/pages/lfs64.html
 
Old 07-12-2005, 08:24 AM   #4
pperon
Member
 
Registered: Jan 2002
Location: Cleveland
Distribution: Gentoo and umm... Gentoo
Posts: 64

Rep: Reputation: 15
I'm the guy behind the Philinux Project and needless to say it's currently dead in the water.

I was running into so many issues it was making my head spin.

I'll most likely get back to it once higher priority projects are finished and I have a greater understanding of linux.

The biggest problem with the site is that it does not contain the last set of errors I was receiving. _This_ would have been the most useful.

(sigh)

It _was_ fun while it lasted.
 
Old 07-12-2005, 08:44 AM   #5
daly1
Member
 
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Original Poster
Rep: Reputation: 15
What error messages are you getting. I just completed a pure-64 build for the x86_64 and it works like a charm. I have a tried and tested Makefile which I could send you if you want. It is a mix between Chris's and the German site's instructions.
 
Old 07-12-2005, 09:56 AM   #6
pperon
Member
 
Registered: Jan 2002
Location: Cleveland
Distribution: Gentoo and umm... Gentoo
Posts: 64

Rep: Reputation: 15
Nice! That's awesome. I would _love_ for you to send me that Makefile.

I'm at work right now and will have to check my notes (regarding the error) when I get home.

Thanks in advance!
 
  


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
Need to get libgcc_s.so.1 furiousV Linux - Newbie 4 08-05-2005 08:40 AM
libgcc_s.so.1 for RedHat 6.0 Killbot_5000 Linux - Software 0 10-08-2004 02:47 PM
libgcc_s.so.1 problem Eunsuk Kang Linux - Newbie 2 09-17-2004 07:41 AM
help to download libgcc_s.so.1 via http lel800 Linux - Software 2 10-15-2003 03:57 PM
Libgcc_s.so.1 is not installed londonboi Linux - Software 2 08-08-2003 12:35 PM

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

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