Boost logo

Boost Users :

Subject: [Boost-users] [interprocess] problem in HPUX
From: Rui Pedro Fernandes (ruipfernandes_at_[hidden])
Date: 2009-09-01 13:45:12


Hi,

I've been trying boost.interprocess v. 1.40 in a HP-UX 11.23 IA64 machine.

Firstly I tried a 64 bit compilation of the interprocess test with aCC
compiler (v. A.06.15). It failed with error: "No atomic operations
implemented for this platform, sorry!".

Then I used gcc 4.1.2 and compilation did succeed. Many tests got passed,
however some failed with "boost::interprocess_exception::library_error".
Here is an output example of both cases:

>>>>>>

gcc.compile.c++
../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.o

"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -fPIC -mlp64
-DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1
-I"../../.." -c -o
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.o"
"named_construct_test.cpp"

gcc.link
../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test

"g++" -o
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test"
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.o"
"../../../bin.v2/libs/thread/build/gcc-4.1.2/debug/threading-multi/libboost_thread-gcc41-mt-d-1_40.so.1.40.0"
-lrt -g -fPIC -pthread -mlp64

testing.capture-output
../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.run

LD_LIBRARY_PATH="/usr/local/bin:/usr/local/lib:/usr/local/lib32:/usr/local/lib64:/usr/users/genesys/src/boost_1_40_0/bin.v2/libs/thread/build/gcc-4.1.2/debug/threading-multi:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test"
>
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.output"
2>&1
status=$?
echo >>
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.output"
echo EXIT STATUS: $status >>
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.output"
if test $status -eq 0 ; then
cp
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.output"
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.output"
echo ====== END OUTPUT ======
fi
exit $status

...on 100th target...
**passed**
../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.test

echo passed >
"../../../bin.v2/libs/interprocess/test/named_construct_test.test/gcc-4.1.2/debug/threading-multi/named_construct_test.test"

gcc.compile.c++
../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.o

"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -fPIC -mlp64
-DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1
-I"../../.." -c -o
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.o"
"named_mutex_test.cpp"

gcc.link
../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test

"g++" -o
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test"
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.o"
"../../../bin.v2/libs/thread/build/gcc-4.1.2/debug/threading-multi/libboost_thread-gcc41-mt-d-1_40.so.1.40.0"
-lrt -g -fPIC -pthread -mlp64

testing.capture-output
../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.run

LD_LIBRARY_PATH="/usr/local/bin:/usr/local/lib:/usr/local/lib32:/usr/local/lib64:/usr/users/genesys/src/boost_1_40_0/bin.v2/libs/thread/build/gcc-4.1.2/debug/threading-multi:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test"
>
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.output"
2>&1
status=$?
echo >>
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.output"
echo EXIT STATUS: $status >>
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.output"
if test $status -eq 0 ; then
cp
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.output"
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.run"
fi
verbose=0
if test $status -ne 0 ; then
verbose=1
fi
if test $verbose -eq 1 ; then
echo ====== BEGIN OUTPUT ======
cat
"../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.output"
echo ====== END OUTPUT ======
fi
exit $status

====== BEGIN OUTPUT ======
create_then_open_then_open_or_create<33named_mutex_creation_test_wrapper>
Failed: false file: named_creation_template.hpp line : 34
boost::interprocess_exception::library_error

EXIT STATUS: 1
====== END OUTPUT ======
...failed testing.capture-output
../../../bin.v2/libs/interprocess/test/named_mutex_test.test/gcc-4.1.2/debug/threading-multi/named_mutex_test.run...

<<<<<<

Could anyone explain this error? Is it possible to overcome the problem?

Thanks in advance.
Rui



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net