public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* bootstrap failure since std::errc::operation_not_permitted does not exist on windows
@ 2020-12-17 15:56 sotrdg sotrdg
  2020-12-17 16:20 ` sotrdg sotrdg
  2020-12-17 16:22 ` Jonathan Wakely
  0 siblings, 2 replies; 3+ messages in thread
From: sotrdg sotrdg @ 2020-12-17 15:56 UTC (permalink / raw)
  To: libstdc++, Jonathan Wakely

D:/msys64/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/bits/unique_lock.h: In member function 'void std::unique_lock<_Mutex>::unlock()':
D:/msys64/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/bits/unique_lock.h:191:42: error: 'operation_not_permitted' is not a member of 'std::errc'; did you mean 'operation_not_supported'?
  191 |           __throw_system_error(int(errc::operation_not_permitted));
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
      |                                          operation_not_supported
make[5]: *** [Makefile:648: future.lo] Error 1
make[5]: *** [Makefile:648: futex.lo] Error 1
make[5]: *** [Makefile:648: mutex.lo] Error 1
make[5]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src/c++11'
make[4]: *** [Makefile:764: all-recursive] Error 1
make[4]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src'
make[3]: *** [Makefile:568: all-recursive] Error 1
make[3]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3'
make[2]: *** [Makefile:493: all] Error 2
make[2]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3'
make[1]: *** [Makefile:12181: all-target-libstdc++-v3] Error 2
make[1]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32'
make: *** [Makefile:973: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: bootstrap failure since std::errc::operation_not_permitted does not exist on windows
  2020-12-17 15:56 bootstrap failure since std::errc::operation_not_permitted does not exist on windows sotrdg sotrdg
@ 2020-12-17 16:20 ` sotrdg sotrdg
  2020-12-17 16:22 ` Jonathan Wakely
  1 sibling, 0 replies; 3+ messages in thread
From: sotrdg sotrdg @ 2020-12-17 16:20 UTC (permalink / raw)
  To: libstdc++, Jonathan Wakely

I guess yesterday’s patch around errno breaks this.

It turns out to be a harder problem than I thought since different platforms did things very differently here.

libstdc++: Test errno macros directly, not via autoconf [PR 93151] · gcc-mirror/gcc@a2c2eec (github.com)<https://github.com/gcc-mirror/gcc/commit/a2c2eec183acf25c9b214fa0827718e4d2fdfc93>

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: sotrdg sotrdg<mailto:euloanty@live.com>
Sent: Thursday, December 17, 2020 10:56
To: libstdc++<mailto:libstdc++@gcc.gnu.org>; Jonathan Wakely<mailto:jwakely.gcc@gmail.com>
Subject: bootstrap failure since std::errc::operation_not_permitted does not exist on windows

D:/msys64/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/bits/unique_lock.h: In member function 'void std::unique_lock<_Mutex>::unlock()':
D:/msys64/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/bits/unique_lock.h:191:42: error: 'operation_not_permitted' is not a member of 'std::errc'; did you mean 'operation_not_supported'?
  191 |           __throw_system_error(int(errc::operation_not_permitted));
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
      |                                          operation_not_supported
make[5]: *** [Makefile:648: future.lo] Error 1
make[5]: *** [Makefile:648: futex.lo] Error 1
make[5]: *** [Makefile:648: mutex.lo] Error 1
make[5]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src/c++11'
make[4]: *** [Makefile:764: all-recursive] Error 1
make[4]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src'
make[3]: *** [Makefile:568: all-recursive] Error 1
make[3]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3'
make[2]: *** [Makefile:493: all] Error 2
make[2]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3'
make[1]: *** [Makefile:12181: all-target-libstdc++-v3] Error 2
make[1]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32'
make: *** [Makefile:973: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bootstrap failure since std::errc::operation_not_permitted does not exist on windows
  2020-12-17 15:56 bootstrap failure since std::errc::operation_not_permitted does not exist on windows sotrdg sotrdg
  2020-12-17 16:20 ` sotrdg sotrdg
@ 2020-12-17 16:22 ` Jonathan Wakely
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Wakely @ 2020-12-17 16:22 UTC (permalink / raw)
  To: sotrdg sotrdg; +Cc: libstdc++, Jonathan Wakely

On 17/12/20 15:56 +0000, sotrdg sotrdg via Libstdc++ wrote:
>D:/msys64/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/bits/unique_lock.h: In member function 'void std::unique_lock<_Mutex>::unlock()':
>D:/msys64/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/include/bits/unique_lock.h:191:42: error: 'operation_not_permitted' is not a member of 'std::errc'; did you mean 'operation_not_supported'?
>  191 |           __throw_system_error(int(errc::operation_not_permitted));
>      |                                          ^~~~~~~~~~~~~~~~~~~~~~~
>      |                                          operation_not_supported
>make[5]: *** [Makefile:648: future.lo] Error 1
>make[5]: *** [Makefile:648: futex.lo] Error 1
>make[5]: *** [Makefile:648: mutex.lo] Error 1
>make[5]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src/c++11'
>make[4]: *** [Makefile:764: all-recursive] Error 1
>make[4]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3/src'
>make[3]: *** [Makefile:568: all-recursive] Error 1
>make[3]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3'
>make[2]: *** [Makefile:493: all] Error 2
>make[2]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libstdc++-v3'
>make[1]: *** [Makefile:12181: all-target-libstdc++-v3] Error 2
>make[1]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32'
>make: *** [Makefile:973: all] Error 2
>==> ERROR: A failure occurred in build().
>Aborting...

Sorry about that, fixed with 217d5beaff9987a9845155fc796322b5f8bb876d




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-17 16:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 15:56 bootstrap failure since std::errc::operation_not_permitted does not exist on windows sotrdg sotrdg
2020-12-17 16:20 ` sotrdg sotrdg
2020-12-17 16:22 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).