Percona Server failed to compile on CentOS 5 without march=i686

Bug #1204461 reported by Sergei Glushchenko
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.1
Invalid
Undecided
Unassigned
5.5
Triaged
Low
Unassigned
5.6
Triaged
Low
Unassigned
5.7
Invalid
Undecided
Unassigned

Bug Description

on CentOS 5 32 bit run

cmake ../Percona-Server
make

compilation will fail as following:

 53%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/que/que0que.cc.o
[ 53%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/read/read0read.cc.o
/root/repo/5.6-ps-bug1196383/Percona-Server/storage/innobase/read/read0read.cc: In function ‘read_view_t* read_view_create_low(ulint, read_view_t*&)’:
/root/repo/5.6-ps-bug1196383/Percona-Server/storage/innobase/read/read0read.cc:193: error: ‘os_atomic_increment_ulint’ was not declared in this scope
/root/repo/5.6-ps-bug1196383/Percona-Server/storage/innobase/read/read0read.cc:205: error: ‘os_atomic_increment_ulint’ was not declared in this scope
/root/repo/5.6-ps-bug1196383/Percona-Server/storage/innobase/read/read0read.cc: In function ‘void read_view_free(read_view_t*&)’:
/root/repo/5.6-ps-bug1196383/Percona-Server/storage/innobase/read/read0read.cc:585: error: ‘os_atomic_decrement_lint’ was not declared in this scope
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/read/read0read.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target pfs_instr_class-oom-t
[ 54%] Building CXX object storage/perfschema/unittest/CMakeFiles/pfs_instr_class-oom-t.dir/pfs_instr_class-oom-t.cc.o
Linking CXX executable pfs_instr_class-oom-t
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 54%] Built target pfs_instr_class-oom-t
make: *** [all] Error 2

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

output from Percona Server 5.6

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

It's a feature of sorts, see bug 1177682. But it should be addressed in a more friendly way.

Revision history for this message
Swany (greenlion) wrote :

Just a note - this bug is why MariaDB 10 replaces XtraDB as the default storage engine with Oracle InnoDB.

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/PS-2995

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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