[Bug target/11903] New: -pthread fails to link due to error in spec file on sh4
dank at kegel dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 13 03:48:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11903
Summary: -pthread fails to link due to error in spec file on sh4
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org,kkojima at rr dot iij4u
dot or dot jp
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh4-*-linux-gnu
Linking any program with -pthread fails with error
"ld: cannot find -lthread". This is a silly mistake
in the spec file. A patch to fix this is at
http://www.kegel.com/crosstool/current/gcc-3.3-patches/sh4-pthread.patch
Please apply for gcc-3.3.2.
More information about the Gcc-bugs
mailing list