[Bug 1878760] Re: gcc-10 is selecting amdgcn target by default
chinoune
chinoune.mehdi at gmail.com
Fri May 15 10:59:55 UTC 2020
Error message:
lto-wrapper: fatal error: could not find accel/amdgcn-amdhsa/mkoffload in /usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/10/:/usr/lib/gcc/x86_64-linux-gnu/ (consider using ‘-B’)
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-10 in Ubuntu.
https://bugs.launchpad.net/bugs/1878760
Title:
gcc-10 is selecting amdgcn target by default
Status in gcc-10 package in Ubuntu:
New
Bug description:
While trying to offload some programs to my laptop nvidia gpu, compilation failed because gcc-10 is selecting amdgcn target by default even my laptop has not any amd graphics.
A workaround is to use "-foffload=nvptx-none=other-flags".
Ubuntu 20.04 x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/1878760/+subscriptions
More information about the foundations-bugs
mailing list