Building 9.6.1-P2 for 32-bit Redhat RHEL 5.4

Howard Wilkinson howard at cohtech.com
Mon Nov 30 10:50:15 UTC 2009


Mark,
 
thank you for this, it almost worked but put me on the right path. 


In message <8761A2BBE915DF46BB20E017C891E48CAF15 at Ferrari.coherent.cohtech.co.uk
>, "Howard Wilkinson" writes:
> I am trying to build a package based on 9.6.1-P2. The target platform is a 32
> -bit ix86 environment. The build platform is a RHEL 5.4 x86_64 system. I have
>  managed to build the native x86_64 package without problem, but I am getting
>  a failure when building the package using a target setting equal to one of i
> 386,i586 and i686.
> 
> The error is a message from the assembler saying that "suffix or operands inv
> alid for 'xadd' " This occurs when compiling lib/isc/stats.c.
> 
> At present I do not have a 32-bit build environment I can try to natively bui
> ld this on, and was hoping that somebody could suggest how I can get round th
> is problem in the build environment I am using.
> 
> Regards, HOward.
> 
> Coherent Technology Limited, 23 Northampton Square, Finsbury, London EC1V 0HL
> , United Kingdom
> Telephone: +44 20 7690 7075 Mobile: +44 7980 639379
> Company Email: coherent at cohtech.com Website: http://www.cohtech.com <http://www.cohtech.com/>  <http://w
> ww.cohtech.com/> 
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

        ./configure --build=i686-unknown-linux-gnu CC="gcc -m32"
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


I ended up having to do

export CC="gcc -m32"

./configure ....... --build=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu --target=i686-unknown-linux-gnu

And then install missing i386 devel libraries.

Regards Howard.

 




More information about the bind-users mailing list