[ewg] Re: building userspace on ppc64 is broken
Michael S. Tsirkin
mst at dev.mellanox.co.il
Sun Sep 16 22:34:44 PDT 2007
> Quoting Yosef Etigin <yosefe at voltaire.com>:
> Subject: building userspace on ppc64 is broken
>
> While building user-space binaries on ppc64, the libs are placed
> in /usr/lib64, but they are built as 32 bit. This happens because
> in ofed 1.2 CFLAGS=-m64 was passed by the environment from the
> install script. What do you think about doing somthing like this
> in the spec files to solve the problem?
>
> --
> diff --git a/libibverbs.spec.in b/libibverbs.spec.in
> index 459e6f2..8fcdd72 100644
> --- a/libibverbs.spec.in
> +++ b/libibverbs.spec.in
> @@ -47,6 +47,9 @@ displays information about InfiniBand de
> %setup -q -n %{name}- at VERSION@
>
> %build
> +%ifarch ppc64
> +%{expand: %%define optflags %{optflags} -m64}
> +%endif
> %configure
> make %{?_smp_mflags}
Hmm. Roland?
--
MST
More information about the ewg
mailing list