[LU-373] port bug20355 to master(lctl and lfs need $(PTHREAD_LIBS)) Created: 30/May/11  Updated: 13/Jun/11  Resolved: 13/Jun/11

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

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Won't Fix Votes: 0
Labels: None

Severity: 3
Bugzilla ID: 20,355
Rank (Obsolete): 10555

 Description   

on BG/P platform in LLNL, its compiler tool can't detect the pthread support implicitly, then it report compiler error.
the fix is adding the pthread support(CFLAGS, LIBS) according to the platform for the argument could be different in some platforms
(e.g. -lpthread or -lpthreads)

now the patch has been reverted in both b1_8 and master



 Comments   
Comment by Hongchao Zhang [ 07/Jun/11 ]

currently,the is no patch needed to land on master, but it could still cause compile error on BG/P platform in LLNL
without the patch specifying the pthread compile&link argument explicitly.

Comment by Peter Jones [ 13/Jun/11 ]

Not needed at this time

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