On 19/03/2020 11:47, Tobias Burnus wrote:
This error only appears for C++ as the reason seems to be that
there are two unresolved symbols: "foo" and "__gxx_personality_v0".
Those error messages are separated by an empty line.

The blank lines are a feature of using the LLVM linker. GNU bintils doesn't emit blank lines, but LLD does.

The GCC testsuite has a test that turns off blank line checking for specific targets (i.e. amdgcn). That test handles both regular and offload configurations.

https://gcc.gnu.org/pipermail/gcc-patches/2018-September/506073.html

Possibly libgomp could use the same, but if this is the only case then perhaps not.

Andrew

Reply via email to