Boost logo

Boost Testing :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-11-27 16:16:29


Hi Ion,

thank you for making the Interprocess library work on HP-UX. I'll take
a look at the failures with gcc.

On a slightly different topic: on HP-UX, the semaphore functions require
linking with -lrt. Unlike gcc toolset, acc toolset does not add -lrt to
the link command and, as the result, a number of Interprocess library
tests fail to link on HP-UX_ia64_aCC. Attached patch fixes the problem:
tested on HP-UX ia64 with aC++ and on Tru64 with cxx. Ok to commit?

Thanks,
  Boris

Index: test/Jamfile.v2
===================================================================
--- test/Jamfile.v2 (revision 41422)
+++ test/Jamfile.v2 (working copy)
@@ -25,6 +25,8 @@
       : # additional args
       : # test-files
       : # requirements
+ <toolset>acc:<linkflags>-lrt
+ <toolset>acc-pa_risc:<linkflags>-lrt
       ] ;
    }

----- Original Message -----
From: "Ion Gaztañaga" <igaztanaga_at_[hidden]>
To: "Boost Testing List" <boost-testing_at_[hidden]>
Sent: Tuesday, November 27, 2007 3:34 PM
Subject: [Boost-testing] [interprocess] HP-UX_ia64_gcc failures

> Hi,
>
> After recent changes, HP-UX_ia64_gcc (gcc-4.2.1) failures have been
> reduced to 13 and those are the only remaining failures for
> Interprocess. There are some strange failures. For example:
>
> http://tinyurl.com/32exwz
>
> Run [2007-11-26 19:09:49 UTC]: fail
>
> do_test_condition_notify_one<N5boost12interprocess22interprocess_conditionE,N5boost12interprocess18interprocess_mutexE
> do_test_condition_notify_all<N5boost12interprocess22interprocess_conditionE,N5boost12interprocess18interprocess_mutexE
>
> fails without the return error. Maybe an exception?
>
> This one (http://tinyurl.com/2o7ohr) fails with:
>
> Run [2007-11-26 19:09:52 UTC]: fail
>
> Unhandled exception: Not enough space
> terminate called after throwing an instance of
> 'boost::interprocess::interprocess_exception'
> what(): Not enough space
>
> EXIT STATUS: 134
>
> The test is trying to create a mapped file. Maybe a permission issue
> when creating the file?
>
> The same tests on the same gcc version but on linux (Sandia-gcc-64) seem
> ok, so I need a bit of help here.
>
> Regards,
>
> Ion
> _______________________________________________
> Boost-Testing mailing list
> Boost-Testing_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-testing
>


Boost-testing list run by mbergal at meta-comm.com