Bug #108049 | MySQL fails to build on Alma Linux 8.6 | ||
---|---|---|---|
Submitted: | 2 Aug 2022 10:23 | Modified: | 18 Mar 2023 13:34 |
Reporter: | Mikael Ronström | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 8.0.30 | OS: | Red Hat (Alma Linux 8.6) |
Assigned to: | CPU Architecture: | x86 (AMD) |
[2 Aug 2022 10:23]
Mikael Ronström
[2 Aug 2022 10:46]
MySQL Verification Team
Hello Mikael, Thank you for the report and feedback. Sincerely, Umesh
[8 Dec 2022 13:20]
Mauritz Sundell
Hi Mikael Does the operating system have the functions timer_create and timer_settime?
[18 Mar 2023 13:34]
Mikael Ronström
Seems like the issue is that cmake looks for gcc-annobin.so, but the library is called annobin.so. Copying the annobin.so to gcc-annobin.so files like below fixes the issue. [mikael@localhost plugin]$ ls -la total 292 drwxr-xr-x. 2 root root 4096 Mar 18 16:35 . drwxr-xr-x. 6 root root 4096 Mar 18 16:10 .. lrwxrwxrwx. 1 root root 16 Jun 5 2020 annobin.so -> annobin.so.0.0.0 lrwxrwxrwx. 1 root root 16 Jun 5 2020 annobin.so.0 -> annobin.so.0.0.0 -rwxr-xr-x. 1 root root 46360 Jun 5 2020 annobin.so.0.0.0 lrwxrwxrwx. 1 root root 20 Mar 18 16:35 gcc-annobin.so -> gcc-annobin.so.0.0.0 lrwxrwxrwx. 1 root root 20 Mar 18 16:35 gcc-annobin.so.0 -> gcc-annobin.so.0.0.0 -rwxr-xr-x. 1 root root 46360 Mar 18 16:34 gcc-annobin.so.0.0.0 lrwxrwxrwx. 1 root root 21 Mar 5 2021 libcc1plugin.so -> libcc1plugin.so.0.0.0 lrwxrwxrwx. 1 root root 21 Mar 5 2021 libcc1plugin.so.0 -> libcc1plugin.so.0.0.0 -rwxr-xr-x. 1 root root 57328 Mar 5 2021 libcc1plugin.so.0.0.0 lrwxrwxrwx. 1 root root 21 Mar 5 2021 libcp1plugin.so -> libcp1plugin.so.0.0.0 lrwxrwxrwx. 1 root root 21 Mar 5 2021 libcp1plugin.so.0 -> libcp1plugin.so.0.0.0 -rwxr-xr-x. 1 root root 132080 Mar 5 2021 libcp1plugin.so.0.0.0