On 11/20/2012 03:39 AM, Chris Staub wrote:
On 11/19/2012 06:37 PM, Paige Thompson wrote:
https://github.com/paigeadele/erraticOS/blob/master/usr/src/binutils-build/config.log
I just need to understand why these files are being linked this way and
what I need to do to fix it:
erratic@erratic-MacPro ~/erraticOS/tools/lib $ ldd libc.so.6
/home/erratic/erraticOS/tools/lib/ld-linux-x86-64.so.2 =>
/lib64/ld-linux-x86-64.so.2 (0x00007f9036a27000)
linux-vdso.so.1 => (0x00007fff8cff3000)
erratic@erratic-MacPro ~/erraticOS/tools/lib $
here is the script:
https://github.com/paigeadele/erraticOS/blob/master/usr/src/chef/cookbooks/erraticOS/recipes/toolchain-solo.rb
the first link is where it is breaking (binutils-pass-2)
Let me know how you want to get paid, thanks.
If you know enough to modify LFS instructions this much (e.g. using
prefix other than /tools) then you know enough to fix it yourself.
And if you're really just trying to "learn" about intricate details of
the toolchain, you aren't really building LFS so use a more general help
channel, like gcc/binutils mailing lists.
Ok so I e-mailed this William guy, and asked him where I should send
money but he hasn't responded. Hands down, he won the contest of having
all the answers....
@chris I'm sorry I really wish I could confide in you how much I really
just want to enjoy myself the only way I fucking can. I'm sorry you're
not fond of how I am trying to fucking learn this bullshit but so far I
have been trying really hard to not be a passive aggressive fuckwad ...
the least you could do is be a little less arrogant towards me .... I
assure you I'm much more interested in making this work for myself than
I am trolling you.
You're definitely right there's many things I had overlooked previously
and I did just make the effort to hardcode the fucking shit for a little
sense of sanity.
Its really ironic, that somebody else who is doing the same exact thing
that I'm doing is having the same problem that I'm having and can't get
any help asides from the usual finger fucking:
http://stackoverflow.com/questions/7934642/cross-compile-cannot-find-crt1-o
Note the responses to the highest rated answer-- I'm very hesitant to
run sudo make install to install to a directory that I have full
read/write access to, moreover I'm not having any problems doing a make
install in fact I have gone back and checked all of these by hand and am
certain that it's not just my script not failing when I would expect it
to ;)
erratic-MacPro glibc-build # strace
/home/erratic/erraticOS/tools/bin/x86_64-linux-gnu-gcc dummy.c
bla bla bla bla bla
access("/home/erratic/erraticOS/home/erratic/erraticOS/tools/lib/x86_64-linux-gnu/4.7.1/crti.o",
R_OK) = -1 ENOENT (No such file or directory)
and a few others noted...
erratic-MacPro glibc-build # tree /home/erratic/erraticOS/tools/ -L 1
/home/erratic/erraticOS/tools/
??? bin
??? etc
??? include
??? lib
??? lib64 -> /home/erratic/erraticOS/tools/lib
??? libexec
??? sbin
??? share
??? var
??? x86_64-linux-gnu <----- the fuck.
10 directories, 0 files
erratic-MacPro glibc-build #
rm -rf /home/erratic/erraticOS/tools/
rm -rf "../binutils-build/"
mkdir -v ../binutils-build
mkdir -pv /home/erratic/erraticOS/tools/lib && ln -sfv
/home/erratic/erraticOS/tools/lib /home/erratic/erraticOS/tools/lib64
cd ../binutils-build
(../binutils/configure \
--prefix=/home/erratic/erraticOS/tools \
--with-sysroot=/home/erratic/erraticOS/ \
--with-lib-path=/home/erratic/erraticOS/lib \
--target=$LFS_TGT \
--disable-nls \
--disable-werror)
make
make install
OK so the first answer on stackoverflow not ... really all that helpful..
and the second....
" Pass|-v|to your|$LFS_TGT-gcc|to understand what is happening."
huh. this is supposed to tell me ... what exactly that I haven't already
figured out.....
I guess maybe I should merely point out what sort of help I'm looking
for... maybe just a second pair of eyes? I don't need any unsolicited
assholishness... I've had enough in my life to make me homicidal as it
stands.
Thanks
PS pastie of the most recent .rb file I am working with:
http://pastie.org/private/mnc2fqrcakeoqvhkhom2lw
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page