--- Comment #2 from sje at cup dot hp dot com 2008-08-06 20:28 ---
I am resolving this as invalid since it is not a GCC bug (unless you consider
not using -Z to be a bug). There is a patch for libpam which should fix the
null pointer reference available from HP. It is HP patch PHCO_370
--- Comment #1 from ajd at gentrack dot com 2007-10-01 01:58 ---
Compile with -Wl,-Z and it succeeds:
gcc-4.1.2/bin/gcc -mlp64 pam_test.c -lpam -o pt -Wl,-Z
It appears libpam on hpux requires -Z.
It was removed here:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00542.html
--
http: