public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "andreast at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/27330] natSystemProperties.cc:213: error: 'getpwuid_r' was not declared in this scope
Date: Thu, 27 Apr 2006 22:33:00 -0000	[thread overview]
Message-ID: <20060427223320.7470.qmail@sourceware.org> (raw)
In-Reply-To: <bug-27330-276@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from andreast at gcc dot gnu dot org  2006-04-27 22:33 -------
I'll submit the patch tommorow. It has been in my queue for a longer time.

Index: configure.ac
===================================================================
--- configure.ac        (revision 113320)
+++ configure.ac        (working copy)
@@ -811,6 +811,14 @@
        THREADLIBS='-lpthread -lrt'
        THREADSPEC='-lpthread -lrt'
        ;;
+     hppa*-hp-hpux*)
+        THREADCXXFLAGS=-pthread 
+       # boehm-gc needs some functions from librt, so link that too.
+       THREADLIBS='-lpthread -lrt'
+       THREADSPEC='-lpthread -lrt'
+       # HPUX needs REENTRANT for the _r calls.
+       AC_DEFINE(_REENTRANT, 1, [Required define if using POSIX threads])
+       ;;
      *)
        THREADLIBS=-lpthread
        THREADSPEC=-lpthread


-- 

andreast at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |andreast at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-04-27 22:33:19
               date|                            |


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


  parent reply	other threads:[~2006-04-27 22:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-26 22:43 [Bug libgcj/27330] New: " danglin at gcc dot gnu dot org
2006-04-26 22:47 ` [Bug libgcj/27330] " danglin at gcc dot gnu dot org
2006-04-27  1:16 ` dave at hiauly1 dot hia dot nrc dot ca
2006-04-27 22:33 ` andreast at gcc dot gnu dot org [this message]
2006-04-30 21:09 ` andreast at gcc dot gnu dot org
2006-05-20 21:37 ` andreast at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060427223320.7470.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).