[openib-general] [Bug 146] OFED-1.0 DAPL fails to build on SLES10 on IA64 with IA64_FETCHADD error
James Lentini
jlentini at netapp.com
Thu Jun 22 14:56:03 PDT 2006
On Thu, 22 Jun 2006, bugzilla-daemon at openib.org wrote:
> http://openib.org/bugzilla/show_bug.cgi?id=146
>
>
> jlentini at netapp.com changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |ASSIGNED
>
>
>
>
> ------- Comment #1 from jlentini at netapp.com 2006-06-22 14:55 -------
> We have code in dapl/udapl/linux/dapl_osd.h that is supposed to handle this.
> It looks like this broke when we moved to the autotools. I'll send you a patch
> to test.
Here's the patch. Thank you for offering to test this. Please let me
if it fixes the problem (I do not have an IA64 SLES system).
Index: Makefile.am
===================================================================
--- Makefile.am (revision 8109)
+++ Makefile.am (working copy)
@@ -1,10 +1,11 @@
# $Id: $
+OSFLAGS = -DOS_VERSION=$(shell expr `uname -r | cut -f1 -d.` \* 65536 + `uname -r | cut -f2 -d.`)
# Check for RedHat, needed for ia64 udapl atomic operations (IA64_FETCHADD syntax)
if OS_RHEL
-OSFLAGS=-DREDHAT_EL4
+OSFLAGS += -DREDHAT_EL4
else
-OSFLAGS=
+OSFLAGS +=
endif
if DEBUG
More information about the general
mailing list