This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/23558] New: Regression: REPLACE_GETCWD gets set to 1 when cross-compiling
- From: "b7.10110111 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 21 Aug 2018 21:06:12 +0000
- Subject: [Bug gdb/23558] New: Regression: REPLACE_GETCWD gets set to 1 when cross-compiling
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23558
Bug ID: 23558
Summary: Regression: REPLACE_GETCWD gets set to 1 when
cross-compiling
Product: gdb
Version: 8.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: b7.10110111 at gmail dot com
Target Milestone: ---
After some time, cross-compiling gdb for armv5 and aarch64 uses rpl_getcwd
instead of normal getcwd. This results in crashes on startup (bug 23555) due to
failure to determine current directory on Android 8.0 (logged in via
SimpleSSHD), unless run as root.
git-bisect reports the following commit as the culprit:
6ec2e0f5bddc69d55e09fe56792edf7a109ff8ae is the first bad commit
commit 6ec2e0f5bddc69d55e09fe56792edf7a109ff8ae
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Fri Sep 8 20:09:12 2017 -0400
Import "glob" and "getcwd" modules from gnulib
Before this commit, REPLACE_GETCWD is 0, and the true getcwd system call is
called.
--
You are receiving this mail because:
You are on the CC list for the bug.