Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work

2018-03-23 Thread Matt Turner
On Mon, Mar 19, 2018 at 3:40 PM, James Le Cuirot wrote: > On Mon, 19 Mar 2018 15:16:47 -0700 > Matt Turner wrote: > >> Thanks for looking into this! >> >> I'm not sure I understand the -nostdlib portion. It's something about >> working around a side-effect of -x assembler? > > It's not related to

Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work

2018-03-19 Thread James Le Cuirot
On Mon, 19 Mar 2018 15:16:47 -0700 Matt Turner wrote: > Thanks for looking into this! > > I'm not sure I understand the -nostdlib portion. It's something about > working around a side-effect of -x assembler? It's not related to that option. I think it's because this is normally built with "as"

Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work

2018-03-19 Thread Matt Turner
Thanks for looking into this! I'm not sure I understand the -nostdlib portion. It's something about working around a side-effect of -x assembler?

[gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work

2018-03-19 Thread James Le Cuirot
The previous attempt actually broke ASM in media-libs/vulkan-loader entirely so that it fell back to C code. After much experimentation and combing through strace output, I found that -x assembler is needed to handle non-standard file extentions and linking is done as a separate step. CMAKE_ASM-ATT