[ewg] compile failure for RHEL 5.3 on IA64

Jon Mason jon at opengridcomputing.com
Wed Apr 1 10:56:30 PDT 2009


On Wed, Apr 01, 2009 at 09:25:25AM -0400, Brian J. Murrell wrote:
> Running the OFED 1.4.1-rc release through our build system was mostly
> successful with the exception of RHEL 5.3 on IA64.  It failed with:
> 
> make -f scripts/Makefile.build obj=/cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core
>   gcc -Wp,-MD,/cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/.addr.o.d  -nostdinc -isystem /usr/lib/gcc/ia64-redhat-linux/4.1.2/include -D__KERNEL__ \
> -include include/linux/autoconf.h \
> -include /cache/build/BUILD/ofa_kernel-1.4.1/include/linux/autoconf.h \
> -I/cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/ \
>  \
>  \
> -I/cache/build/BUILD/ofa_kernel-1.4.1/include \
> -I/cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/debug \
> -I/usr/local/include/scst \
> -I/cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/ulp/srpt \
> -I/cache/build/BUILD/ofa_kernel-1.4.1/drivers/net/cxgb3 \
> -Iinclude \
>  \
> -I/cache/build/BUILD/lustre-kernel-2.6.18/lustre-1.8.0.50/linux-2.6.18-128.1.1/arch/ia64/include \
>  -DHAVE_WORKING_TEXT_ALIGN -DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -pipe  -ffixed-r13 -mfixed-range=f12-f15,f32-f127 -falign-functions=32 -frename-registers -fno-optimize-sibling-calls -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(addr)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_addr)" -c -o /cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/.tmp_addr.o /cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/addr.c
> In file included from include/asm/cacheflush.h:9,
>                  from include/asm/pgtable.h:154,
>                  from include/linux/mm.h:39,
>                  from /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/mm.h:4,
>                  from include/linux/skbuff.h:25,
>                  from /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/skbuff.h:4,
>                  from include/linux/if_ether.h:111,
>                  from /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/if_ether.h:4,
>                  from include/linux/netdevice.h:29,
>                  from /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/netdevice.h:4,
>                  from include/linux/inetdevice.h:7,
>                  from /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/inetdevice.h:4,
>                  from /cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/addr.c:37:
> /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/page-flags.h: In function 'cancel_dirty_page':
> /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/page-flags.h:14: error: dereferencing pointer to incomplete type
> /cache/build/BUILD/ofa_kernel-1.4.1/kernel_addons/backport/2.6.18-EL5.3/include/linux/page-flags.h:15: error: dereferencing pointer to incomplete type
> make[4]: *** [/cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core/addr.o] Error 1
> make[3]: *** [/cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband/core] Error 2
> make[2]: *** [/cache/build/BUILD/ofa_kernel-1.4.1/drivers/infiniband] Error 2
> make[1]: *** [_module_/cache/build/BUILD/ofa_kernel-1.4.1] Error 2
> make[1]: Leaving directory `/cache/build/BUILD/lustre-kernel-2.6.18/lustre-1.8.0.50/linux-2.6.18-128.1.1'
> make: *** [kernel] Error 2
> 
> RHEL 5.3 was successful on both our i686 and x86_64 builds.
> 
> Thots?

I fixed this issue recently.  If you pulldown last nights tarball, it
should be fixed.

Thanks,
Jon

> 
> b.
> 



> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg



More information about the ewg mailing list