Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-23 Thread Pawel Pastuszak
Hi Nico, I was able to get my ramdisk booting, the main problem in my view was the RPATH was being set for runtime compiling and i believe the system was looking for the RPATH not RPATH+ /lib + /usr/lib in the search path when it was booting. So what i changed was not to create RPATH but adding r

Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-22 Thread Pawel Pastuszak
Hi Nico, I compered the lib's between the two images and the both match, I am still run different theories of mine why it couldn't boot. for now here is my config settings Is there any guide on what need to happen when complie using and external toolchain? CONFIG_TARGET_NAME="powerpc-openwrt-lin

Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-22 Thread Nico
Hi Pawel, Did you check that all libraries required to boot the system are present ? When using an external toolchain, you have to tell the build system where the base libraries (libc, libgcc, libpthread...) are to be found, check your ".config" file. You can also check in "build_dir/target-*/roo

Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-22 Thread Pawel Pastuszak
I would have to say that my address are setup correctly why would move the toolchain out of the my build would change the Ramdisk? This is the follow steps i took to see what was wrong Note: External Toolchain is the openwrt toolchain moved outside. 1) Using External Toolchain, make kernel and r

Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-22 Thread Florian Fainelli
On Monday 22 March 2010 01:54:28 Pawel Pastuszak wrote: > Thanks for pointing me to the thread after reading the thread about > "Compiling outside of buildroot" I was able to make and image. > > But now the problem that i am having is that the image is not booting > the ramdisk which is an ext2 it

Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-21 Thread Pawel Pastuszak
Thanks for pointing me to the thread after reading the thread about "Compiling outside of buildroot" I was able to make and image. But now the problem that i am having is that the image is not booting the ramdisk which is an ext2 its compile about /etc/preinit fail but when i uses my older ramdisk

Re: [OpenWrt-Devel] External toolchain cannot find -lgcc_s

2010-03-15 Thread Bas Mevissen
On Sat, 2010-03-13 at 22:22 -0500, Pawel Pastuszak wrote: > Hi All, > > I am trying to split the toolchain out of my main openwrt build, after > generating the toolchain i moved it to a new location from > staging_dir/toolchain-powerpc_gcc-4.3.3_glibc-2.7 and set up and new > build that points to