[SSI-devel] [Fix] Error with Gnu build on x86
Brought to you by:
brucewalker,
rogertsang
From: Aneesh K. K.V <ane...@di...> - 2003-04-03 11:48:21
|
When trying to build the cluster-tools on x86 with Gnu build. we were getting the error "fixed or forbidden register 3 (bx) was spilled for class BREG" >From the google serach i found the following the comment from Alexandre Oliva <aoliva at redhat dot com> " ebx is the PIC register, which means it's a fixed register with -fPIC" So i guess when building shared library implementing system calls we should not say -fPIC. We can say this by using configure option --without-pic This is needed only for x86. -aneesh On Wed, 2003-03-19 at 09:12, Aneesh Kumar K.V wrote: > That error was because we can't compile our libcluster.so with -fPIC on > x86. I have already reported this problem and this happens only on > i386. One way to fix it is to comment out the line -fPIC in the > generated libtool. I guess the fix should go to libcluster because we > should be able to generate position independent code. |