I got a segmentation fault when trying to compile the GDAL library. Here is the result of compiling the preprocessed source: gdal_crs.c: In function 'calccoef': gdal_crs.c:700: 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.0/README.Bugs>.
A workaround is to disable optimization. I couldn't find how to upload the source in bugzilla so I put it on my server: http://rigel.johome.net/gdal_crs.i -- Summary: Segmentation fault using gcc (v4.0.3) in Ubuntu Dapper Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: henrik at johome dot net GCC build triplet: gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28541