This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help with crosstool-NG


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 16:33, 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.

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]