Hi, On Wed, Jan 23, 2013 at 10:33:52AM +0100, Tim Sander wrote: > > file: > > > file libgpg-error.so.0.5.0: ELF 32-bit LSB shared object, ARM, version 1 > > > (SYSV), dynamically linked, not stripped > > > > > > The same stuff works with a OSELAS.Toolchain-2011.03.1/arm-1136jfs- > > > linux-gnueabi toolchain. And yes i double > > > checked that i have cleaned the working ptxdist project. > > > > [build output snipped] > > > > "Me, too!" > > > > I had the exact same problem building with a current Xilinx-supplied > > toolchain, > > which is a CodeSourcery Lite 2011.09-50 toolchain for armv7 based on GCC > > 4.6.1, > > with ptxdist-2013.01.0. Since I didn't need that package, I simply made a > > note > > to try the current OSELAS toolchain later to see if it's reproducable. > > > > "Good to hear" that this would likely not have helped, and there's > > possibly an > > issue with the package itself. My best guess right now would be a mixed up > > order > > of (or missing) libraries in the linking stage, but I didn't bother diving > > into > > the Makefile as of yet. > I first thought it would be a hardfloat toolchain problem. But this problem > also > occurs with the arm-1136jfs-linux-gnueabi toolchain same version. So yep it > seems to be a problem of the packet.
This is a bug in libgcrypt that is exposed by a change in binutils: ac-schemes.o: undefined reference to symbol 'gpg_err_code_from_errno' ac-schemes uses gpg_err_code_from_errno() but only links to libgcrypt.so explicitly. The old bahaviour was like this: libgcrypt.so links to libgpg-error.so.0, so libgpg-error.so.0 is also used if needed. With the new behaviour only explicitly specified libs are used, resulting in this error. The old behaviour can be restored by adding "-WL,--copy-dt-needed-entries" to the ldflags (PTXCONF_TARGET_EXTRA_LDFLAGS in the platformconfig). Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list [email protected]
