qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-3650) cast-align errors while building for various architectures
Date Tue, 10 Jun 2014 21:59:01 GMT

     [ https://issues.apache.org/jira/browse/QPID-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher updated QPID-3650:
----------------------------------

    Fix Version/s: 0.29

> cast-align errors while building for various architectures
> ----------------------------------------------------------
>
>                 Key: QPID-3650
>                 URL: https://issues.apache.org/jira/browse/QPID-3650
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12
>         Environment: Debian unstable
>            Reporter: Cajus Pollmeier
>            Assignee: Darryl L. Pierce
>              Labels: build
>             Fix For: 0.29
>
>
> While running thru various architecture builds for Debian, I'm running in these errors
for ia64, armel, mips, mipsel and sparc:
> 8<----
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. -D_FORTIFY_SOURCE=2
-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -DQPID_LIBEXEC_DIR=\"/usr/lib/qpid\"
-DBOOST_FILESYSTEM_VERSION=2 -Wno-missing-field-initializers -g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Wformat-security -Werror=format-security -c qpid/sys/rdma/RdmaIO.cpp  -fPIC -DPIC
-o qpid/sys/rdma/.libs/librdmawrap_la-RdmaIO.o
> qpid/sys/rdma/RdmaIO.cpp: In member function 'void Rdma::AsynchIO::queueBuffer(Rdma::Buffer*,
int)':
> qpid/sys/rdma/RdmaIO.cpp:203:59: error: cast from 'char*' to 'uint32_t* {aka unsigned
int*}' increases required alignment of target type [-Werror=cast-align]
> cc1plus: all warnings being treated as errors
> make[4]: *** [qpid/sys/rdma/librdmawrap_la-RdmaIO.lo] Error 1
> make[4]: Leaving directory `/build/buildd-qpid-cpp_0.12-2-armel-ztyDej/qpid-cpp-0.12/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/buildd-qpid-cpp_0.12-2-armel-ztyDej/qpid-cpp-0.12/src'
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> dh_auto_build: make -j1 returned exit code 2
> make[2]: Leaving directory `/build/buildd-qpid-cpp_0.12-2-armel-ztyDej/qpid-cpp-0.12/src'
> make[1]: Leaving directory `/build/buildd-qpid-cpp_0.12-2-armel-ztyDej/qpid-cpp-0.12'
> make: *** [build] Error 2
> 8<----
> The complete logs are here:
> https://buildd.debian.org/status/package.php?p=qpid-cpp



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message