[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.'. > > True,

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

2019-09-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91694 --- Comment #5 from Jakub Jelinek --- (In reply to Rishi Khan from comment #4) > (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 t

[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 jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91694 --- Comment #3 from Jakub Jelinek --- 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 libgomp's configure AC_LINK_IFELSE is used alre

[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&action=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 from