missing crti.o when compiling GCC

Christian Bünnig masala at web.de
Tue Jul 25 05:51:18 PDT 2006


Some kind of success:
When I use gcc 3.4.3 instead of 3.4.2 the problem is away since then the 
directory

build_mipsel/staging_dir/mipsel-linux-uclibc/lib

simply is a symlink to

toolchain_build_mipsel/gcc-3.4.2-final/gcc

and crti.o is found.

Christian

Christian Bünnig wrote:
> Hi!
> 
> I am not sure if this is a uclibc or buildroot/gcc problem..
> I get error building cross gcc (3.4.2) in final step with buildroot
> SVN-R15733 and uclibc snapshot from 24/07/2006 (target arch is mipsel).
> The error occurs while processing the generated makefile libgcc.mk in
> toolchain_build_mipsel/gcc-3.4.2-final/gcc.
> 
> Wihtin the build process of gcc-final gcc needs the file crti.o and I
> guess gcc expects it in:
> build_mipsel/staging_dir/mipsel-linux-uclibc/lib
> but it is placed in:
> build_mipsel/staging_dir/lib
> 
> So I wonder if
> a) gcc has wrong information where to look for libs or
> b) the uclibc build process placed crti.o in the wrong directory.
> The build works if I copy crti.o into
> build_mipsel/staging_dir/mipsel-linux-uclibc/lib
> 
> I do not know what makes exactly the difference between the two staging
> directories mentioned above and so I do not know how to fix the problem
> (or where it comes from) - thanks in advance for some hints.
> 
> If any further information is needed, e.g. config files, please let me
> know..
> 
> 
> Here is the output of the build process around the error:
> 
> ...
> ...


More information about the uClibc mailing list