[Bug libgomp/91694] New: configure.ac does not correctly check for gethostname

2019-09-06 Thread ri...@extreme-scale.com
Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: ri...@extreme-scale.com CC: jakub at gcc dot gnu.org Target Milestone: --- In commit 7e5a76c87d27b72e05b0b32189e9cfafaebba6bc at: https://github.com/gcc-mirror/gcc/commit

[Bug libgomp/91694] configure.ac does not correctly check for gethostname

2019-09-09 Thread ri...@extreme-scale.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91694 --- Comment #4 from Rishi Khan --- (In reply to Jakub Jelinek from comment #3) > Can you start by saying what OS this is on? The lib*/configure* in gcc tree > can't use linking in all cases due to newlib startup setups, but it is true > that in

[Bug libgomp/91694] configure.ac does not correctly check for gethostname

2019-09-09 Thread ri...@extreme-scale.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91694 --- Comment #6 from Rishi Khan --- (In reply to Jakub Jelinek from comment #5) > > It seems like libgomp's configure.ac is already using AC_LINK_IFELSE for all > > OS's around line 241 to 'Check for pthread_{,attr_}[sg]etaffinity_np.'. > >

[Bug libgomp/91694] configure.ac does not correctly check for gethostname

2019-09-09 Thread ri...@extreme-scale.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91694 --- Comment #2 from Rishi Khan --- Created attachment 46857 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46857=edit patch for libgomp Attached is a patch that works for me.

[Bug libgomp/91694] configure.ac does not correctly check for gethostname

2019-09-07 Thread ri...@extreme-scale.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91694 Rishi Khan changed: What|Removed |Added CC||ri...@extreme-scale.com --- Comment #1