Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-10-25 10:53:00


Vladimir Prus wrote:
> On Wednesday 24 October 2007 18:27:30 Ruediger Berlich wrote:
>> OpenSUSE 10.3 is still delivered with Boost 1.33.1 . Hence I've downloaded
>> Boost 1.34.1 and tried to compile it. I ran the configure script and then
>> make. The resulting bjam immediately dies with an error:
>>
>> ./tools/jam/src/bin.linuxx86/bjam --user-config=user-config.jam
>> /bin/sh: line 1: 2090
>> Speicherzugriffsfehler ./tools/jam/src/bin.linuxx86/bjam --user-config=user-config.jam
>>
>> "Speicherzugriffsfehler" means "memory access violation".
>>
>> This is on a Pentium-D dual-core system (4GB main memory) running with a
>> 32-bit Linux kernel 2.6.22, g++ 4.2.1 .
>
> Rene,
> does this sound like that alias analysis issue with g++ 4.2?

Yep, it's the aliasing problem with gcc-4.2

> Have we figured the
> exact cause of this crash,

Nope, other than it's a compiler bug.

> and any approach for working it around?

The only work around I know of is to compile a debug version, or with
--fno-strict-alias, IIRC.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk