Summary: | ruby-1.8.2 segfaults on compile with gcc-3.4.3 and -fomit-frame-pointer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Diers <martin> |
Component: | [OLD] Development | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED INVALID | ||
Severity: | minor | ||
Priority: | High | ||
Version: | 2004.3 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Diers
2005-02-03 17:19:52 UTC
You can find "filter-flags -fomit-framepointer" on line 55 of ruby-1.8.2.ebuild. According to the ChangeLog it has been added to ruby-1.6.8 on December 30th 2002, and seems to have been there ever since. At least it's in all the Ruby ebuilds currently in the tree. That may well be true, but note the output in my report above: i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fPIC -I. -I. -O2 -march=i686 -pipe -fomit-frame-pointer -c variable.c i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fPIC -I. -I. -O2 -march=i686 -pipe -fomit-frame-pointer -c version.c i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fPIC -I. -I. -O2 -march=i686 -pipe -fomit-frame-pointer -c dmyext.c i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fPIC -I. -I. -O2 -march=i686 -pipe -fomit-frame-pointer -c main.c As you can see, -fomit-frame-pointer is clearly not being filtered. Why this is, I cannot say. As you noted, the filter-flags line is there. A portage issue, perhaps? Ok, my bad. I had the following line in my make.conf CPPFLAGS=${CFLAGS} Obviously, filter-flags would ignore CPPFLAGS. Why the heck I had this there, I have no idea. Changing status to Invalid. |