[M3devel] snapshot compilation fails on FreeBSD

Tony Hosking hosking at cs.purdue.edu
Thu Apr 17 01:24:37 CEST 2008


This is a result of the recent addition of an additional target  
AMD64_DARWIN to the compiler.  You need to compile a new bootstrap  
compiler with the new target in it and use that to compile m3core.

Antony Hosking | Associate Professor | Computer Science | Purdue  
University
305 N. University Street | West Lafayette | IN 47907 | USA
Office +1 765 494 6001 | Mobile +1 765 427 5484



On Apr 16, 2008, at 6:59 PM, Neels Janosch Hofmeyr wrote:

> Hi all,
>
> on new.elego.de, a FreeBSD 6.2-RELEASE-p3, using the files
>
> cm3-min-POSIX-FreeBSD4-d5.7.0-2008-04-14-01-30-39.tgz
> cm3-src-gnu-d5.7.0-2008-04-16-14-07-05.tgz
> cm3-src-std-d5.6.0-2008-02-23-22-14-00.tgz
> cm3-src-sys-d5.7.0-2008-04-16-14-07-05.tgz
>
>
> and running
>
>  ./cminstall -i
>
> issuing installation target as
>
>  /home/neels/local-new/cm3
>
> then changing the $PATH so that
>
> $ which cm3
> /home/neels/local-new/cm3/bin/cm3
>
>
> and running
>
> $ cd scripts
> $ ./do-cm3-core.sh buildship
>
>
> yielded after a few minutes the following error:
>
> ...
> ==> /home/neels/cm3/cm3/m3-libs/m3core done
>
> === package /home/neels/cm3/cm3/m3-libs/libm3 ===
> +++ cm3 -build -DROOT='/home/neels/cm3/cm3' - 
> DCM3_VERSION_TEXT='d5.6.0'
> -DCM3_VERSION_NUMBER='050600' -DCM3_LAST_CHANGED='2008-01-31'  && cm3
> -ship -DROOT='/home/neels/cm3/cm3' -DCM3_VERSION_TEXT='d5.6.0'
> -DCM3_VERSION_NUMBER='050600' -DCM3_LAST_CHANGED='2008-01-31'  +++
> --- building in FreeBSD4 ---
>
> ignoring ../src/m3overrides
>
> new source -> compiling Atom.i3
> new source -> compiling AtomList.i3
> new source -> compiling OSError.i3
> new source -> compiling File.i3
> new source -> compiling RegularFile.i3
> new source -> compiling Pipe.i3
> new source -> compiling TextSeq.i3
> new source -> compiling Pathname.i3
> new source -> compiling FS.i3
> new source -> compiling Process.i3
> new source -> compiling Socket.i3
> new source -> compiling Terminal.i3
> new source -> compiling FS.m3
> new source -> compiling Terminal.m3
> new source -> compiling RegularFile.m3
> new source -> compiling Pipe.m3
> new source -> compiling Socket.m3
> new source -> compiling OSConfig.i3
> new source -> compiling OSErrorPosix.i3
> new source -> compiling Fmt.i3
> new source -> compiling OSErrorPosix.m3
> new source -> compiling FilePosix.i3
> new source -> compiling FilePosix.m3
> new source -> compiling FSPosix.m3
> new source -> compiling PipePosix.m3
> new source -> compiling PathnamePosix.m3
> new source -> compiling Env.i3
> new source -> compiling ProcessPosix.m3
> new source -> compiling SocketPosix.m3
>
> Fatal Error: bad version stamps: SocketPosix.m3
>
> version stamp mismatch: Compiler.Platform
>  <a731334c763badf8> => SocketPosix.m3
>  <df3c2b13d1d385ee> => Compiler.i3
> version stamp mismatch: Compiler.ThisPlatform
>  <a1b256923a5f3758> => SocketPosix.m3
>  <d9bf4ecd9db71f4e> => Compiler.i3
> *** execution of cm3 -build -DROOT='/home/neels/cm3/cm3'
> -DCM3_VERSION_TEXT='d5.6.0' -DCM3_VERSION_NUMBER='050600'
> -DCM3_LAST_CHANGED='2008-01-31'  && cm3 -ship
> -DROOT='/home/neels/cm3/cm3' -DCM3_VERSION_TEXT='d5.6.0'
> -DCM3_VERSION_NUMBER='050600' -DCM3_LAST_CHANGED='2008-01-31'   
> failed ***
>
>
>
> What does this mean?
>
> Thanks,
> Neels

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080416/bd4002e3/attachment-0002.html>


More information about the M3devel mailing list