[M3devel] help booting I386_DARWIN?

Jay jay.krell at cornell.edu
Thu Jul 2 11:00:22 CEST 2009


er, I guess it is rep, not lock, and removing it will break it. Update your assembler or insert newlines..
Sorry. Probably running on 10.5 fixes it too...
I tried configuring for older processors, 586, 486, 386 I /think/ none of that worked.
 
 - Jay

----------------------------------------
> From: jay.krell at cornell.edu
> To: mika at async.caltech.edu
> CC: m3devel at elegosoft.com
> Subject: RE: [M3devel] help booting I386_DARWIN?
> Date: Thu, 2 Jul 2009 08:59:02 +0000
>
>
> Right. Look at I386_DARWIN.
> It probes for this.
> You have two choices.
> - difficult -- put a newline after each lock
> Their assembler does understand that I recall.
>
>
> - get a newer assembler; that's what I did
> I386_DARWIN will tell you what version I used, I don't know if older works.
>
>
> or maybe we could/should change cm3cg here.
> Heck, maybe there's a change in Apple's gcc to merge in.
>
>
> Or maybe, heck, just remove all occurences of lock.
> You only have one processor, right?
>
>
> - Jay
>
>
>
>
>
>
>
>
>
>
>
> ----------------------------------------
>> To: jay.krell at cornell.edu
>> Date: Thu, 2 Jul 2009 01:55:58 -0700
>> From: mika at async.caltech.edu
>> CC: m3devel at elegosoft.com
>> Subject: Re: [M3devel] help booting I386_DARWIN?
>>
>> Jay, all right, GetPC returns 0, and moving on....
>>
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% make
>> Makefile:3312: warning: overriding commands for target `UnixLink.c.o'
>> Makefile:687: warning: ignoring old commands for target `UnixLink.c.o'
>> as M3Buf.ms -o M3Buf.ms.o
>> M3Buf.ms:1610:operands given don't match any known 386 instruction
>> M3Buf.ms:1618:operands given don't match any known 386 instruction
>> make: *** [M3Buf.ms.o] Error 1
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% sed -n 1610,1618p M3Buf.ms
>> rep movsl
>> movl %edx, -2184(%ebp)
>> leal -2048(%ebp), %eax
>> movl %eax, -2188(%ebp)
>> movl $509, -2192(%ebp)
>> movl -2184(%ebp), %edi
>> movl -2188(%ebp), %esi
>> movl -2192(%ebp), %ecx
>> rep movsl
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika%
>>
>> No this is what I have:
>>
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% sw_vers
>> ProductName: Mac OS X
>> ProductVersion: 10.4.11
>> BuildVersion: 8S2167
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika% gcc -v
>> Using built-in specs.
>> Target: i686-apple-darwin8
>> Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --with-arch=pentium-m --with-tune=prescott --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
>> Thread model: posix
>> gcc version 4.0.1 (Apple Computer, Inc. build 5250)
>> [unknown-00-17-f2-4c-66-5c:~/cm3-boot-I386_DARWIN-1] mika%
>>
>> odd that it would work for you... hmm I wonder, maybe the Xcode needs
>> updating?
>>
>> A little tricky in that case since I don't have console access and
>> am not really a Mac guru.
>>
>> Mika


More information about the M3devel mailing list