atom feed12 messages in at.iem.pd-devRe: [PD-dev] Re: GCC errors building ...
FromSent OnAttachments
Michael A. HobsonNov 27, 2005 2:10 pm 
Tim BlechmannNov 27, 2005 3:20 pm 
Michael A. HobsonNov 27, 2005 4:15 pm 
Tim BlechmannNov 28, 2005 7:12 am 
Mathieu BouchardDec 30, 2005 7:59 am 
cDec 30, 2005 11:04 am 
Mathieu BouchardDec 30, 2005 11:39 am 
Thomas GrillJan 2, 2006 1:44 am 
Mathieu BouchardJan 2, 2006 7:09 am 
Thomas GrillJan 2, 2006 7:15 am 
Mathieu BouchardJan 2, 2006 7:21 am 
Thomas GrillJan 2, 2006 7:43 am 
Subject:Re: [PD-dev] Re: GCC errors building devel_0_39
From:Mathieu Bouchard (mat@artengine.ca)
Date:Dec 30, 2005 7:59:40 am
List:at.iem.pd-dev

On Mon, 28 Nov 2005, Tim Blechmann wrote:

GCC 3.4.3 error report: http://www.dolphin-speech.net/mike/errors-gcc343.lst GCC 4.0.0 error report: http://www.dolphin-speech.net/mike/errors-gcc400.lst I don't know of any reason why I should be getting internal compiler errors trying to build this codebase, it doesn't make sense to me at all.

can you compile anything? this looks like a compiler error ... did you try gcc 3.3?

I should've said this: just because something is a bug in the compiler doesn't mean we don't have to take it into account. Trying to compile devel_0_39 with simd=1 seems to be really, really troublesome with most versions of GCC I encounter. Most people who come to me with problems compiling devel_0_39 have that compiler error problem, so I have to tell them to do scons simd=0, except that sometimes they're trying devel_0_39 *because* of SIMD.

And then, I tried using GCC 4.0.2 for a while, but encountered programs that wouldn't compile anymore and that looked like real trouble to get to compile with GCC 4.x, so I reverted to GCC 3.4, and then encountered fundamental incompatibilities in libstdc++... and I don't know how to keep libstdc++'s from conflicting, short of static linking.

I'd recommend that simd=1 only enables SIMD asm code, and that a new option moresimd=1 would enable GCC options for SIMD generation, and would default to moresimd=0 until versions of GCC that people can actually use also can compile with SIMD enabled!