[MDEV-21370] dynamic_cast' not permitted with '-fno-rtti' Created: 2019-12-20 Updated: 2020-02-03 Resolved: 2020-02-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.4.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | hiroshi HATAKE | Assignee: | Sergei Petrunia |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Arch Linux, gcc 9.2.0 |
||
| Attachments: |
|
| Description |
|
RocksDB storage engine does not compile with gcc 9.2.0: —
|
| Comments |
| Comment by Marko Mäkelä [ 2019-12-27 ] | |
|
cosmo0920, I wonder how your CMakeCache.txt
Did you set some of those in CXXFLAGS, or did you update the source tree to 10.4 from some older version, without deleting CMakeCache.txt in between? There should be no -fno-rtti in the MariaDB build configuration in 10.4 (except for handler_socket, mroonga, spider, tokudb). It was removed in 10.4.5. | |
| Comment by hiroshi HATAKE [ 2020-01-05 ] | |
|
Gotcha! It's my fault. My used building rule is here: `-fno-rtti` is specified there.... And this should be fixed on my environment. |