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

Dariusz Knociński dknoto at next.com.pl
Sat Apr 21 20:26:03 CEST 2012


Dnia 2012-02-03, o godz. 16:13:55
Jay K <jay.krell at cornell.edu> napisał(a):

I finally found some time on the second approach to compile CM3 from source.
I have got latest source from 2012/04/13.

> Darious, how about cm3 -commands -keep?

These options have not tried.

> 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).
> 
> 

I added option "-v" to the command "./do-cm3-core.sh -v buildship" and got the
following result:

>>>
...
=== package /home/dknoto/Oprogramowanie/Modula-3/Source/m3-libs/m3core ===
 +++ cm3 -build -DROOT='/home/dknoto/Oprogramowanie/Modula-3/Source' $RARGS  &&
cm3 -ship $RARGS -DROOT='/home/dknoto/Oprogramowanie/Modula-3/Source'  +++ EVAL
("/usr/local/cm3/bin/cm3.cfg") --- building in AMD64_LINUX ---

cd AMD64_LINUX
ignoring ../src/m3overrides

EVAL ("m3make.args")
rm .M3SHIP
rm .M3OVERRIDES
inhale libm3core.m3x
checking RTBuiltin.mx
reading "../src/runtime/common/RTBuiltin.mx": 0 seconds
checking RTHooks.i3

new source -> compiling RTHooks.i3
m3front ../src/runtime/common/RTHooks.i3 -w1
/home/dknoto/Oprogramowanie/Modula-3/Source/m3-sys/m3cc/AMD64_LINUX/gcc/m3cgc1
-gstabs+ -m64 -fPIC -mno-align-double -funwind-tables -quiet
-fno-reorder-blocks RTHooks .ic -o RTHooks.is m3cgc1: fatal error:  *** illegal
type: 0x17, at m3cg_lineno 4 compilation terminated.
  m3_backend => 1
  m3_backend => 1
m3cc (aka cm3cg) failed compiling: RTHooks.ic
rm RTHooks.is
rm RTHooks.ic
rm RTHooks.is
checking RTHooks.m3
checking RuntimeError.i3
checking RT0.i3
<<<

In directory m3-libs/m3core/AMD64_LINUX I have not file libm3core.so.5, but I
have files *.o and file libm3core.m3x. I added the full building log to the
attachment.

Best regards
Dariusz Knociński.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildship-2012-04-21_19-57.log.xz
Type: application/x-xz
Size: 23528 bytes
Desc: not available
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120421/60e44d3b/attachment-0001.bin>


More information about the M3devel mailing list