[Bug 523540] Review Request: opentracker - BitTorrent Tracker

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 9 10:20:23 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=523540

--- Comment #54 from Romain Wartel <romain.wartel at cern.ch> 2010-04-09 06:20:18 EDT ---
Created an attachment (id=405506)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=405506)
Updated opentracker 0-0.9.20100410cvs RPM

Implemented minor fixes, and addressed the segmentation fault issue reported in
Comment 44.

The segfault was caused by the GCC option "-Os" being commented in the
Makefile. This caused GCC to use the default "-O2" optimisation instead, which
for some reason results in a segmentation fault. The root cause of the issue is
not understood so the workaround may be weak, but re-enabling the size
optimization option just seemed to solve the issue for us.

For debugging enthousiasts, the GCC(1) manpage states:
"-Os Optimize for size.  -Os enables all -O2 optimizations that do not
typically increase code size. It also performs further optimizations designed
to reduce code size."

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list