-
Notifications
You must be signed in to change notification settings - Fork 11
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
Linking target code fails when using gold #30
Comments
Philip, can you please provide the /tmp/a-192dbd.lk file? Sergos |
Here are the contents of the linker script:
|
Hi Sergos I thought that the map Clause was not available yet in any case - can you please confirm? Thanks -- Carlo Sent from my iPhone
|
This is a known issue. The embedding of binaries into a fat binary is The initial design of gold meant to not support any linker scripts. Then Thanks, From: Philip Pfaffe [email protected] Here are the contents of the linker script: TARGET(binary) — |
Hi Carlo, I think this about the github version. Map clause is already there (and Thanks, From: Carlo Bertolli/Watson/IBM Hi Sergos I thought that the map Clause was not available yet in any case - can you Thanks -- Carlo Sent from my iPhone On Mar 17, 2016, at 7:50 AM, Sergos [email protected] wrote:
|
Compiling and linking code using the target directives fails in the final linker step when gold is the linker.
Reproducing example:
Clang invokation:
clang-3.8 -fopenmp -omptargets=nvptx64sm_30-nvidia-linux -g -O3 -std=c99 test.c -v
Result:
Where /usr/bin/ld is ld.gold.
The text was updated successfully, but these errors were encountered: