From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1538 invoked by alias); 30 Dec 2009 18:42:17 -0000 Received: (qmail 1509 invoked by uid 48); 30 Dec 2009 18:42:08 -0000 Date: Wed, 30 Dec 2009 18:42:00 -0000 From: "mjw at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20091230184207.11118.mjw@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/11118] New: CairoWidget.cxx doesn't compile with gcc 4.4.2 on 32bit X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg01028.txt.bz2 The gcc on Fedora 12, i386, fails to compile CairoWidget.cxx: g++ -DHAVE_CONFIG_H -I. -I/home/mark/src/systemtap/grapher -I.. -DPKGDATADIR='"/home/mark/install/systemtap/share/systemtap"' -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -O2 -Wall -Werror -g -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2 -MT stapgraph-CairoWidget.o -MD -MP -MF .deps/stapgraph-CairoWidget.Tpo -c -o stapgraph-CairoWidget.o `test -f 'CairoWidget.cxx' || echo '/home/mark/src/systemtap/grapher/'`CairoWidget.cxx cc1plus: warnings being treated as errors /usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/bits/stl_algo.h: In member function ‘virtual void systemtap::CairoTextBox::draw(Cairo::RefPtr)’: /usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/bits/stl_algo.h:2178: error: array subscript is above array bounds gcc-4.4.2-20.fc12.i686 The error message looks somewhat obscure. It compiles fine on x86_64. It also compiles without -O2, or with -O3. So this might be a gcc bug. P.S. There should be a grapher component in systemtap bugzilla. -- Summary: CairoWidget.cxx doesn't compile with gcc 4.4.2 on 32bit Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime AssignedTo: systemtap at sources dot redhat dot com ReportedBy: mjw at redhat dot com CC: timoore at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=11118 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.