[lfs-support] (no subject)

matthew gruda matthewgruda at gmail.com
Sun Jan 6 09:49:16 PST 2013


im fairly sure i did that.  also i noticed that ommiting "-Wl," will
succesfully compile, with readelf on a.out giving me [Requesting program
interpreter: /lib64/ld-linux-x86-64.so.2]



On Sun, Jan 6, 2013 at 12:24 PM, Roy Birk <rabirk at gmail.com> wrote:

> Did you do this part in 5.8,
>
>   make -C ld clean
> make -C ld LIB_PATH=/usr/lib:/lib
> cp -v ld/ld-new /tools/bin
>
>
>
>
> On Jan 6, 2013, at 11:48 AM, matthew gruda <matthewgruda at gmail.com> wrote:
>
> im fairly sure i did everything for 64 bit though...
>
> On Sun, Jan 6, 2013 at 11:37 AM, Roy Birk <rabirk at gmail.com> wrote:
>
>> It seems like there's more to it than just the architecture, but you
>> should probably re-read the intro portion on "LFS Target Architectures". I
>> think you might need to start over and be sure to follow the parts of the
>> book for 64-bit systems, but hopefully one of the gurus will respond if
>> I've said anything incorrect.
>>
>>
>> On Jan 6, 2013, at 11:20 AM, matthew gruda <matthewgruda at gmail.com>
>> wrote:
>>
>> so how do i fix this?
>>
>> On Sun, Jan 6, 2013 at 10:44 AM, Roy Birk <rabirk at gmail.com> wrote:
>>
>>> I think it's because you're on a 64-bit system.
>>>
>>>
>>>
>>> On Jan 6, 2013, at 8:51 AM, matthew gruda <matthewgruda at gmail.com>
>>> wrote:
>>>
>>> > now i got up to 6.10 and i tried:
>>> > echo 'main(){}' > dummy.c
>>> > cc dummy.c -v -Wl, --verbose
>>> >
>>> > and got:
>>> > GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD
>>> version (GNU Binutils) 2.22
>>> >
>>> COMPILER_PATH=/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/libexec/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/tools/lib/gcc/x86_64-unknown-linux-gnu/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/
>>> >
>>> LIBRARY_PATH=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/:/usr/lib/../lib64/:/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib/:/usr/lib/
>>> > COLLECT_GCC_OPTIONS='-v' '-v' '-mtune=generic' '-march=x86-64'
>>> >  /tools/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/collect2
>>> --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2
>>> /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o
>>> /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtbegin.o
>>> -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1 -L/usr/lib/../lib64
>>> -L/tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/lib
>>> /tmp/ccm2lzhu.o "" -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
>>> --as-needed -lgcc_s --no-as-needed
>>> /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/crtend.o
>>> /usr/lib/../lib64/crtn.o
>>> >
>>> /tools/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/../../../../x86_64-unknown-linux-gnu/bin/ld:
>>> cannot find : No such file or directory
>>> > collect2: error: ld returned 1 exit status
>>> >
>>> > so why? glibc was just checked and installed right, and set up, and i
>>> followed instructions for changing the path
>>> > --
>>> > http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>> > FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>> > Unsubscribe: See the above information page
>>> --
>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>> Unsubscribe: See the above information page
>>>
>>
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
>>
>>
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
>>
>>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20130106/8fd583e1/attachment.html>


More information about the lfs-support mailing list