roxen.lists.pike.general

Subject Author Date
MacOS build problem Linda Messerschmidt <linda[dot]messerschmidt[at]gmail[dot]com> 11-10-2009
Hi All,

I was trying to dust off my Pike-related project today, but I've
gotten a new Macbook Pro since I last worked on it, and I haven't
rebuilt Pike yet.

Unfortunately, I'm getting a build error:

#### Making dynamic: modules/system
Compiling interpret.c
interpret.c: In function ‘eval_instruction’:
interpret.c:1468: error: PIC register ‘ebx’ clobbered in ‘asm’
WARNING: Compiler failure! Trying without optimization!
interpret.c: In function ‘eval_instruction’:
interpret.c:1468: error: PIC register ‘ebx’ clobbered in ‘asm’
Compilation command was:
/Users/lm/build/Pike-v7.8.352/src/smartlink gcc
-DPIKE_SRC_ROOT=/Users/lm/build/Pike-v7.8.352 -I.
-I/Users/lm/build/Pike-v7.8.352/src
-I/Users/lm/build/Pike-v7.8.352/src/bundles/include -g
-I/opt/local/include -L/opt/local/lib
-I/Users/lm/build/Pike-v7.8.352/src/bundles/include     -c interpret.c
-o interpret.o
make: *** [interpret.o] Error 1

I seem to recall getting this error before, when I was trying
desperately to rebuild Pike with more modules supported, and I think
maybe not being able to figure it out was what got this shoved on the
back burner.

Can anyone point me in the right direction?  I looked at the relevant
code and have no idea what's going on; the comments are all about
tricking the optimizer.

Thanks!