Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC: error: constructor priorities are not supported #195

Open
Blackhex opened this issue Sep 13, 2024 · 0 comments
Open

GCC: error: constructor priorities are not supported #195

Blackhex opened this issue Sep 13, 2024 · 0 comments
Labels
C++ C++ Support

Comments

@Blackhex
Copy link
Member

Blackhex commented Sep 13, 2024

Issue

make[2]: Entering directory '/root/mingw-woarm64-build/build-aarch64-w64-mingw32-msvcrt/mingw-winpthreads'
/bin/bash ./libtool  --tag=CC   --mode=compile aarch64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/root/mingw-woarm64-build/code/mingw/mingw-w64-libraries/winpthreads  -I/root/mingw-woarm64-build/code/mingw/mingw-w64-libraries/winpthreads/include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1  -D__USE_MINGW_ANSI_STDIO=0  -Wall -DWIN32_LEAN_AND_MEAN   -MT src/libwinpthread_la-misc.lo -MD -MP -MF src/.deps/libwinpthread_la-misc.Tpo -c -o src/libwinpthread_la-misc.lo `test -f 'src/misc.c' || echo '/root/mingw-woarm64-build/code/mingw/mingw-w64-libraries/winpthreads/'`src/misc.c
libtool: compile:  aarch64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/root/mingw-woarm64-build/code/mingw/mingw-w64-libraries/winpthreads -I/root/mingw-woarm64-build/code/mingw/mingw-w64-libraries/winpthreads/include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -Wall -DWIN32_LEAN_AND_MEAN -MT src/libwinpthread_la-misc.lo -MD -MP -MF src/.deps/libwinpthread_la-misc.Tpo -c /root/mingw-woarm64-build/code/mingw/mingw-w64-libraries/winpthreads/src/misc.c -o src/libwinpthread_la-misc.o
/root/mingw-woarm64-build/code/mingw/mingw-w64-libraries/winpthreads/src/misc.c:34:1: error: constructor priorities are not supported
   34 | {
      | ^
make[2]: *** [Makefile:801: src/libwinpthread_la-misc.lo] Error 1

Workaround

Revert winpthreads: Fix constructor priority to make it run first · Windows-on-ARM-Experiments/mingw-woarm64@251fc7e.

@Blackhex Blackhex added the C++ C++ Support label Sep 20, 2024
@Blackhex Blackhex changed the title error: constructor priorities are not supported GCC: error: constructor priorities are not supported Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ C++ Support
Projects
None yet
Development

No branches or pull requests

1 participant