GNOME Bugzilla – Bug 103948
library built with GCC-3.2.1 produces unexpectable result
Last modified: 2004-12-22 21:47:04 UTC
Compiled the latest CVS snapshot of RRDTool (http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/beta/rrdtool-cvs- snap.tar.gz) with GCC 3.2.1 on Solaris8/Ultrasparc-II. It has libart_lgpl-2.3.7 inside, but the results are the same with libart_lgpl-2.3.11. The same RRDTool object files (GCC-3.2.1) are linked with libart, compiled by GCC 3.2 and 3.2.1. The resulting files are attached, "b32.png" and "b321.png", respectively. GCC-3.2.1 was taken from www.sunfreeware.com. With regards, Stanislav
Created attachment 13692 [details] output of GCC-3.2 compiled library
Created attachment 13693 [details] result of GCC-3.2.1
Just disabled optimization, and the result is fine. Perhaps, it's GCC optimization bug, not libart.
With GCC 3.2.3 everything's fine.