rtorrent GCC 4.1 incompatibility?

Michael Schwendt mschwendt at gmail.com
Mon May 11 09:43:15 UTC 2009


[Bcc to rtorrent-owner]

The rtorrent.spec file does

| # work around a bug thats triggered by gcc 4.1
|
| export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | %{__sed} s/-O2/-Os/`

and the reader wonders what bug that may be?
No bugzilla ticket is linked. The %changelog says:

| * Sun Nov 26 2006 Chris Chabot <chabotc at xs4all.nl> - 0.6.4-1
| - New upstream version
| - Compile with -Os to work around a gcc 4.1 incompatibility

No bz number either. And it's an entry from 2006. We're in 2009,
however, and are using a much newer GCC release.

So, what GCC 4.1 bug is it? Is the -Os still needed?




More information about the fedora-devel-list mailing list