public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/11118] New: CairoWidget.cxx doesn't compile with gcc 4.4.2 on 32bit
@ 2009-12-30 18:42 mjw at redhat dot com
  2009-12-31 11:14 ` [Bug runtime/11118] " timoore at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mjw at redhat dot com @ 2009-12-30 18:42 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2383 bytes --]

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<Cairo::Context>)’:
/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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/11118] CairoWidget.cxx doesn't compile with gcc 4.4.2 on 32bit
  2009-12-30 18:42 [Bug runtime/11118] New: CairoWidget.cxx doesn't compile with gcc 4.4.2 on 32bit mjw at redhat dot com
@ 2009-12-31 11:14 ` timoore at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: timoore at redhat dot com @ 2009-12-31 11:14 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |timoore at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-31 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30 18:42 [Bug runtime/11118] New: CairoWidget.cxx doesn't compile with gcc 4.4.2 on 32bit mjw at redhat dot com
2009-12-31 11:14 ` [Bug runtime/11118] " timoore at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).