Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generated angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-v2013.06-toolchain.sh doesn't install dependancies. #24

Open
ilovetogetspamed opened this issue Aug 27, 2013 · 2 comments

Comments

@ilovetogetspamed
Copy link

$ arm-angstrom-linux-gnueabi-gcc --version
arm-angstrom-linux-gnueabi-gcc: error while loading shared libraries: __vdso_time: invalid mode for dlopen(): Invalid argument

I used MACHINE=beaglebone ./oebb.sh bitbake meta-toolchain to build the tool chain and use the generated sh script from the SDK to install it.
The generated shell script was named "angstrom-eglibc-x86_64-cortexa8hf-vfp-neon-v2013.06-toolchain.sh"

My development machine is x86_64 Ubuntu 12.04.2
and I did "$ source /usr/local/oecore-x86_64/environment-setup-cortexa8hf-vfp-neon-angstrom-linux-gnueabi" prior to trying the arm-angstrom-linux-gnueabi-gcc --version
Any insights to what I'm doing wrong would be greatly appreciated. Thanks

@Lusus
Copy link

Lusus commented Nov 18, 2013

A workaround I have found for this issue, is to delete /usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/lib/libc.so.6, which is a symlink to libc-2.17.so. Then Ubuntu uses its own libc (version 2.15).

I suspect eglibc-2.17 is the problem. The equivalent toolchain generated by the danny release, supplied libc-2.16 works fine on the same machine.

@downwith
Copy link

I see the same issue on 64-bit Debian 7.3.0. Why don't the normal image builds (systemd-image, etc) have the same problem when executing the cross compiler? Don't those builds use the same eglibc-2.17 version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants