Re: [Patch] GCN: Fix --with-arch= handling in mkoffload [PR111966]

2024-04-03 Thread Andrew Stubbs
On 03/04/2024 10:05, Tobias Burnus wrote: This patch handles --with-arch= in GCN's mkoffload.cc While mkoffload mostly does not know this and passes it through to the GCN lto1 compiler, it writes an .o file with debug information - and here the -march= in the ELF flags must agree with the one

[Patch] GCN: Fix --with-arch= handling in mkoffload [PR111966]

2024-04-03 Thread Tobias Burnus
note:' lacks 'fiji', the list is separated by ', ' instead of ' ', and cc1 has a "; did you mean 'gfx1100'?". And the program name is 'gcn mkoffload' instead of 'cc1'. Tobias PS: The generated multilib list could be later ch