[ofa-general] Using --build32 on 32 bits machine  (OFED-1.3 GA )
    Moshe Kazir 
    moshek at voltaire.com
       
    Mon Mar  3 05:04:23 PST 2008
    
    
  
 
If a user uses ofed.conf file include the line " build32=y"
build of libibverbs fails on rh4 u 5 and sles 10 .
The following patch fix this problem  (also in the attached file )
Moshe
--- a/install.pl	2008-03-02 06:23:04.000000000 -0500
+++ b/install.pl	2008-03-03 00:59:53.000000000 -0500
@@ -1463,8 +1463,11 @@ sub supported32bit
 ###        print RED "\n32-bit libraries are not supported on this
platform", RESET "\n" if (not $quiet);
 ###        return 0;
 ###    }
+	if ( $arch eq "x86_64" or $arch eq "ppc64" or $arch eq "ia64" )
{
     return 1
 }
+    return 0
+}
 
 # Check whether compiler $1 exist
 sub set_compilers
____________________________________________________________
Moshe Katzir   |  +972-9971-8639 (o)   |   +972-52-860-6042  (m)
 
Voltaire - The Grid Backbone
 
 www.voltaire.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ofed_install_32bits_machine_fix.patch
Type: application/octet-stream
Size: 445 bytes
Desc: ofed_install_32bits_machine_fix.patch
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080303/7006a7ed/attachment.obj>
    
    
More information about the general
mailing list