Original date:2019-08-21 19:34:14 Edited by: irv Subject: Re: Compile broken after upgrading to Ubuntu 18.04 LTS

ghaberek said...
irv said...

However, I certainly don't have the skill to make this work. Somebody?

As of Ubuntu 17.10, their GCC uses -fPIE (position independent executable) as the default over -fPIC (position independent code). You just need to add -extra-lflags="-no-pie" to the command line.

euc -extra-lflags="-no-pie" search.ex 

We may have to add a bit to the translator to check for this somehow and provide precompiled PIE and PIC libraries, or always emit -no-pie to just use PIC.


This works with plain text Euphoria, e.g. puts(1,"Hello World!"), but fails to compile even a one-liner that uses GtkEngine.e:

include GtkEngine.e 

Segmentation fault (core dumped)

The problem is probably in EuGTK, but finding it will be a hassle.

So, for now, compiling EuGTK programs is out (not that it is really necessary, bound programs work fine, and bind is so much faster than compiling).

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu