[M3devel] m3gdb compile warnings on Solaris 10/SPARC.

Alex Bochannek alexb at juniper.net
Thu Oct 4 22:00:28 CEST 2007


I looked at the m3gdb compilation on Solaris 10 yesterday and found that
after installing a newer GCC (4.2), the only issue left is with
-Werror. By doing this:

Index: m3makefile
===================================================================
RCS file: /usr/cvs/cm3/m3-sys/m3gdb/src/m3makefile,v
retrieving revision 1.6
diff -u -r1.6 m3makefile
--- m3makefile  6 Sep 2006 21:32:07 -0000       1.6
+++ m3makefile  4 Oct 2007 19:08:01 -0000
@@ -58,6 +58,7 @@
 end
 
 readonly m3gdb_config = {
+  "SOLgnu" : "--disable-werror"
   % misc. gdb configuration options  (e.g.  "DS3100" : "--with-stabs")
 } % m3gdb_config
 

m3gdb compiles fine and I can use it now. If anybody wants to look at
the errors, the compile log for that package is attached. My platform
is:

64-bit sparcv9 applications
        vis2 vis 
32-bit sparc applications
        vis2 vis v8plus div32 mul32 
64-bit sparcv9 kernel modules
SunOS 5.10

The warnings are in:

gdb/bfd/aoutf1.h
gdb/readline/bind.c
gdb/readline/display.c
gdb/readline/histexpand.c
gdb/gdb/procfs.c
gdb/gdb/tui/tui-stack.c
gdb/gdb/breakpoint.c
gdb/gdb/printcmd.c
gdb/gdb/event-top.c
gdb/gdb/ada-lang.c
gdb/gdb/m3-lang.c
gdb/gdb/m3-threads.c
gdb/gdb/m3-util.c
gdb/gdb/m3-valprint.c

Hope this helps.

Alex.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20071004/fc941c55/attachment-0001.ksh>


More information about the M3devel mailing list