Opened 13 days ago

Last modified 13 days ago

#70694 new defect

qemu @9.1.0 Error on compilation (pthread_jit_write_protect_np)

Reported by: tom-programming Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: raimue (Rainer Müller), herbygillot (Herby Gillot), tom-programming
Port: qemu

Description

qemu fails on compilation in macOS 10.15 (Catalina) with newest command line tools

error is:

:info:build In file included from qapi/qapi-visit-authz.c:13:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.1.0/include/qemu/osdep.h:803:5: error: implicit declaration of function 'pthread_jit_write_protect_np' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     pthread_jit_write_protect_np(true);
:info:build     ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-9.1.0/include/qemu/osdep.h:808:5: error: implicit declaration of function 'pthread_jit_write_protect_np' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build     pthread_jit_write_protect_np(false);
:info:build     ^
:info:build 2 errors generated.

which suggest to me lack of an include pthreads.h directive

Attachments (1)

main.log (497.8 KB) - added by tom-programming 13 days ago.

Download all attachments as: .zip

Change History (2)

Changed 13 days ago by tom-programming

Attachment: main.log added

comment:1 Changed 13 days ago by tom-programming

Cc: tom-programming added
Note: See TracTickets for help on using tickets.