Date: Tue, 11 Jun 2024 13:03:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279676] devel/libdispatch: fails to build (with llvm-18?) Message-ID: <bug-279676-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279676 Bug ID: 279676 Summary: devel/libdispatch: fails to build (with llvm-18?) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: fluffy@FreeBSD.org Reporter: vsasjason@gmail.com Assignee: fluffy@FreeBSD.org Flags: maintainer-feedback?(fluffy@FreeBSD.org) Created attachment 251392 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251392&action= =3Dedit poudriere build log After upgrading system to 14.1-RELEASE which contains LLVM 18, a decision h= as been made to switch ports' LLVM to 18 as well. Unfortunately, libdispatch doesn't build with the following error: /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-= 5.5-RELEASE/src/shims/lock.c:541:10: error: call to undeclared function '_dispatch_ulock_wait'; ISO C99 and late= r do not support implicit function declarations [-Wimplicit-function-declaration] 541 | return _dispatch_ulock_wait(address, value, 0, flag= s); | ^ /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-= 5.5-RELEASE/src/shims/lock.c:541:10: note: did you mean 'dispatch_block_wait'? /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-= 5.5-RELEASE/dispatch/block.h:327:1: note: 'dispatch_block_wait' declared here 327 | dispatch_block_wait(dispatch_block_t block, dispatch_time_t timeout= ); | ^ /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-= 5.5-RELEASE/src/shims/lock.c:546:8: error: call to undeclared function '_dispatch_ulock_wait'; ISO C99 and late= r do not support implicit function declarations [-Wimplicit-function-declaration] 546 | rc =3D _dispatch_ulock_wait(address, value, (uint32_t)usecs, flags); | ^ /wrkdirs/usr/ports/devel/libdispatch/work/swift-corelibs-libdispatch-swift-= 5.5-RELEASE/src/shims/lock.c:723:27: warning: implicit conversion loses integer precision: 'uintptr_t' (aka 'unsigned long') to 'dispatch_lock' (aka 'unsigned int') [-Wshorten-64-to-3= 2] 723 | _dispatch_thread_switch(new_v, 0, timeout++); | ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ 1 warning and 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 (Attaching full build log as well.) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279676-7788>