Help with uClibc config
Viktor Semykin
thesame.ml at gmail.com
Tue May 27 00:00:37 UTC 2014
This is part of libatomic/config.log that I find helpful:
> configure:3477: checking for C compiler default output file name
> configure:3499: /media/storage/269/ct/.build/powerpc-unknown-linux-uclibc/build/build-cc-final/./gcc/xgcc -B/media/storage/269/ct/.build/powerpc-unknown-linux-uclibc/build/build-cc-final/./gcc/ -B/home/thesame/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/bin/ -B/home/thesame/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/lib/ -isystem /home/thesame/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/include -isystem /home/thesame/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/sys-include -g -Os conftest.c >&5
> /home/thesame/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/sysroot/usr/lib/crt1.o: In function `_start':
> (.text+0x44): undefined reference to `__uClibc_main'
On 26/05/14 21:26, Viktor Semykin wrote:
> Hi.
>
> I'm trying to build cross toolchain based on old (heavily patched for my
> board) linux kernel 2.6.9, new gnu toolchain and uclibc. I now made
> progress to 'Installing final compiler' step, which gets failed.
> As far as I can tell from logs, stage 2 compiler fails to create
> executables with uClibc (because cannot find uClibc_main symbol, because
> doesn't link with libc.a but links with crt1.o).
>
> Could you please help me find mistake in my configs? I assume I
> misconfigured uClibc but I cannot understand what's wrong.
>
> crosstool config: https://app.box.com/s/qtonpmja47zrjx495uuv
> uclibc config: https://app.box.com/s/nioiy53xx2mi20ti9dk6
> build.log: https://app.box.com/s/3dyxiaqixjq8drlpun2s
>
--
best, Viktor.
More information about the uClibc
mailing list