[M3devel] Fwd: CM3 d 5.9.0 2011-11-19-02-40-49 compilling problem

Jay K jay.krell at cornell.edu
Fri Feb 3 17:13:55 CET 2012


Daniel, no.

Darious, how about cm3 -commands -keep?
This sort of error indicates either the wrong cm3cg is being run or it is being passed the wrong file, like mixing up .ic and .io files or somesuch.
Try adding -v to the cm3cg commands.
  You'll have to cd to the target directory as well (AMD64_LINUX).


 - Jay

> Date: Thu, 2 Feb 2012 22:12:57 +0000
> From: dabenavidesd at yahoo.es
> To: m3devel at elegosoft.com; dknoto at next.com.pl
> Subject: Re: [M3devel] Fwd: CM3 d 5.9.0 2011-11-19-02-40-49 compilling	problem
> 
> Hi all:
> I read somewhere m3cg or m3cc or "m3gcc" is just an automata. If I knew the class I would be able to print out its current state at compile time which will provide enough source for any compiler hacker to correct it, right?
> Now, I need a tool to check what compilation is right or not to automate that process.
> I will need to look for alternatives for doing that.
> Thanks in advance
> 
> --- El jue, 2/2/12, Daniel Alejandro Benavides D. <dabenavidesd at yahoo.es> escribió:
> 
> > De: Daniel Alejandro Benavides D. <dabenavidesd at yahoo.es>
> > Asunto: Re: [M3devel] Fwd: CM3 d 5.9.0 2011-11-19-02-40-49 compilling problem
> > Para: m3devel at elegosoft.com, "Dariusz Knociński" <dknoto at next.com.pl>
> > Fecha: jueves, 2 de febrero, 2012 16:47
> > Hi all:
> > Well, Jay I pass that one onto you, because we still miss
> > back end testing, but nevertheless this is better than
> > before. 
> > Anyway, I guess we can make some proofs at least statically
> > with compile time asserts, just to make an idea, but needs
> > investigation (Jay do you have some idea? I might try
> > myself).
> > Thanks in advance 
> > 
> > --- El jue, 2/2/12, Dariusz Knociński <dknoto at next.com.pl>
> > escribió:
> > 
> > > De: Dariusz Knociński <dknoto at next.com.pl>
> > > Asunto: Re: [M3devel] Fwd: CM3 d 5.9.0
> > 2011-11-19-02-40-49 compilling problem
> > > Para: m3devel at elegosoft.com
> > > Fecha: jueves, 2 de febrero, 2012 15:04
> > > Dnia 2012-01-31, o godz. 02:21:56
> > > Jay K <jay.krell at cornell.edu>
> > > napisał(a):
> > > 
> > > > 
> > > >   > $ tar -zxf
> > > /path/to/cm3-src-{sys,gnu,std}-CM3VERSION.tgz > ***
> > > cannot
> > > >   > find package import-libs /
> > > m3-win/import-libs
> > > > You don't have the full source tree.Among m3-sys,
> > > m3-tools, m3-ui, etc., you
> > > > are missing m3-win.If there is an "all" archive,
> > try
> > > it?
> > > 
> > > I tried compiling from full sources. I have not
> > achieved
> > > success. After
> > > compiling backend process dumps lot of errors like
> > this:
> > > 
> > > ranlib  libbackend.a
> > > g++  -g  -DIN_GCC   -W -Wall
> > > -Wwrite-strings -Wstrict-prototypes
> > > -Wmissing-prototypes -Wmissing-format-attribute
> > -pedantic
> > > -Wno-long-long
> > > -Wno-variadic-macros -Wno-overlength-strings
> > > -Wold-style-definition
> > > -Wc++-compat -fno-common  -DHAVE_CONFIG_H 
> > -o
> > > m3cgc1 m3cg/parse.o attribs.o
> > > main.o tree-browser.o
> > > libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a
> > > ../libiberty/libiberty.a
> > > -rdynamic -ldl --- shipping from AMD64_LINUX ---
> > > 
> > > . => /usr/local/cm3/bin
> > >   cm3cg       
> >    
> > >  ==>
> > /home/dknoto/Projekty/CM3-5.9.0-devel/m3-sys/m3cc
> > > done
> > > 
> > > === package
> > > /home/dknoto/Projekty/CM3-5.9.0-devel/m3-libs/m3core
> > ===
> > >  +++ cm3 -build
> > > -DROOT='/home/dknoto/Projekty/CM3-5.9.0-devel' $RARGS 
> > > && cm3
> > > -ship $RARGS
> > > -DROOT='/home/dknoto/Projekty/CM3-5.9.0-devel' 
> > +++ ---
> > > building
> > > in AMD64_LINUX ---
> > > 
> > > ignoring ../src/m3overrides
> > > 
> > > new source -> compiling RTHooks.i3
> > > m3cgc1: fatal error:  *** illegal type: 0x17, at
> > > m3cg_lineno 4
> > > compilation terminated.
> > >   m3_backend => 1
> > > m3cc (aka cm3cg) failed compiling: RTHooks.ic
> > > new source -> compiling RT0.i3
> > > m3cgc1: fatal error:  *** illegal type: 0x17, at
> > > m3cg_lineno 4
> > > compilation terminated.
> > > ...
> > > 
> > > Best regards
> > > Dariusz. 
> > >
> > 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120203/3e757b50/attachment-0002.html>


More information about the M3devel mailing list