[Bug bootstrap/67546] bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c

2015-09-11 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546

Kai Tietz  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-09-11
 CC||ktietz at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Kai Tietz  ---
I added to mingw-w64's libwinpthread a work-a-round for this sloopy code in
libgomp.  Nevertheless issue should be fixed IMO in libgomp, too


[Bug bootstrap/67546] bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c

2015-09-11 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546

--- Comment #2 from Rainer Emrich  ---
(In reply to Kai Tietz from comment #1)
> I added to mingw-w64's libwinpthread a work-a-round for this sloopy code in
> libgomp.  Nevertheless issue should be fixed IMO in libgomp, too

Wrong PR, this belongs to PR67141.


[Bug bootstrap/67546] bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c

2015-09-11 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546

Rainer Emrich  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #7 from Rainer Emrich  ---
I think it's really a duplicate of 67363.

*** This bug has been marked as a duplicate of bug 67363 ***


[Bug bootstrap/67546] bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c

2015-09-11 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546

--- Comment #3 from Kai Tietz  ---
Thanks Rainer for pointing on this.  Yes, comment wasn't intended for this bug.
 I added comment to proper pr ...

This issue is related to the fact that msvcrt doesn't provide unsetenv (as it
doesn't provide setenv).  Instead all this functionality needs to be expressed
via getenv/putenv instead.


[Bug bootstrap/67546] bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c

2015-09-11 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546

Kai Tietz  changed:

   What|Removed |Added

 Target|x86_64-w64-mingw32  |*-*-mingw32
   Priority|P3  |P1
 CC||dmalcolm at gcc dot gnu.org

--- Comment #4 from Kai Tietz  ---
Hi David,

this issue was introduced by your commit done at 2015-08-25


[Bug bootstrap/67546] bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c

2015-09-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546

--- Comment #5 from David Malcolm  ---
Is this a duplicate of PR 67363?


[Bug bootstrap/67546] bootstrap broken on x86_64-w64-mingw32, error: '::unsetenv' has not been declared in gcc.c

2015-09-11 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67546

--- Comment #6 from Kai Tietz  ---
Initially in PR/67363 just the missing strndup due failed libiberty-linking was
noticed.  Later comments are duplicate of this.
So feel free to mark one of these bugs as duplicate, if you prefer.