Summary: | gcc 3.2.3-r1 Segfault compiling gsf-outfile-zip.c in gnome-extra/libgsf-1.6.0 if -O2 (or -O1 or -O3) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ferris McCormick (RETIRED) <fmccor> |
Component: | Current packages | Assignee: | Sparc Porters <sparc> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | fmccor, mholzer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ferris McCormick (RETIRED)
![]() Just to add my tidbits to this. I'm getting the same error on an Ultra60. My CFLAGS are pretty basic: "-mcpu=ultrasparc -O3 -pipe", and am installing off a fresh Gentoo installation. My 'gcc -v' and 'emerge info' look very similar to Ferris', plus or minus a few USE flags. I will try lowering the optimization level and recompiling to see if it works for me. The issue seems to be resolved by using gnome-extra/libgsf-1.8.1 closing Ferris, Does gnome-extra/libgsf-1.8.1 suit your needs? Et al, Shouldn't it be worth checking into this gcc compiler failure? 1. Actually, my solution was to use "USE=-gnome" since I don't need the library for anything. 2. Unless the compiler is fixed in later releases or unless this is just an obvious problem with the source file, I would think we would want to know why the compiler fails, at least. The corresponding source files between the two versions for gsf-outfile-zip.c are pretty different. 3. I am always a bit leery when the compiler fix is to change the source it failed on, since the compiler problem has not gone away. (That is, this was intended to be an error report against gcc, with gsf-outfile-zip.c as as specific example that triggered the error. So, as an error against the libgsf, it is fixed. As an error against gcc, it is sort of painted over.) Regards, Ferris |