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

icecc-create-env breaks GCC/binutils installations with absolute RPATHs #605

Open
timschumi opened this issue Sep 3, 2022 · 0 comments
Open

Comments

@timschumi
Copy link

If GCC and binutils are installed to a non-standard location (probably everything except for /usr and /usr/local), they utilize absolute RPATHs to find the library dependencies that are otherwise stored in /usr/<host triple>/<target triple>/lib.

Since icecc-create-env doesn't check for an RPATH in the copied ELF files, it just copies those libraries to the "standard" location mentioned above. This results in remote compile jobs failing due to issues like the following:

[249] 2022-09-03 10:15:13: compiler produced stderr output:
as: error while loading shared libraries: libopcodes-2.39.so: cannot open shared object file: No such file or directory
[249] 2022-09-03 10:15:13: Remote compilation exited with exit code 1
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

1 participant