qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cajus Pollmeier (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-3650) cast-align errors while building for various architectures
Date Wed, 30 Nov 2011 13:55:40 GMT

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

Cajus Pollmeier updated QPID-3650:
----------------------------------

    Description: 
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

  was:
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

    
> 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
>              Labels: build
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message