[Ohrrpgce] [ohrrpgce/ohrrpgce] Can't compile hspeak on openSUSE (#1119)

Ralph Versteegen notifications at github.com
Mon Aug 31 07:40:36 PDT 2020


Compiling hspeak is broken on many distros and getting worse; Ichiro (@lunarlabs) had the same problem and helped me work this out a while ago. Ichiro and MirceaKitsune both have GCC 10 and a recent glibc and tried to use the (latest) `euphoria-4.1.0-Linux-x64-57179171dbed.tar.gz` builds. It turns out that the `eu.a` static library was compiled with `-ffast-math` passed to gcc, which introduced references to `pow_finite`. It further turns out [glibc effectively removed `pow_finite`](https://sourceware.org/git/?p=glibc.git;a=commit;h=7bdb921d70bf9f93948e2e311fef9ef439314e41)! (*) There's [more information here](https://reviews.llvm.org/D74712). Basically, references to `pow_finite` supposedly only appear in .o/.a files, not linked executables/dynamic libraries, and glibc does not aim to preserve ABI compatibility for .o/.a files across different versions, and pow_finite has been so they dropped support for it. 

Ichiro has updated the AUR OHRRPGCE package so that it installs a bash script called `hspeak` which runs `eui hspeak.exw`

We really should report this... I searched the openeuphoria.org forum and bugtracker, nothing.

(*) What this looks like is:
```
> objdump -t /lib64/libm.so.6  |grep pow_finite
000000000002e460 g   i   .text  000000000000003d              __pow_finite at GLIBC_2.15
```
while on older systems it's just __pow_finite without the ABI version tag.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1119#issuecomment-683821469
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20200831/ad6cd01e/attachment-0001.html>


More information about the Ohrrpgce mailing list