From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Reutner-Fischer Date: Wed, 20 Aug 2008 12:21:02 +0200 Subject: [Buildroot] ARM EABI toolchain - anyone build it successfully? In-Reply-To: <48ABEB53.4030104@wpkg.org> References: <48AAE812.4020706@wpkg.org> <20080819154955.GA15608@mx.loc> <48AAECB6.6020309@wpkg.org> <20080819162809.GA15851@mx.loc> <48ABE3DE.80908@wpkg.org> <48ABEB53.4030104@wpkg.org> Message-ID: <20080820102102.GB20285@mx.loc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Wed, Aug 20, 2008 at 12:00:51PM +0200, Tomasz Chmielewski wrote: > BTW, I know why it initially failed for me - I removed networking support in uClibc configuration, which resulted in: well yes, that's somewhat expected :) I usually do not do threads. If you need threads, you should at least turn on socket support for obvious reasons. > > > CC libpthread/linuxthreads.old/pthread.oS > STRIP -x -R .note -R .comment libpthread/linuxthreads.old/libpthread_so.a > AR cr libpthread/linuxthreads.old/libpthread_so.a > LD libpthread-0.9.29.so > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `sendto': > wrapsyscall.c:(.text+0x44): undefined reference to `__libc_sendto' > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `sendmsg': > wrapsyscall.c:(.text+0x90): undefined reference to `__libc_sendmsg' > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `send': > wrapsyscall.c:(.text+0xe4): undefined reference to `__libc_send' > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `recvmsg': > wrapsyscall.c:(.text+0x130): undefined reference to `__libc_recvmsg' > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `recvfrom': > wrapsyscall.c:(.text+0x194): undefined reference to `__libc_recvfrom' > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `recv': > wrapsyscall.c:(.text+0x1e8): undefined reference to `__libc_recv' > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `connect': > wrapsyscall.c:(.text+0x234): undefined reference to `__libc_connect' > libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.os): In function `accept': > wrapsyscall.c:(.text+0x280): undefined reference to `__libc_accept' > collect2: ld returned 1 exit status > make[1]: *** [lib/libpthread.so] Error 1 > make[1]: Leaving directory `/home/build/buildroot/buildroot-arm-gcc-4.3.1-EABI/toolchain_build_arm/uClibc' > make: *** [/home/build/buildroot/buildroot-arm-gcc-4.3.1-EABI/toolchain_build_arm/uClibc/lib/libc.a] Error 2