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

Codes possibly broken in GCC #17

Open
jefflarkin opened this issue Jul 19, 2023 · 0 comments
Open

Codes possibly broken in GCC #17

jefflarkin opened this issue Jul 19, 2023 · 0 comments
Labels
unverified Issue has not yet been verified.

Comments

@jefflarkin
Copy link
Contributor

          Can this practice code be compiled with Gcc using acceleration right now?

I have installed gcc-offload-nvptx lib, but failed to compile laplace2d example with gcc -fopenacc.

All of the gcc commands test failed with following output:

/usr/bin/ld: /tmp/ccgHqtwA.crtoffloadtable.o: warning: relocation against __offload_vars_end' in read-only section .rodata'
/usr/bin/ld: /tmp/cctTGv8q.o: in function main': laplace2d-parallel.c:(.text+0x287): undefined reference to GOACC_parallel_keyed'
/usr/bin/ld: laplace2d-parallel.c:(.text+0x303): undefined reference to GOACC_parallel_keyed' /usr/bin/ld: /tmp/ccT24dnM.target.o: in function init':
ccGkwQvx.c:(.text+0x27): undefined reference to GOMP_offload_register_ver' /usr/bin/ld: /tmp/ccT24dnM.target.o: in function fini':
ccGkwQvx.c:(.text+0x55): undefined reference to `GOMP_offload_unregister_ver'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status

Originally posted by @RudiFeiman in #14 (comment)

@jefflarkin jefflarkin added the unverified Issue has not yet been verified. label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unverified Issue has not yet been verified.
Projects
None yet
Development

No branches or pull requests

1 participant