Re: [patch][gcn] mkoffload: Fix linking with "-g"; fix file deletion; improve diagnostic [PR111966]

2024-01-21 Thread Richard Biener
On Fri, Jan 19, 2024 at 9:08 PM Tobias Burnus wrote: > > This patch fixes PR111966, i.e. when compiling offloaded code with "-g" > but without "-march=", mkoffload created a file with e_flags set to > gfx803/fiji as architecture - while all other files used gfx900, which > the linker did not

[patch][gcn] mkoffload: Fix linking with "-g"; fix file deletion; improve diagnostic [PR111966]

2024-01-19 Thread Tobias Burnus
This patch fixes PR111966, i.e. when compiling offloaded code with "-g" but without "-march=", mkoffload created a file with e_flags set to gfx803/fiji as architecture - while all other files used gfx900, which the linker did not like. Reason: When the default was changed, this flag was