$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David M Garza (David.M.Garza_at_[hidden])
Date: 2005-12-06 12:00:32
I tried building smart_ptr_test.cpp using the following command:
g++ -I /users4/dgarza/boost_1_33_0/ -O0 -o smart_ptr_test smart_ptr_test.cpp
just to make sure I had control of the optimization level.  When I ran 
it I got the following output:
UDT with value 999888777 being destroyed
UDT with value 111222333 being destroyed
Segmentation fault (core dumped)
When the optimization level goes to -O2, the seg fault turns to a bus error.
Again, this is with gcc 3.4.3, and the machine is an Itanium 2 
workstation running HPUX 11.22.  Building stuff on this machine always 
ends up turning into such a hassle...
If there is any particular test I can run which could help sort out what 
is going on let me know.  I'm afraid I'm a something of a loss on where 
to go next aside from a platform where testing hs been successful.
David
John Maddock wrote:
>>I get 7 failures:
>>
>> smart_ptr_test
>> shared_ptr_basic_test
>> shared_ptr_test
>> weak_ptr_test
>> shared_from_this_test
>> get_deleter_test
>> shared_ptr_alloc_test
> 
> 
> Not good, and since bcp replies on shared_ptr that would be why that one 
> failed as well.
> 
> However I can't reproduce this, on:
> 
> HP-UX td192 B.11.11 U 9000/800 1839940656 unlimited-user license
> 
> with
> 
> Reading specs from /usr/local/lib/gcc/hppa2.0w-hp-hpux11.11/3.4.2/specs
> Configured with: 
> /scratch/njs/pkgbuild/3.3.1/hpux-11/gcc-3.4.2/configure --enable-languages=c,c++ 
>  --enable-threads=posix --disable-nls --with-gnu-as --without-gnu-ld --with-as=/usr/local/bin/as 
>  --with-ld=/usr/ccs/bin/ld --with-libiconv-prefix=/usr/local --prefix=/usr/local
> Thread model: posix
> gcc version 3.4.2
> 
> Where all the smart ptr tests pass OK.
> 
> I'm cc'ing Peter Dimov as he's our smart_ptr expert.
> 
> John. 
> 
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users
> 
>