|
From: | amodra at gmail dot com |
Subject: | [Bug binutils/27716] build failure for host msdosdjgpp. error: 'PATH_MAX' undeclared (first use in this function) 55 | #define GUESSPATHLEN (MAXPATHLEN + 1) |
Date: | Wed, 14 Apr 2021 03:10:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27716 Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-04-14 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at sourceware dot org |amodra at gmail dot com Ever confirmed|0 |1 --- Comment #8 from Alan Modra <amodra at gmail dot com> --- >From what you've shown here, I would guess that your msdosdjgpp system headers #define MAXPATHLEN to PATH_MAX somewhere. That's wrong unless they also provide a PATH_MAX definition. PATH_MAX is usually defined in limits.h while MAXPATHLEN is defined in sys/param.h. So I could close this bug as not being a binutils problem, but GNU programs should not have arbitraty limits like PATH_MAX so I'm going to fix objdump and readelf. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |