[LU-12625] sometimes configure can't detect timespec64 with gcc8 Created: 02/Aug/19  Updated: 23/Oct/19  Resolved: 23/Oct/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

that's because struct inode is defined on stack and depending on kernel option can consume too much space:
configure:30832: checking if inode timestamps are struct timespec64
build/conftest.c: In function ‘main’:
build/conftest.c:226:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]



 Comments   
Comment by Gerrit Updater [ 02/Aug/19 ]

Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35675
Subject: LU-12625 build: reliable detection of struct timespec64
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 67beb8896587b46a00d0b2afd7e8024555f99dca

Comment by Gerrit Updater [ 22/Oct/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35675/
Subject: LU-12625 build: reliable detection of struct timespec64
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fac41e11d3e28ce239cb98298ce9fc5cd0e88e90

Comment by Peter Jones [ 23/Oct/19 ]

Landed for 2.13

Generated at Sat Feb 10 02:54:14 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.