This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/67363] [6 Regression] r227188 breaks build for mingw-w64
- From: "egall at gwmail dot gwu.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Aug 2015 07:31:31 +0000
- Subject: [Bug bootstrap/67363] [6 Regression] r227188 breaks build for mingw-w64
- Auto-submitted: auto-generated
- References: <bug-67363-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67363
--- Comment #2 from Eric Gallager <egall at gwmail dot gwu.edu> ---
Actually on further investigation, libiberty should already provide a strndup
implementation, the issue is just that it's not getting picked up here... I'm
not sure whether it would be better to put a declaration for it in
include/libiberty.h or in gcc/system.h though? Or both? The former seems like
the more correct location, but the latter was the one that actually worked,
so... I guess I should attach a patch for the latter then? Along with the
proper configure changes required for the ifdefs to work properly, that is...
(anyways, that's just the strndup part of the issue; I have no clue about the
setenv/unsetenv part in the original bug...)