[M3devel] help booting CM3 on FreeBSD 4.11?

Jay jay.krell at cornell.edu
Sat Apr 25 00:23:36 CEST 2009


ouch, really, no adequate pthreads here?
Well, I can still give you an archive to try, but less certain it will work. I never test the user thread stuff..
 
 
 - Jay





----------------------------------------
> To: m3devel at elegosoft.com
> Date: Fri, 24 Apr 2009 15:12:20 -0700
> From: mika at async.caltech.edu
> CC: mika at camembert.async.caltech.edu
> Subject: [M3devel] help booting CM3 on FreeBSD 4.11?
>
> Hi Modula-3ers,
>
> I'm trying to boot CM3 on FreeBSD 4.11 right now.
>
> Yes, I know it's an old system, but really, the older, the better.
> Once I have it running on 4.11, I'll have a binary archive that
> should work on *any* FreeBSD system from 4.x up to 7.x, not just
> the latest releases.
>
> My problems are not with FreeBSD. Well to some extent they are.
> I had to turn off pthreads: FreeBSD 4 has only a partial implementation,
> from what I can tell (in libc_r, not libpthreads)
>
> No, what's going on is I am trying to boot with CM3 5.3.1, which was the
> most recent binary I was able to get running on my FreeBSD 4 system.
>
> I inserted lots and lots of "LONGINT = INTEGER" in the code, but I'm
> still running into this one:
>
> -> linking cm3
> UtilsPosix.mo: In function `UtilsPosix__MakeRelative':
> /home/mika/cm3/m3-sys/cm3/FreeBSD4/UtilsPosix.m3:23: undefined reference to `ThreadF__handlerStack'
> /home/mika/cm3/m3-sys/cm3/FreeBSD4/UtilsPosix.m3:23: undefined reference to `ThreadF__handlerStack'
> /home/mika/cm3/m3-sys/cm3/FreeBSD4/UtilsPosix.m3:33: undefined reference to `ThreadF__handlerStack'
> /home/mika/cm3/m3-sys/cm3/FreeBSD4/UtilsPosix.m3:50: undefined reference to `ThreadF__handlerStack'
> /home/mika/cm3/m3-sys/cm3/FreeBSD4/UtilsPosix.m3:60: undefined reference to `ThreadF__handlerStack'
> Builder.mo:/home/mika/cm3-cvs/cm3/m3-sys/cm3/FreeBSD4/Builder.m3:188: more undefined references to `ThreadF__handlerStack' follow
> Fatal Error: package build failed
>
> No matter what I try... I tried to make ThreadF.handlerStack
> invariantly equal to ThreadPosix.self.context.handlers... it won't
> link. Somehow it's not letting me slip in a "handlerStack" in the
> interface?
>
> Anyone have an idea for workarounds?
>
> Mika


More information about the M3devel mailing list