[ewg] RE: [ofa-general] Using --build32 on 32 bits machine (OFED-1.3 GA )

Moshe Kazir moshek at voltaire.com
Wed Mar 5 01:13:50 PST 2008


Vlad,

I fixed it in my env and continued  ....

In the install.pl comments is written that --build32 is used for x86_64
and ppc64. 

so the install create a rpmbuild -m32 .... line .  The -m32 is the
reason for the compile problem.

When the -m32 is removed very thing is o.k. .

So in my patch I permit --build32 to be activated only if the machine is
64 bits machine.

To reproduce the bug simply run ./install.pl with build32 activated on
32 buit HW .

Moshe

____________________________________________________________
Moshe Katzir   |  +972-9971-8639 (o)   |   +972-52-860-6042  (m)
 
Voltaire - The Grid Backbone
 
 www.voltaire.com

  

-----Original Message-----
From: Vladimir Sokolovsky [mailto:vlad at dev.mellanox.co.il] 
Sent: Monday, March 03, 2008 3:09 PM
To: Moshe Kazir
Cc: ewg at lists.openfabrics.org
Subject: Re: [ofa-general] Using --build32 on 32 bits machine (OFED-1.3
GA )

Moshe Kazir wrote:
>  
> 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
> 

Hi Moshe,
Please send the log file of the failure.

Regards,
Vladimir



More information about the ewg mailing list