<div dir="ltr"><div><div>-no-pie is actually passed by SConscript.  I can't find any mention in my emails about a -no-pie problem on debian. The problem we had was that -no-pie was supported (nor necessary) for clang on OSX. <br></div><br></div><div>The -no-pie flag was added in r9542:<br>"""<br>scons: Fix hspeak builds on Arch Linux and others where gcc defaults to <span class="m_-3531646322024788104gmail-il">PIE</span><br>
<br>
The Euphoria 4.1 builds we recommend (and which are also used by the Arch<br>
opeeuphoria package on AUR) haven't been built for <span class="m_-3531646322024788104gmail-il">PIE<br>"""<br></span></div><div><span class="m_-3531646322024788104gmail-il">Apparently this flag is also necessary on (recent?) Debian and Ubuntu, as they also default to PIE.<br></span></div><div><span class="m_-3531646322024788104gmail-il"><br></span></div><div><span class="m_-3531646322024788104gmail-il">It's not clear, but from searching around it appears that this flag used to be called -nopie until gcc 6 switched to -no-pie. So try that. I have the man page for gcc 4.8 here, and it doesn't say either way.<br>Also, there is -fno-pie which is a compiler flag while -no-pie is a linker flag (also understood by gcc). So you could also try that and see whether it works. (I assume that -no-pie passed to gcc implies -fno-pie)<br></span></div><div><div class="gmail_extra"><br><div class="gmail_quote">On 16 December 2017 at 12:32, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div>So now I remember why I have the 32-bit version of Euphoria installed on the Linux nightly build machine.<br><br></div>The hspeak build fails because gcc doesn't understand --no-pie<br><div><br><div><br>gcc -o /home/james/src/ohr/wip/hspeak init-.o hspeak.o main-.o hspeak_0.o hspeak_1.o hspeak_2.o hspeak_3.o hspeak_4.o hsspiffy.o file.o sort.o get.o graphics.o machine.o math.o types.o unicode.o ucstypes.o io_with_unicode.o 0achine.o memory.o dll.o  /usr/share/euphoria/bin/eu.a -m64 -ldl -lm -lpthread -no-pie<br>gcc: error: unrecognized command line option '-no-pie'<br>hspeak.mak:97: recipe for target '/home/james/src/ohr/wip/hspea<wbr>k' failed<br>make: *** [/home/james/src/ohr/wip/hspea<wbr>k] Error 1<br>make: Leaving directory '/home/james/src/ohr/wip/build<wbr>/hspeak'<br>scons: done building targets.<br>james@ixrat:~/src/ohr/wip$ euc -v<br>Euphoria to C Translator v4.1.0 development<br>   64-bit Linux, Using System Memory<br>   Revision Date: 2015-02-02 14:18:53, Id: 5861:57179171dbed<br>james@ixrat:~/src/ohr/wip$ gcc --version<br>gcc (Debian 4.9.2-10) 4.9.2<br>Copyright (C) 2014 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.  There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br><br><br></div><div>I am wondering if the easiest way to resolve this might be to upgrade the virtual machine from Debian 8.x to 9.x and hopefully get a version of gcc that does not have this problem.<br><br></div><div>For now, I am leaving the 64-bit version of euphoria installed on the vm, so the 64-bit nightly builds are going to remain broken until I have figured out a solution.<br><br>---<br></div><div>James<br></div></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a rel="noreferrer" href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div></div>