This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/33712] New: libc_r is absent on the FreeBSD 7.0 and newer
- From: "kostikbel at ukr dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2007 13:51:20 -0000
- Subject: [Bug ada/33712] New: libc_r is absent on the FreeBSD 7.0 and newer
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The threading library on the FreeBSD is named libpthread starting from
FreeBSD 5.x (the oldest supported version of the OS). Old library libc_r
from the FreeBSD 4.x times was unsupported at least starting from
FreeBSD 6.x, and is not present on FreeBSD 7.x.
gcc/ada/Makefile.in sets
THREADSLIB= -lc_r
for freebsd/x86. After changing it to
THREADSLIB= -lpthread
Please, correct the name of threading library.
--
Summary: libc_r is absent on the FreeBSD 7.0 and newer
Product: gcc
Version: 4.2.2
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kostikbel at ukr dot net
GCC build triplet: i386-pc-freebsd7
GCC host triplet: i386-pc-freebsd7
GCC target triplet: i386-pc-freebsd7
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33712