On Fri, 2020-03-06 at 10:21 +1100, matthew green wrote: > generally, LGTM. > > however, these are normally generated files. > > can you try to run mknative-gcc for at least one platform to > confirm you get the same result? otherwise this may be lost > in a future update... if you can't get it work, let me know. > > see src/tools/gcc/README.mknative. > Indeed I can't get it to work. Firstly, MKMAINTAINERTOOLS=yes is failing. I can proceed without it without hitting any issue related to gettext but... Secondly, libgmp build is failing being unable to find some (generated?) headers. After hack-copying them all into places where it can find them, I finally ended up with assembler failure: /usr/src/external/lgpl3/gmp/lib/libgmp/add_err2_n.s: Assembler messages: /usr/src/external/lgpl3/gmp/lib/libgmp/add_err2_n.s:120: Error: no such instruction: `adcsbb (%rdx,%r10,8),%rbx' /usr/src/external/lgpl3/gmp/lib/libgmp/add_err2_n.s:132: Error: no such instruction: `adcsbb (%rdx,%r10,8),%rbx' /usr/src/external/lgpl3/gmp/lib/libgmp/add_err2_n.s:137: Error: no such instruction: `adcsbb 8(%rdx,%r10,8),%rbx' *** [add_err2_n.o] Error code 1 Thirdly, if I skip this, then the followup steps fail as a result. Eventually, native-gcc fails being unable to create executables. Do you have any suggestion how to make mknative work even imperfectly? -- Best regards, Michał Górny
Attachment:
signature.asc
Description: This is a digitally signed message part