The current libowfat (0.28) ebuild modifies GNUMakefile this way : sed -i -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS}:" But libowfat-0.28/mult/umult64.c expect -fomit-frame-pointer : "/* WARNING: this only works if compiled with -fomit-frame-pointer */" The mainstream default GNUMakefile contains this parameter, it should be set whatever the status of -fomit-frame-pointer in gentoo make.conf is. A (dirty ?) workaround would be to use : sed -i -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS} -fomit-frame-pointer:" in the ebuild. The only dependant app is opentracker which is not yet in the tree. libowfat correctly compiled, opentracker no more segfault. Reproducible: Always
I should have explicitly add in the title that THIS BUG OCCURS ONLY IF -fomit-frame-pointer is NOT inside make.conf
I don't see the warning you are speaking of in the build log, can you attach the build log?
In should have precised that the following warning : "/* WARNING: this only works if compiled with -fomit-frame-pointer */" appears in the file libowfat-0.28/mult/umult64.c That's why the ebuild is wrong to reset all CFLAGS, -fomit-frame-pointer should stay. (but anyway if I remember well, the gentoo guide advice to set it in the make.conf) From the time of comment #1, notice that libowfat is now masked for remaoval because of #272507 and opentracker is still not in the tree nor in the sunrise overlay. (In reply to comment #2) > I don't see the warning you are speaking of in the build log, can you attach > the build log? >
+ 10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + libowfat-0.28-r1.ebuild: + append-flags -fomit-frame-pointer wrt #262663.