[LU-11744] Unusual client build failure on CentOS 7.6 Created: 09/Dec/18  Updated: 09/Dec/18

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Patrick Farrell (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

I'm having an unusual client build issue on a brand new install of CentOS 7.6.  It looks like the compiler or something is newer than what's being used in Jenkins (kernel is not), because I'm getting a build failure that seems like it should have never worked on anything.  (So I assume some new check is in play, or something is odd on my node.)

Specifically:

/home/build/master/lustre-release/lustre/obdclass/llog_cat.c: In function ‘llog_cat_prep_log’:
/home/build/master/lustre-release/lustre/obdclass/llog_cat.c:284:42: error: ‘LLOGH_CAT’ undeclared (first use in this function)
down_read_nested(&cathandle->lgh_lock, LLOGH_CAT);
^
/home/build/master/lustre-release/lustre/obdclass/llog_cat.c:284:42: note: each undeclared identifier is reported only once for each function it appears in
/home/build/master/lustre-release/lustre/obdclass/llog_cat.c:285:47: error: ‘LLOGH_LOG’ undeclared (first use in this function)
down_write_nested(&(*ploghandle)->lgh_lock, LLOGH_LOG);

 

Looking at llog_cat.c; LLOGH_CAT and LLOGH_LOG are not declared until later in the file.  Fix is simple, but it's confusing that this ever built.  No especially recent changes to the file & all the Jenkins builds are working.  (It is probably something about my node - I just wanted to highlight the unusual nature of this in case it means something.)

I'll push a patch soon.



 Comments   
Comment by Patrick Farrell (Inactive) [ 09/Dec/18 ]

It occurs to me - these are lockdep markers.  This may be some change in lockdep config.  So perhaps my kernel is different.  The headers are 957.1.3, but the kernel itself is just .957.

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