This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/23558] Regression: REPLACE_GETCWD gets set to 1 when cross-compiling


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]