[Vm-dev] Cog FreeBSD patches

David Graham dgraham at unthinkable.org
Wed Mar 23 22:04:56 UTC 2011


> 
> 
> http://lists.squeakfoundation.org/pipermail/vm-dev/2010-December/006008.html
> 
> I think it was Pierce Ng who found out the final magic recipe.
> 
> It's not just the "gcc -m32" bit - which gets you far enough to hit the "C compiler cannot create executables" problem - you have to say "gcc -m32 -B/usr/lib32", at which point I get new errors:
> 
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:60:23: error: execinfo.h: No such file or directory
> /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:784: error: 'mcontext_t' has no member named 'mc_ebp'
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:785: error: 'mcontext_t' has no member named 'mc_esp'
> /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
> 
> frank


Do you have -DNOEXECINFO in your CFLAGS?




More information about the Vm-dev mailing list