qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cajus Pollmeier <ca...@naasa.net>
Subject Building qpid-cpp on non i386/amd64
Date Mon, 10 Oct 2011 14:43:21 GMT

I've a problem with building qpid-cpp on powerpc and arm in the moment. 
In the first case, the compiler bails out with:

/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../include -I../include -I. -I=.   -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-cpp/qpid\" 
-DBOOST_FILESYSTEM_VERSION=2 -g -O2 -c -o qpid/RefCountedBuffer.lo 
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include 
-I. -I=. -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 
-DBOOST_FILESYSTEM_VERSION=2 -g -O2 -c qpid/RefCountedBuffer.cpp  -fPIC 
-DPIC -o qpid/.libs/RefCountedBuffer.o
qpid/RefCountedBuffer.cpp: In static member function 'static 
qpid::BufferRef qpid::RefCountedBuffer::create(size_t)':
qpid/RefCountedBuffer.cpp:37:83: error: cast from 'char*' to 
'qpid::RefCountedBuffer*' increases required alignment of target type 
cc1plus: all warnings being treated as errors

make[4]: *** [qpid/RefCountedBuffer.lo] Error 1
make[4]: Leaving directory 
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
make[2]: *** [all] Error 2
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 

Complete log is here:


In the second case, the build itself is running fine, but valgrind 
reports (maybe false) problems during the tests:


I'm no arm/valgrind guru: are these easily fixeable, or should I just 
disable those architectures in the build?


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

View raw message