[LU-6534] Build issue with gcc 4.9.2, v2_7_52, in sendfile_copy Created: 28/Apr/15 Updated: 28/Mar/17 Resolved: 12/May/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Colin Ian King | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
Ubuntu Vivid 15.04 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Epic/Theme: | test | ||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Building with gcc 4.9.2 on Ubuntu 15.04 I get the following build error: libtool: link: gcc -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror -o llapi_fid_test llapi_fid_test.o ../../lustre/utils/liblustreapi.a I'm guessing that the newer versions of gcc are more pedantic and catching this open + O_CREATE without mode flag issue. Attached is a patch to fix this build issue. |
| Comments |
| Comment by Peter Jones [ 28/Apr/15 ] |
|
Hi Colin thanks for the contribution - we're getting a lot of interest in running Lustre clients on Ubuntu atm so this is most welcome Bob Can you please take care of this patch? Thanks Peter |
| Comment by Gerrit Updater [ 28/Apr/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: http://review.whamcloud.com/14631 |
| Comment by Gerrit Updater [ 12/May/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14631/ |
| Comment by Peter Jones [ 12/May/15 ] |
|
Landed for 2.8 |