[LU-4750] lustre 2.5.1-rc fails to compile from source ( redhat sources ) Created: 11/Mar/14 Updated: 22/Mar/14 Resolved: 22/Mar/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | James Beal | Assignee: | Minh Diep |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 13076 |
| Description |
|
I believe compilation from source is being effected by https://bugzilla.redhat.com/show_bug.cgi?id=613568 With a clean set of source linux-2.6.32-431.5.1.el6 with or without lustre patches applied but using the config file from 2.5.1-rc1 cp /local/lustre-2.5.1-RC/lustre-2.5.56/lustre/kernel_patches/kernel_configs/kernel-2.6.32-2.6-rhel6-x86_64.config ./.config CC crypto/signature/ksign-publickey.o From http://scientificlinuxforum.org/index.php?showtopic=1324 "run make menuconfig. Which gives this diff: diff .config .config.orig |
| Comments |
| Comment by Peter Jones [ 11/Mar/14 ] |
|
Minh Could you please look into this one? Thanks Peter |
| Comment by James A Simmons [ 11/Mar/14 ] |
|
While we are at it I also found one bug that prevented b2_5 from building. In libcfs/include/libcfs/posix/libcfs.h defines struct shrinker { Some versions of gcc don't like this. So I got around this problem by defining struct shrinker as struct shrinker { |
| Comment by Minh Diep [ 17/Mar/14 ] |
|
build failed with the change above. it complains about module not signed 431.5.1.el6_lustre.gf478ed2.x86_64/boot/vmlinuz-2.6.32-431.5.1.el6_lustre.gf478ed2.x86_64 |
| Comment by Minh Diep [ 18/Mar/14 ] |
|
Hi James, We were unable to reproduce your error. Could you describe all the steps that lead to the error? Thanks |
| Comment by James Beal [ 22/Mar/14 ] |
|
I have tried with 2.5.1 and it does not occur for me with that version... Sorry for the confusion |
| Comment by Peter Jones [ 22/Mar/14 ] |
|
ok - thanks James! |