[LU-3775] build errors with experimental version of gcc 4.7.0 20110509 Created: 19/Aug/13  Updated: 01/Sep/13  Resolved: 01/Sep/13

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

Type: Bug Priority: Minor
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9775

 Description   

The following error is reported:

lustre/lmv/lmv_obd.c: In function 'lmv_notify':
lustre/lmv/lmv_obd.c:66:16: error: 'tgt' may be used uninitialized in this function [-Werror=maybe-uninitialized]
lustre/lmv/lmv_obd.c:83:33: note: 'tgt' was declared here
cc1: all warnings being treated as errors

gcc -v
gcc version 4.7.0 20110509 (experimental) (GCC)



 Comments   
Comment by Dmitry Eremin (Inactive) [ 19/Aug/13 ]

The patch set is: http://review.whamcloud.com/7382

Comment by James A Simmons [ 29/Aug/13 ]

I'm finding other failures as well with newer gcc version. Will post patches soon.

Comment by Dmitry Eremin (Inactive) [ 01/Sep/13 ]

My patch was landed. Can I close the ticket or it will be used for other patches?

Comment by Peter Jones [ 01/Sep/13 ]

Dmitry

If you are not seeing any further errors then it is probably best to close this ticket and let James open a new ticket to track any further work needed

Peter

Generated at Sat Feb 10 01:36:48 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.