http://llvm.org/bugs/show_bug.cgi?id=7798
Summary: -pthread option not supported when linking with
clang++...
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Hi,
when linking:
clang++ -O2 -m64 stress.o Event.o EventDict.o -L/Users/rdm/rooticc/lib -lCore
-lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript
-lMatrix -lPhysics -lMathCore -lThread -pthread
-Wl,-rpath,/Users/rdm/rooticc/lib -lm -ldl -o stress
I get the warning:
clang: warning: argument unused during compilation: '-pthread'
while with g++ this option is needed (adds -lpthread on non Mac systems) or at
least does not complain.
Cheers, Fons.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs