[Bug libgomp/25936] libgomp needs to link against rt on HPUX
roger at eyesopen dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 8 17:46:00 GMT 2006
------- Comment #4 from roger at eyesopen dot com 2006-02-08 17:46 -------
This problem affects both hppa*-hp-hpux* and ia64-hp-hpux*. It appears that
the required sem_init, sem_wait, sem_post, etc... symbols are defined both in
the -lrt libraries on HPUX and in the -lc_r libraries. The fix is to update
LIB_SPEC, perhaps in the -pthread clause, for HPUX, but I'm not sure if it
requires adding -lrt or changing -lc to -lc_r, or adding -lc_r? I notice that
config/pa/pa-hpux10.h does mention -lc_r, but for use with -threads.
Should -pthread pull in the required symbols? i.e. is this a libgomp problem
or a target problem?
--
roger at eyesopen dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roger at eyesopen dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25936
More information about the Gcc-bugs
mailing list