[LU-2937] RHEL6.3 2.6.32-279.22.1.el6 failed to be built with OFED-1.5.4 Created: 09/Mar/13 Updated: 11/Mar/13 Resolved: 11/Mar/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Jian Yu | Assignee: | Minh Diep |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL6.3 (kernel version: 2.6.32-279.22.1.el6) |
||
| Severity: | 3 |
| Rank (Obsolete): | 7055 |
| Description |
|
After patch http://review.whamcloud.com/5529 was landed on Lustre b2_1 branch, building Lustre with OFED-1.5.4 on RHEL6.3 distro failed as follows: Type 'make' to build Lustre.
+ make -j 2 -s
Making all in .
In file included from include/linux/tracepoint.h:18,
from include/linux/module.h:18,
from /var/lib/jenkins/workspace/lustre-b2_1/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/lustre-2.1.4/libcfs/include/libcfs/linux/linux-time.h:104,
from /var/lib/jenkins/workspace/lustre-b2_1/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/lustre-2.1.4/libcfs/include/libcfs/linux/libcfs.h:52,
from /var/lib/jenkins/workspace/lustre-b2_1/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/lustre-2.1.4/libcfs/include/libcfs/libcfs.h:50,
from /var/lib/jenkins/workspace/lustre-b2_1/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/BUILD/lustre-2.1.4/libcfs/libcfs/linux/linux-tracefile.c:42:
/var/lib/jenkins/workspace/lustre-b2_1/arch/x86_64/build_type/server/distro/el6/ib_stack/ofa/BUILD/kernel-ib-devel/usr/src/ofa_kernel/kernel_addons/backport/2.6.32-EL6.1/include//linux/rcupdate.h:6:1: error: "RCU_INIT_POINTER" redefined
Jenkins build: http://build.whamcloud.com/job/lustre-b2_1/184/ |
| Comments |
| Comment by Peter Jones [ 09/Mar/13 ] |
|
Minh Could you please look into this as your top priority? Thanks Peter |
| Comment by Minh Diep [ 11/Mar/13 ] |
|
yes, sure |
| Comment by Minh Diep [ 11/Mar/13 ] |
|
The kernel that the patch landed was RHEL6.3 2.6.32-279.22.1.el6 o Linux Operating Systems:
|
| Comment by Minh Diep [ 11/Mar/13 ] |
|
We should move the build system to http://www.openfabrics.org/downloads/OFED/release_notes/OFED_3.5_release_notes |
| Comment by Peter Jones [ 11/Mar/13 ] |
|
So essentially this issue is a duplicate of |
| Comment by Minh Diep [ 11/Mar/13 ] |
|
I don't think so. It's interesting that lustre-master is building 2.6.32.279.19.1.el6 on ofed 1.5.4 and passes. I'll investigate this more by building this manually. |
| Comment by Minh Diep [ 11/Mar/13 ] |
|
Ofed define this in rcupdate.h #include_next <linux/rcupdate.h> #define RCU_INIT_POINTER(p, v) p = v starting kernel 2.6.32-279.22.1 rcupdate also define /**
This caused conflict redefine during the build |
| Comment by Minh Diep [ 11/Mar/13 ] |
|
I have confirmed that it need ofed 3.5. This means this issue is a duplicate of |
| Comment by Jodi Levi (Inactive) [ 11/Mar/13 ] |
|
Duplicate of |