[Vm-dev] Cog FreeBSD patches

Igor Stasenko siguctua at gmail.com
Wed Mar 23 19:51:08 UTC 2011


On 23 March 2011 20:47, Frank Shearar <frank.shearar at angband.za.org> wrote:
>
> Yes, I think. Well, I just blindly followed your instructions on a 64 bit
> machine :)
>
JIT won't run on 64 bits.
But you can try building StackVM

> frank
>
> On 2011/03/23 19:38, David Graham wrote:
>>
>> Hi Frank,
>>
>> There is some 32bit x86 dependent code in that section.  Are you trying to
>> compile the vm on a 64bit host with the 32bit compatibility libs?
>>
>>
>> On Mar 23, 2011, at 2:08 PM, Frank Shearar wrote:
>>
>>> Hi David,
>>>
>>> Those are great instructions.
>>>
>>> On my machine I can't make install because of the following error though:
>>>
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:787:3:
>>> error: #error need to implement extracting pc from a ucontext_t on this
>>> system
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c: In function
>>> 'reportStackState':
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error:
>>> 'fp' undeclared (first use in this function)
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error:
>>> (Each undeclared identifier is reported only once
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error:
>>> for each function it appears in.)
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error:
>>> 'sp' undeclared (first use in this function)
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c: In function
>>> 'main':
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:1718:
>>> warning: assignment from incompatible pointer type
>>> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:1723:
>>> warning: assignment from incompatible pointer type
>>> *** Error code 1
>>>
>>> Stop in /usr/home/frank/temp/cogvm-64/unixbuild/bld/vm.
>>> *** Error code 1
>>>
>>> Stop in /usr/home/frank/temp/cogvm-64/unixbuild/bld.
>>>
>>> frank
>>
>>
>>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list