This is a discussion on gcc and initgroups() within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hello, I'm wondering whether it's a compiler or a library problem: GCC on HP-UX compiles a program using initgroups() ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I'm wondering whether it's a compiler or a library problem: GCC on HP-UX compiles a program using initgroups() in a way that it dumps core. Compiling the same source with HP's bundled CC, doesn't dump core. Furthermore the GCC-compiled binary doesn't dump core if I remove the line "+:" from /etc/group. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21719 I found this bug wile debugging "sudo" crashes. Works on all machines except one. Regards, Ulrich |
| |||
| On 2005-05-30, Ulrich Windl <Ulrich.Windl@RZ.Uni-Regensburg.DE> wrote: > I'm wondering whether it's a compiler or a library problem: GCC on HP-UX > ... doesn't dump core if I remove the line "+:" from /etc/group. HP-UX version ? 10.x is obsolete. 11.x uses /etc/nsswitch.conf and doesn't need "+:". -- Elvis Notargiacomo master AT barefaced DOT cheek http://www.notatla.org.uk/goen/ Powergen write "Why not stay with us" - let me count the ways! |
| |||
| In article <86acmd6j0g.fsf@pc8032.rz.uni-regensburg.de>, Ulrich Windl <Ulrich.Windl@RZ.Uni-Regensburg.DE> wrote: >See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21719 I responded in the GCC bug report, basically I think you need the HP-UX libc patch PHCO_31903. Steve Ellcey sje <AT> cup . hp . com |
| ||||
| all mail refused <elvis-45987@notatla.org.uk> writes: > On 2005-05-30, Ulrich Windl <Ulrich.Windl@RZ.Uni-Regensburg.DE> wrote: > > > I'm wondering whether it's a compiler or a library problem: GCC on HP-UX > > ... doesn't dump core if I remove the line "+:" from /etc/group. > > HP-UX version ? 11.11 on PA-RISC > 10.x is obsolete. > 11.x uses /etc/nsswitch.conf and doesn't need "+:". > > -- > Elvis Notargiacomo master AT barefaced DOT cheek > http://www.notatla.org.uk/goen/ > Powergen write "Why not stay with us" - let me count the ways! |
| Thread Tools | |
| Display Modes | |
|
|