[LU-6547] build errors building against recent 4.1-rc1 kernel on Ubuntu 15.04 building linux-tracefile Created: 30/Apr/15 Updated: 05/Aug/15 Resolved: 05/Aug/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Colin Ian King | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 1 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Building against a recent kernel the -Werror option in the Rules file is catching a re-definition of CONFIG_LNET_MAX_PAYLOAD and causing the build to fail. make[3]: Entering directory '/usr/src/linux-headers-4.1.0-rc1+' |
| Comments |
| Comment by Oleg Drokin [ 30/Apr/15 ] |
|
The problem at hand is you probably have lustre configured i nthe kernel as a module or something, and this is not supported due to all sort of symbol clases, I suspect this is just a tip of the iceberg you are seeing here. If you want to build out of tree lustre, the in-tree lustre client should be disabled. |
| Comment by James A Simmons [ 01/May/15 ] |
|
Yep, its the tip of the iceberg. If you want to build the intel branch against 4.1-rc1 you will a bunch more patches just to make it work. See |
| Comment by James A Simmons [ 15/May/15 ] |
|
I have submitted a bunch of patches for Ubuntu15 support. Only thing left is handle filldir_t api changes and generic_file_aio_XX changes. |
| Comment by James A Simmons [ 28/May/15 ] |
|
I have submitted all the patches needed to support Ubuntu15 now. With those patches also kernels up to 4.0 are supported. Colin do you have a gerrit account so I can add you to review the patches needed. |
| Comment by James A Simmons [ 01/Jun/15 ] |
|
The need the following patches applied to master to run on Ubuntu15: http://review.whamcloud.com/#/c/14598 |
| Comment by James A Simmons [ 19/Jun/15 ] |
|
Only one patch needed to support Ubuntu15 - http://review.whamcloud.com/#/c/15028 |
| Comment by James A Simmons [ 05/Aug/15 ] |
|
All patches for Ubuntu15 support have landed. This ticket reported the same problems as |
| Comment by Peter Jones [ 05/Aug/15 ] |
|
ok - thanks James |