<div dir="ltr"><div class="gmail_default" style="font-size:small">In testing the 0001-noexecstack...patch, dmesg did not have the following message anymore:</div><div class="gmail_default" style="font-size:small"> process '/cinelerra-5.1-build/bin/cin' started with executable stack</div><div class="gmail_default" style="font-size:small">But now I have the message:</div><div class="gmail_default" style="font-size:small"> asus 0003:0B05:1837.0004: Unmapped Asus vendor usagepage code 0xec</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Soooooo, I just do not know if this patch is a good solution or will create unknown problems. Without more knowledge, it is probably best to leave it out for now unless someone knows for sure that it is a better idea.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 26, 2023 at 4:50 PM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 27 янв. 2023 г., 02:49 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>this one<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 12 янв. 2023 г., 06:58 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer" target="_blank">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 12 янв. 2023 г., 06:21 Rob Prowel <<a href="mailto:rprowel@comcast.net" rel="noreferrer noreferrer" target="_blank">rprowel@comcast.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/11/23 07:37, Andrew Randrianasulu wrote:<br>
> ср, 11 янв. 2023 г., 13:30 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">randrianasulu@gmail.com</a>>:<br>
> <br>
> can you check if something like attached patch fixes it for you?<br>
> <br>
> i hope it was only o file with missing GNU.stack<br>
> note, old linkers may dislike this and also it seems clang linker (lld)<br>
> default on termux does this by default ....<br>
<br>
re -- patch<br>
<br>
-LDFLAGS1 = -Wl,-export-dynamic -g<br>
+LDFLAGS1 = -Wl,-export-dynamic -g -Wl,-z,noexecstack<br>
<br>
Are you sure you want to do this? Is is portable?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I'll try to check on few systems where cingg builds - FreeBSD, NetBSD, various linux from ubuntu to Rosa to Slackware (we do not build on Irix, Solaris, HP-UX .... And cygwin probably uses gnu binutils?)</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I asked more if patch was working for you in this case ...even if it turned to be unportable we can selectively apply it....</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Might an alternate solution have merit? ie scanning the blob resources <br>
and saving their hex data as static arrays and then compiling and <br>
linking the resulting .o files, which presumable only contain .data <br>
segments? Increases build time and complexity but seems more portable.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">thanks for idea .... I think pngtoh tool in guicast tries to do that. (turns png into data arrays inside header)</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
</blockquote></div></div></div>
</blockquote></div></div></div>
</blockquote></div></div></div>
</blockquote></div>