[MDEV-22887] compilation failure on xenial-ppc64le Created: 2020-06-13 Updated: 2020-06-23 Resolved: 2020-06-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Storage Engine - InnoDB |
| Affects Version/s: | None |
| Fix Version/s: | 10.5.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sergei Golubchik | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Marko Mäkelä [ 2020-06-14 ] | |||||
|
danblack suggests in | |||||
| Comment by Marko Mäkelä [ 2020-06-14 ] | |||||
|
danblack, I hope that you can help us with this. I do not quite understand how this is supposed to work.
will only list 2 files: mysys/CMakeLists.txt (where the symbol is supposed to be defined) and storage/innobase/ut/ut0crc32.cc (the user of the symbol). In mysys/CMakeLists.txt there is the following lines:
As far as I understand, one of these libraries should be generated for crc32_vpmsum() and another for crc32c_vpmsum(). But, for some reason the crc32c_vpmsum() fails to be added to the libmysys. Also, it looks like CRC32_LIBRARY became unused in | |||||
| Comment by Marko Mäkelä [ 2020-06-15 ] | |||||
|
The problem was that libinnobase.a depends on libmysys.a, but we failed to specify that dependency. Newer versions of the linker have apparently become more permissive. The libmysys.a had already been specified before libinnobase.a in the linker invocation. |