Packages with optflags and/or debuginfo issues

Ville Skyttä ville.skytta at iki.fi
Tue Jan 30 17:48:36 UTC 2007


On Tuesday 30 January 2007 16:31, Till Maas wrote:
> On Monday 29 January 2007 22:06, Ville Skyttä wrote:
>
> What about -fomit-frame-pointer and -O3, that maybe breaks debuginfo, too:
> https://www.redhat.com/archives/fedora-extras-list/2006-July/msg00712.html

That would be a good addition to the Wiki page, but: does -O3 break it alone, 
or with -fomit-frame-pointer, or is it just -fomit-frame-pointer?  What about 
other flags that could result in the same?

> > no sources is also quite likely not honoring $RPM_OPT_FLAGS, and if so,
> > also very likely to have been built without compiler generated security
>
> Do $RPM_OPT_FLAGS need to be used in LDFLAGS, too?

I don't think I've ever seen it being used there.  FWIW, unlike 
CFLAGS/CXXFLAGS/FFLAGS, %configure doesn't set LDFLAGS at all.

> What to do then? I once filled a bug about this for qemu and it was closed
> with WONTFIX:
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208026

Maybe ask the maintainer to explain why the chosen flags are more important 
than working -debuginfo, and if they really are, why the packager is 
knowingly shipping a useless -debuginfo instead of explicitly disabling it 
(with a comment explaining why) in the specfile?  Or forward to an 
appropriate committee to decide if there's no consensus?




More information about the Fedora-maintainers mailing list