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

Reply via email to