libobjc currently returns the threads id in multiple places, and assumes that it
can return NULL as an identifier for "no thread" but posix thread id's are
opqaque, hurd uses a thread id of 0 for the first thread.

i'll attach a patch which while still not correct, should show the problem
areas, and has worked for linux and hurd.

-- 
           Summary: libobjc abuses posix thread ids
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libobjc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ratmice at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i585-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18573

Reply via email to