I cannot compile gdcm using gcc 4.1.0 (at least the one shipped in etch: pentium-builder).
Step to reproduce (on debian testing system): 1. sudo apt-get install pentium-builder 2. Get GDCM source (SVN) 3. Compile line is: /usr/bin/c++ -DgdcmDSED_EXPORTS -g -O0 -fprofile-arcs -ftest-coverage -Wno-deprecated -W -Wall -g -fPIC -I/home/mmalater/Projects/Dashboards/gdcm-gcc/Source/Common -I/home/mmalater/Projects/Dashboards/gdcm/Source/Common -I/home/mmalater/Projects/Dashboards/gdcm/Source/DataDictionary -I/home/mmalater/Projects/Dashboards/gdcm/Source/DataStructureAndEncodingDefinition -I/home/mmalater/Projects/Dashboards/gdcm/Utilities -I/home/mmalater/Projects/Dashboards/gdcm-gcc/Utilities/gdcmzlib -o Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/gdcmItem.o -c /home/mmalater/Projects/Dashboards/gdcm/Source/DataStructureAndEncodingDefinition/gdcmItem.cxx /home/mmalater/Projects/Dashboards/gdcm/Source/DataStructureAndEncodingDefinition/gdcmItem.cxx: In function (static initializers for /home/mmalater/Projects/Dashboards/gdcm/Source/DataStructureAndEncodingDefinition/gdcmItem.cxx): /home/mmalater/Projects/Dashboards/gdcm/Source/DataStructureAndEncodingDefinition/gdcmItem.cxx:24: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. The bug is not reproducible, so it is likely a hardware or OS problem. Info: /usr/bin/c++ --version g++.real (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ apt-cache policy pentium-builder pentium-builder: Installed: 0.19 Candidate: 0.19 Version table: *** 0.19 0 500 http://ftp.fr.debian.org etch/main Packages 100 /var/lib/dpkg/status -- Summary: internal compiler error: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mathieu dot malaterre at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41132