[LU-7515] Broken Lustre build without optimization enabled GCOV Created: 03/Dec/15  Updated: 19/Aug/16  Resolved: 10/Dec/15

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

Type: Bug Priority: Major
Reporter: Chennaiah Palla (Inactive) Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When we enabled GCOV Lustre source should be compiled without optimization. Getting below error while executing llmount.sh

[root@fre0138 lustre-wc-rel]# sh lustre/tests/llmount.sh
Stopping clients: fre0138 /mnt/lustre (opts:)
Stopping clients: fre0138 /mnt/lustre2 (opts:)
Loading modules from /home/mpiuser/master/lustre-wc-rel/lustre/tests/..
detected 2 online CPUs by sysfs
Force libcfs to create 2 CPU partitions
../libcfs/libcfs/libcfs options: 'cpu_npartitions=2'
debug=vfstrace rpctrace dlmtrace neterror ha config                   ioctl super lfsck
subsystem_debug=all -lnet -lnd -pinger
../lnet/lnet/lnet options: 'accept=all'
../lnet/klnds/socklnd/ksocklnd options: 'sock_timeout=10'
insmod: error inserting '/home/mpiuser/master/lustre-wc-rel/lustre/tests/../ptlrpc/ptlrpc.ko': -1 Unknown symbol in module
[root@fre0138 lustre-wc-rel]#
[root@fre0138 lustre-wc-rel]#


 Comments   
Comment by Andreas Dilger [ 03/Dec/15 ]

You need to look at the dmesg log to see why the module load failed.

We would welcome a patch to fix whatever problem(s) you find.

Comment by Gerrit Updater [ 03/Dec/15 ]

Chennaiah Palla (chennaiah.palla@seagate.com) uploaded a new patch: http://review.whamcloud.com/17443
Subject: LU-7515 patch: fix to Lustre build without optimization.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 73c6093319e64d1817d6a0e923bcc9392717df9d

Comment by Gerrit Updater [ 10/Dec/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17443/
Subject: LU-7515 obdclass: add export for lprocfs_stats_alloc_one()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: dbc0d90ba951482944ea4378dacac7bc25b0c335

Comment by Joseph Gmitter (Inactive) [ 10/Dec/15 ]

Landed for 2.8

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