Re: [cfe-users] Adding linker flag `-save-temps` resolves the clang-8 error: "unable to make temporary file"

2020-10-05 Thread Danijel DOMAZET via cfe-users
Hi David, Hi Fang-rui, Just to remind, when I add -save-temps flag, linking works, but without this option it fails with: clang-8: error: unable to make temporary file: No such file or directory clang-8: error: unable to make temporary file: No such file or directory clang-8: error: unable to mak

Re: [cfe-users] Adding linker flag `-save-temps` resolves the clang-8 error: "unable to make temporary file"

2020-10-05 Thread David Blaikie via cfe-users
Yep, pretty weird that it tries to write to an empty file name. What's the exact raw clang command you used that printed that cc1 command line? On Mon, Oct 5, 2020 at 6:46 AM Danijel DOMAZET < p-danijel.doma...@devialet.com> wrote: > Hi David, Hi Fang-rui, > > Just to remind, when I add -save-te