[Vm-dev] Fwd: [Pkg-squeak-devel] Bug#567366: `memoryAllocate' implicitly converted to pointer

David T. Lewis lewis at mail.msen.com
Thu Jan 28 19:43:17 UTC 2010


This is somebody trying to build an Mpeg plugin on a 64 bit machine.
It will not work. The set of plugins that are currently safe to use
on 64 bit platforms is much smaller than the set of plugins that appear
in the generated sources in platforms/unix/src.

Bottom line: Don't do that. If you need the full range of plugins, you
must compile in 32 bit mode and load the appropriate 32 bit libraries.

Unless someone speaks up to say otherwise, there is currently no
supported Unix VM for 64 bit Unix/Linux platforms. John is working
on providing supported 64 bit VMs for OS X, although I can't say
whether he has looked at the Mpeg plugin or not (I definely have not
done so).

Dave


On Thu, Jan 28, 2010 at 11:17:33AM -0800, Bert Freudenberg wrote:
> 
> It seems we're missing some declaration?
> 
> - Bert -
> 
> 
> 
> Begin forwarded message:
> > 
> > Resent-From: dann frazier <dannf at debian.org>
> > From: dann frazier <dannf at debian.org>
> > Date: 28. Januar 2010 09:55:58 GMT-08:00
> > Resent-To: debian-bugs-dist at lists.debian.org
> > To: submit at bugs.debian.org
> > Resent-Cc: Debian Squeak Team <pkg-squeak-devel at lists.alioth.debian.org>
> > Subject: [Pkg-squeak-devel] Bug#567366: `memoryAllocate' implicitly converted to pointer
> > Reply-To: dann frazier <dannf at debian.org>, 567366 at bugs.debian.org
> > 
> > Source: squeak-vm
> > Version: 3.11.3+svn2147-1
> > Severity: serious
> > Usertags: implicit-pointer-conversion
> > 
> > Our automated buildd log filter[1] detected a problem that is likely to
> > cause your package to segfault on architectures where the size of a
> > pointer is greater than the size of an integer, such as ia64 and amd64.
> > 
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/bitstream.c:40
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/libmpeg3.c:47
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3atrack.c:42
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3demux.c:1060
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3io.c:61
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3title.c:41
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3vtrack.c:42
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/audio/mpeg3audio.c:45
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/mpeg3video.c:170
> >  Function `memoryAllocate' implicitly converted to pointer at /build/buildd/squeak-vm-3.11.3+svn2147/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/slice.c:48
> > 
> > This is often due to a missing function prototype definition.
> > For more information, see [2].
> > 
> > Though it is guaranteed that this codepath will cause a segfault on certain
> > architectures, it is not guaranteed that this codepath would ever be executed
> > (e.g., if the returned pointer is never dereferenced). However, this bug
> > does prevent the ia64 buildd from successfully building this package, resulting
> > in a practical FTBFS issue and warranting the serious severity.
> > 
> > [1] http://people.debian.org/~dannf/check-implicit-pointer-functions
> > [2] http://wiki.debian.org/ImplicitPointerConversions
> > 
> > 
> > 
> > _______________________________________________
> > Pkg-squeak-devel mailing list
> > Pkg-squeak-devel at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/pkg-squeak-devel
> 


More information about the Vm-dev mailing list