Am Mittwoch, 8. Februar 2017, 16:34:49 CET schrieb Pierre Labastie:
> On 08/02/2017 14:45, Markus wrote:
> > 
> > [...]
> >   At chapter 5.5.1. Installation of Cross GCC  I have finished
> >   preparations an> 
> > the ./configure script without errors.
> > 
> > after running the make script I get the following message when it tries to
> > compile libgcc:
> > 
> > =====
> > Checking multilib configuration for libgcc...
> > mkdir -p -- x86_64-lfs-linux-gnu/libgcc
> > Configuring in x86_64-lfs-linux-gnu/libgcc
> > configure: creating cache ./config.cache
> > checking build system type... x86_64-pc-linux-gnu
> > checking host system type... x86_64-lfs-linux-gnu
> > checking for --enable-version-specific-runtime-libs... no
> > checking for a BSD-compatible install... /bin/install -c
> > checking for gawk... gawk
> > xgcc: fatal error: system path 'tools/lib' is not absolute
> > compilation terminated.
> > checking for x86_64-lfs-linux-gnu-ar... /tools/x86_64-lfs-linux-gnu/bin/ar
> > checking for x86_64-lfs-linux-gnu-lipo... x86_64-lfs-linux-gnu-lipo
> > checking for x86_64-lfs-linux-gnu-nm...
> > /mnt/lfs/sources/gcc-6.2.0/build/./
> > gcc/nm
> > checking for x86_64-lfs-linux-gnu-ranlib...
> > /tools/x86_64-lfs-linux-gnu/bin/ ranlib
> > checking for x86_64-lfs-linux-gnu-strip...
> > /tools/x86_64-lfs-linux-gnu/bin/
> > strip
> > checking whether ln -s works... yes
> > checking for x86_64-lfs-linux-gnu-gcc...
> > /mnt/lfs/sources/gcc-6.2.0/build/./ gcc/xgcc
> > -B/mnt/lfs/sources/gcc-6.2.0/build/./gcc/ -B/tools/x86_64-lfs-linux-
> > gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem
> > /tools/x86_64-lfs-linux- gnu/include -isystem
> > /tools/x86_64-lfs-linux-gnu/sys-include
> > checking for suffix of object files... configure: error: in
> > `/mnt/lfs/sources/ gcc-6.2.0/build/x86_64-lfs-linux-gnu/libgcc':
> > configure: error: cannot compute suffix of object files: cannot compile
> > See `config.log' for more details.
> > make[1]: *** [Makefile:11903: configure-target-libgcc] Error 1
> > make[1]: Leaving directory '/mnt/lfs/sources/gcc-6.2.0/build'
> > make: *** [Makefile:864: all] Error 2
> > 
> > =====
> > I suspect an error in build environment preparation in chapters 2-4, but
> > everything I checked until now seems okay.
> > ...
> > 
> > The directory '$LFS/tools/lib' exists. I searched though config.log, but
> > did not find any mention of the path 'tools/lib'
> > ...
> 
> Haven't you missed a "/" character in one of the occurrences of "/tools"
> in the long command starting with "for file in
> gcc/config/{linux,i386/linux{,64}}.h"?

Yes, I think that was the point, thank you Pierre for the hint.

I had
#define STANDARD_STARTFILE_PREFIX_1 "tools/lib/"

where it should have been 
#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"

Writing that out for the next adventurer searching the mailing list archive.

'make' is running at the moment and I expect it to finish successfully now.


Markus

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to