public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47491] New: [4.6 Regression] libgfortran: getpwuid_r (for GETLOG) breaks bootstrapping
@ 2011-01-27 15:02 burnus at gcc dot gnu.org
  2011-01-27 15:03 ` [Bug fortran/47491] " burnus at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-01-27 15:02 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] libgfortran: getpwuid_r (for GETLOG)
                    breaks bootstrapping
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
                CC: jb@gcc.gnu.org


Follow up to PR 47375 GETLOG thread safety:

As Rainer Orth reports, the patch breaks bootstrapping on Solaris
http://gcc.gnu.org/ml/fortran/2011-01/msg00245.html

Solaris has two versions of getpwuid_r - one matching a draft and one the final
POSIX version:

#if (_POSIX_C_SOURCE - 0 >= 199506L) || defined(_POSIX_PTHREAD_SEMANTICS)
extern int getpwuid_r(uid_t, struct passwd *, char *, int, struct passwd **);
#else
extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);
#endif


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-02 18:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 15:02 [Bug fortran/47491] New: [4.6 Regression] libgfortran: getpwuid_r (for GETLOG) breaks bootstrapping burnus at gcc dot gnu.org
2011-01-27 15:03 ` [Bug fortran/47491] " burnus at gcc dot gnu.org
2011-01-27 16:11 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-01-27 16:19 ` jb at gcc dot gnu.org
2011-01-27 16:43 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-01-27 17:22 ` jb at gcc dot gnu.org
2011-01-27 17:57 ` jb at gcc dot gnu.org
2011-01-27 20:08 ` jb at gcc dot gnu.org
2011-02-02 18:08 ` dnovillo at gcc dot gnu.org

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).