https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86660

--- Comment #1 from cesar at gcc dot gnu.org ---
Created attachment 44431
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44431&action=edit
LTO graceful abort patch

With the LTO graceful abort patch, I now see this error:

lto1: error: Missing ‘results’
lto1: fatal error: errors during merging of translation units
compilation terminated.
mkoffload: fatal error: x86_64-none-linux-gnu-accel-nvptx-none-gcc returned 1
exit status
compilation terminated.
lto-wrapper: fatal error:
/openacc/trunk/install/libexec/gcc/x86_64-none-linux-gnu/9.0.0//accel/nvptx-none/mkoffload
returned 1 exit status
compilation terminated.
/openacc/trunk/install/lib/gcc/x86_64-none-linux-gnu/9.0.0/../../../../x86_64-none-linux-gnu/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status

Why is results not being passed to the accelerator? Is it missing a target
declare or whatever its called in OpenMP?

Reply via email to