Re: Compile broken after upgrading to Ubuntu 18.04 LTS
- Posted by ghaberek (admin) Aug 21, 2019
- 2383 views
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.
-Greg