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

xantares09 at hotmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xantares09 at hotmail dot com

--- Comment #1 from xantares09 at hotmail dot com ---
Created attachment 36169
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36169&action=edit
call initialize_env before goacc_host_init

I can reproduce here:
err:module:attach_process_dlls "libgomp-1.dll" failed to initialize, aborting

Mattias is totally right:
if i assign a higher initialization priority to env.c:initialize_env than
oacc-host.c:goacc_host_init the dll is correctly initialized

the patch may not be ok, but you get the idea

Reply via email to