On Wed, Sep 24, 2014 at 03:43:10PM +0200, Tim Sander wrote: > Hi > > > I'm happy to announce that I've just released OSELAS.Toolchain-2013.12.2. > > > > This is a bugfix-only release. The relevant changes since 2013.12.1 are: > > - The toolchains can now be built with make 4.0 > > - Some toolchains did not optimize for the correct CPU. The code works but > > might be slower. This is fixed now. > > - All security relevant fixes mentioned in the glibc 2.19 changelog have > > been added for glibc 2.18 based toolchains. > > - All generated toolchain archives are now XZ comressed. > While i have used this toolchain arm-v7a-linux-gnueabihf with an Xilinx Zynx > compiling nearly the same Project with a different Kernelconfig /DTB for > Altera > SOC fails with this toolchain !?! The kernel boots but on mounting the rootfs > it fails to execute any binary? > > Compiling the same project with OSELAS.Toolchain-2012.12.1/arm-cortexa9-linux- > gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized does work > however. > > I have also tried setting: > PTXCONF_TARGET_EXTRA_CFLAGS="-mcpu=cortex-a9 -mfpu=neon" > PTXCONF_TARGET_EXTRA_CXXFLAGS="-mcpu=cortex-a9 -mfpu=neon" > But it still fails on executing any binary. Without knowing details about the two toolchains in question, this might be an ABI-problem. Does your kernel have OABI_COMPAT=y?
Did you try to run a 2013.12.1 userspace with a 2012.12.1-compiled kernel and vice versa? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de