[Ohrrpgce] Can't compile 64-bit hspeak on the nightly build vm

James Paige Bob at hamsterrepublic.com
Fri Dec 15 15:32:32 PST 2017


So now I remember why I have the 32-bit version of Euphoria installed on
the Linux nightly build machine.

The hspeak build fails because gcc doesn't understand --no-pie


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
gcc: error: unrecognized command line option '-no-pie'
hspeak.mak:97: recipe for target '/home/james/src/ohr/wip/hspeak' failed
make: *** [/home/james/src/ohr/wip/hspeak] Error 1
make: Leaving directory '/home/james/src/ohr/wip/build/hspeak'
scons: done building targets.
james at ixrat:~/src/ohr/wip$ euc -v
Euphoria to C Translator v4.1.0 development
   64-bit Linux, Using System Memory
   Revision Date: 2015-02-02 14:18:53, Id: 5861:57179171dbed
james at ixrat:~/src/ohr/wip$ gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


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.

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.

---
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20171215/cce69f9e/attachment.html>


More information about the Ohrrpgce mailing list