Re: Recompile with -fPIE

new topic     » goto parent     » topic index » view thread      » older message » newer message
Pirx said...

No matter how simple Euphoria code is. I always get this error message.

This is caused by later versions of libm having removed those functions (__powl_finite, etc.) in recent distros. This was also discussed here (07 Apr 2021) and here (17 Oct 2020).

Unfortunately there's no immediate fix until we can get a new release out, which I'm still gradually chipping away at. In the mean time, the best solutions I can offer are:

  1. build on an older distro like Ubuntu 18.04 (the executable should be forward-compatible)
  2. build your own copy of the library from source: https://openeuphoria.org/forum/m/136073.wc

I just re-tested the "build your own library" option again on an Ubuntu 20.04 machine in WSL and seems to work fine.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu