Compiler Versions

From PixieWiki

Jump to: navigation, search

The help us work out which compilers / OS combinations are able to compile and run pixie, please fill in this table - even if your build works fine

[edit] Notes

I've included a column for libstdc++ and glibc, but not all OS variants have this as a separately versioned component (OSX for example has these fixed against an OS-gcc version) - however, it can be important to help track down issues.

I've also included a column for OpenEXR. Support for OpenEXR will be available in source form for the next Pixie release (1.5.6), but there appear to be issues with getting some compiler versions to compile the code. If you have time, please download OpenEXR in source form from [here] and let us know if it works, and can run the example programs it includes.

The notes column is going to be mainly useful for linking to test cases that fail, or for linking to a page of notes on what fails. Please use a link like CompilerVersions/RandomCompilerRandomOS for new pages with notes on a given compiler version.

Finally, if the compiler you use is in the table, but you get differing results, please add a new row for your results! Many thanks for you input.

[edit] Getting GCC4 to work

GCC4 Works fine under OSX. On some linux distributions, there have been reports that it does not work well.

On all platforms, GCC4 will work just fine, provided you include

-fno-strict-aliasing

in the compiler options. To do this, do

./configure <your usual options> CXXFLAGS='-fno-strict-aliasing -g -O2'

or similar. Then build as normal. The option should be off by default, but some GCC versions seem to have it on by default!

[edit] What works, what doesn't

Compiler Version OS libstdc++ glibc version Pixie works? OpenEXR? Notes
gcc33 OSX 10.3.9 6.0.3 n/a yes yes
gcc33 (3.3 20030304) OSX 10.4 6.0.3 n/a yes yes
gcc33 (3.3.2-1) Fedora Core 1 3.3.2-1 2.3.2-101 yes yes
gcc4 (4.0.1) OSX 10.4 n/a n/a yes yes
gcc4 (4.0.2) Suse 10.0 4.0.2 2.3.5-40 no (yes reported) no Textures access problem
gcc3 (3.3.4) Suse 10.0 3.3.4 2.3.5-40 yes yes
gcc3 (3.3.6) Debian GNU / Linux, i386 3.3.6-10 2.3.5-8 yes yes See CompilerVersions/NatTestCase
gcc4 (4.0.2) Debian GNU / Linux, i386 4.0.2-2 2.3.5-8 no (yes reported) almost See CompilerVersions/NatTestCase
random compiler random os xxx yyy no no See CompilerVersions/RandomCompilerRandomOS
Personal tools