Percona XtraDB Cluster - HA scalable solution for MySQL

Build failure in galera-3.x: strict-aliasing rules

Reported by Raghavendra D Prabhu on 2013-09-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Galera
Medium
Alex Yurchenko
Percona XtraDB Cluster
Undecided
Unassigned

Bug Description

g++ -o galera/src/trx_handle.os -c -Wno-long-long -Wno-deprecated -ansi -pipe -Weffc++ -Wold-style-cast -g -O3 -DNDEBUG -m64 -Wall -Wextra -Wno-unused-parameter -pedantic -fPIC -pthread -D_XOPEN_SOURCE=600 -DHAVE_COMMON_H -DGALERA_USE_GU_NETWORK -DHAVE_BYTESWAP_H -DHAVE_ENDIAN_H -DHAVE_BOOST_SHARED_PTR_HPP -DHAVE_TR1_UNORDERED_MAP -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG=1 -DHAVE_ASIO_HPP -DHAVE_ASIO_SSL_HPP -Werror -Icommon -Iasio -Igalerautils/src -Igcomm/src -Igcomm/src/gcomm -Igcache/src -Igcs/src -Iwsdb/src -Igalera/src galera/src/trx_handle.cpp
cc1plus: warnings being treated as errors
galera/src/key_set.hpp: In constructor 'galera::KeySetOut::KeyPart::KeyPart(galera::KeySetOut::KeyParts&, galera::KeySetOut&, const galera::KeySetOut::KeyPart*, const galera::KeyData&, int)':
galera/src/key_set.hpp:86: error: dereferencing pointer 'from' does break strict-aliasing rules
galera/src/key_set.hpp:82: note: initialized from here
galera/src/key_set.hpp:86: error: dereferencing pointer 'to' does break strict-aliasing rules
galera/src/key_set.hpp:83: note: initialized from here
scons: *** [galera/src/key_set.os] Error 1
scons: building terminated because of errors.
Build step 'Execute shell' marked build as failure
Archiving artifacts

Full log: http://jenkins.percona.com/job/build-galera3-libs/label_exp=centos6-64/1/consoleText
CentOS6-64

Using strict_build_flags=0 as the build parameter in scons command line helped (suggested by Teemu).

Alex Yurchenko (ayurchen) wrote :
Changed in galera:
assignee: nobody → Alex Yurchenko (ayurchen)
importance: Undecided → Medium
milestone: none → 3.0beta
status: New → Fix Committed
Changed in galera:
milestone: 3.0beta → 3.0
Changed in galera:
status: Fix Committed → Fix Released
Changed in percona-xtradb-cluster:
milestone: none → 5.6.13-24.0
status: New → Fix Committed
Changed in galera:
status: Fix Released → Fix Committed
Changed in percona-xtradb-cluster:
status: Fix Committed → Fix Released
Changed in galera:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers