Re: [osg-users] G++ version problem

2011-04-04 Thread Grahame Bowland
On Mon, 2011-04-04 at 09:33 +0200, Alberto Luaces wrote: > Hi Mathias, Grahame, > > Mathias Fröhlich writes: > > There is a configure time switch in gcc that changes the default > > architecture. > > Distributions usually have their compiler configured for something that > > includes support f

Re: [osg-users] G++ version problem

2011-04-04 Thread Alberto Luaces
Hi Mathias, Grahame, Mathias Fröhlich writes: > Good morning, > > On Monday 04 April 2011, Grahame Bowland wrote: >> `__sync_bool_compare_and_swap_4' src.cxx:(.text+0x78): undefined reference >> to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status >> gmake[1]: *** [cmTryCompile

Re: [osg-users] G++ version problem

2011-04-03 Thread Mathias Fröhlich
Good morning, On Monday 04 April 2011, Grahame Bowland wrote: > `__sync_bool_compare_and_swap_4' src.cxx:(.text+0x78): undefined reference > to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status > gmake[1]: *** [cmTryCompileExec] Error 1 > gmake: *** [cmTryCompileExec/fast] Erro

Re: [osg-users] G++ version problem

2011-04-03 Thread Grahame Bowland
On Fri, 2011-04-01 at 12:06 +0200, Alberto Luaces wrote: > > The gcc _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS test should pass for both > > gcc 4.4.3 and 4.5.2. I used plenty of gcc versions prior to 4.4.3 and > > it worked fine. I'm currently using gcc 4.4.5 on this system and it > > pick up on _OP

Re: [osg-users] G++ version problem

2011-04-01 Thread Alberto Luaces
Robert Osfield writes: > Hi Grahame, > > On Fri, Apr 1, 2011 at 4:20 AM, Grahame Bowland > wrote: >> Thanks very much, that was it! gcc-4.4.3 was failing the >> _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS test, which succeeded for 4.5.2. >> That changed the "Atomic" header file, which presumably changed

Re: [osg-users] G++ version problem

2011-04-01 Thread Robert Osfield
Hi Grahame, On Fri, Apr 1, 2011 at 4:20 AM, Grahame Bowland wrote: > Thanks very much, that was it! gcc-4.4.3 was failing the > _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS test, which succeeded for 4.5.2. > That changed the "Atomic" header file, which presumably changed the size > of a bunch of importan

Re: [osg-users] G++ version problem

2011-03-31 Thread Grahame Bowland
On Thu, 2011-03-31 at 11:49 +0200, Alberto Luaces wrote: > Grahame Bowland writes: > > > Hi all > > > > I'm shipping a version of OpenSceneGraph to users which has been > > compiled with G++ 4.4.3. I've also compiled my app with this version of > > G++. > > > > I'm now compiling the same OpenScene

Re: [osg-users] G++ version problem

2011-03-31 Thread Alberto Luaces
"Melanie Presa" writes: > I'm just worried incase I get so far down the line with my application, need > to use a 3rd party library which won't work with the compiler Qt requires. > Looks like I might have some flexibility in updating it then... Well, the first thing is to check that both build

Re: [osg-users] G++ version problem

2011-03-31 Thread Melanie Presa
I'm just worried incase I get so far down the line with my application, need to use a 3rd party library which won't work with the compiler Qt requires. Looks like I might have some flexibility in updating it then... -- Read this topic online here: http://forum.openscenegraph.org/

Re: [osg-users] G++ version problem

2011-03-31 Thread Alberto Luaces
Grahame Bowland writes: > Hi all > > I'm shipping a version of OpenSceneGraph to users which has been > compiled with G++ 4.4.3. I've also compiled my app with this version of > G++. > > I'm now compiling the same OpenSceneGraph source code (2.8.2-rc4) with g > ++ 4.5.2. Running my g++ 4.4.3 compi

Re: [osg-users] G++ version problem

2011-03-31 Thread Robert Osfield
Hi Grahame, Might the binary compatibility been broken between g++ 4.4.3 and 4.5.2? In terms of a different g++ version causing problems directly in the OSG code base, I'd suspect a bug in the compiler before a bug in the OSG, as the OSG is used with a wide range of compilers without showing sign

[osg-users] G++ version problem

2011-03-31 Thread Grahame Bowland
Hi all I'm shipping a version of OpenSceneGraph to users which has been compiled with G++ 4.4.3. I've also compiled my app with this version of G++. I'm now compiling the same OpenSceneGraph source code (2.8.2-rc4) with g ++ 4.5.2. Running my g++ 4.4.3 compiled application against this library cr