[plt-scheme] Re: OpenBSD build problems

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Jul 13 18:07:14 EDT 2007

At Fri, 13 Jul 2007 08:18:10 +0200, Andreas Vögele wrote:
> Sometimes the build fails with "JIT buffer overflows" during "make
> install":
> 
> [...]
> ../../mzscheme/mzscheme3m -rq ./../../mzscheme/gc2/xform.ss --setup --cpp 
> "g++ -E -I./../../mzscheme/gc2 -I./../../wxxt/src/AIAI-include -
> I./../../wxxt/src -I./../../mred/wxme/ -I./../../mzscheme/ -
> I./../../mzscheme/include/ -I/usr/X11R6/include -I/usr/X11R6/include -
> I/usr/X11R6/include/freetype2 -I/usr/local/include/cairo -
> I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -
> I/usr/local/include/libpng -DNEWGC_BTC_ACCOUNT  -DOPERATOR_NEW_ARRAY -
> DWX_USE_XRENDER -DWX_USE_XFT -DWX_USE_CAIRO  -Dwx_xt  -
> I./../../wxxt/src/XWidgets -I./../../wxxt/src -I../../wxcommon/jpeg -
> I./../../wxcommon/jpeg -I./../../wxcommon/zlib" -o xsrc/wxs_bmap.cc 
> ./../wxs/wxs_bmap.cxx
> JIT buffer overflow: 0x7fff4035 [0x7fff4020,0x80003f80] (0)!!

This should be fixed in SVN, now.

As you might guess from those numbers (even though they're unlabeled),
the problem was a signed comparison where an unsigned comparison should
have been used.

Thanks,
Matthew



Posted on the users mailing list.