2.2 build fails with CMake 2.6

Bug #1255899 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Alexey Kopytov
2.2
Fix Released
Medium
Alexey Kopytov

Bug Description

After the single binary branch has been merged to 2.2, building with an old CMake version fails as follows:

---
Linking C executable xbcrypt
../../../../mysys_ssl/libmysys_ssl.a(my_getopt.cc.o):(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
../../../../mysys_ssl/libmysys_ssl.a(my_aes.cc.o): In function `~Mode_BASE':
/home/glorch/dev/xb-2.2-async-encryption/extra/yassl/taocrypt/include/modes.hpp:64: undefined reference to `operator delete(void*)'
...
---

The reason is that linker autodetection between CMake 2.6 and 2.8 differs, and 2.6 incorrectly chooses C linker instead of the C++ one.

Related branches

Changed in percona-xtrabackup:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-678

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.