Unix: update #4640 crash. Also,VMMaker problem.
Withers, Robert
rwithers at quallaby.com
Wed Jan 23 00:47:12 UTC 2002
Ahh, yes, the LargeFile changeset. The 'alpha_2' tag will avoid the more
recent changes that you made John, and welcome ones too. He does still
needs the original LargeFiles. That makes a lot of sense. This will all
stabilize shortly, as soon as this Makefile business can be implemented. I
plan on a little Win32 alpha6 work tonight.
Speaking of that, Andreas, do you have any file changes to alpha6 that you
would like to see goto SF? I recall that you mentioned the sqFileTruncate
implementation, I believe.
thanks for catching that one, John, and I'm sorry I added to your confusion
Steve.
Rob
> -----Original Message-----
> From: John M McIntosh [mailto:johnmci at smalltalkconsulting.com]
> Sent: Tuesday, January 22, 2002 6:57 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: Re: Unix: update #4640 crash. Also,VMMaker problem.
>
>
> >The difference is the use of "off_t". Doing a search for
> "#define off_t"
> >revealed it was defined as "int", but only in
> >platforms/win32/vm/sqPlatformSpecific.h. (This is why I
> think something
> >might be missing from SF). So I replace the reference to off_t with
> >"int" and compile.
>
> Just this morning I replaced all usages of off_t with
> squeakFileOffsetType.
> You must define that type in your sqPlatformSpecific.h as what you
> would feed to fseeko or fseek for your platform. This might be long,
> unsigned long, or unsigned long long. Some of the unix docs imply
> that it's off_t but given you don't have that you must look to see
> what your file subsystem will support.
>
>
>
> >Everything compiles, but it does not link. The error:
> >
> > sqVirtualMachine.o: In function `sqGetInterpreterProxy':
> >
> >/home/swerling/mydesk/squeak/SourceForge/src/vm/sqVirtualMach
> ine.c:306:
> >undefined reference to `positive64BitIntegerFor'
> >
> >/home/swerling/mydesk/squeak/SourceForge/src/vm/sqVirtualMach
> ine.c:307:
> >undefined reference to `positive64BitValueOf'
> >
> >/home/swerling/mydesk/squeak/SourceForge/src/vm/sqVirtualMach
> ine.c:308:
> >undefined reference to `signed64BitIntegerFor'
> >
> >/home/swerling/mydesk/squeak/SourceForge/src/vm/sqVirtualMach
> ine.c:309:
> >undefined reference to `signed64BitValueOf'
> >
> >(I'm sorry this is such a long message, but it's been awhile
> since I've
> >done any c programming, I'm not sure what I can edit out).
> >
> >So that where I am currently stuck.]
>
> You need to build a VM using an image at change set 4649 or higher to
> pickup the 64bit file support functions that you are missing as
> listed above, with of course the VMMaker change sets applied. You
> also need to apply the [BUG][FIX] rework of 64bit file support change
> set I posted this morning to resolve issues with off_t and
> squeakFileOffsetType and some 64 to 32bit truncation issues.
>
>
> --
> --
> ==============================================================
> =============
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.
> http://www.smalltalkconsulting.com
> ==============================================================
> =============
>
More information about the Squeak-dev
mailing list
|