This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/23558] Regression: REPLACE_GETCWD gets set to 1 when cross-compiling
- From: "sergiodj at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 22 Aug 2018 16:42:45 +0000
- Subject: [Bug gdb/23558] Regression: REPLACE_GETCWD gets set to 1 when cross-compiling
- Auto-submitted: auto-generated
- References: <bug-23558-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23558
--- Comment #8 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
A request from Paul Eggert:
9 The first thing that Gnulib rpl_getcwd should do, is call the system
10 getcwd and, if that succeeds (or if it fails with errno == ERANGE), it
11 should just return what the system getcwd returns. This is in the
12 HAVE_MINIMALLY_WORKING_GETCWD branch of gnulib/lib/getcwd.c. Can you
13 investigate why that isn't happening on Android? For example, what is
14 the value of HAVE_MINIMALLY_WORKING_GETCWD?
Ruslan, could you please check if HAVE_MINIMALLY_WORKING_GETCWD is defined?
Based on the fact that gl_cv_func_getcwd_path_max is being set to "no", I
suspect it's not being defined, but I figured it's better to double check with
you. Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.