Date: Thu, 17 May 2018 17:15:12 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228320] lang/v8 fails to build on 11.2-BETA1 Message-ID: <bug-228320-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228320 Bug ID: 228320 Summary: lang/v8 fails to build on 11.2-BETA1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: mgrooms@shrew.net Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org I believe this is due to 11.2 containing a newer version of LLVM. If I add = the following to the Makefile, the build completes successfully. Makefile Diff ... --- Makefile.old 2018-05-17 11:45:28.661295000 -0500 +++ Makefile 2018-05-17 11:45:45.353226000 -0500 @@ -39,6 +39,9 @@ CXXFLAGS+=3D -Wno-tautological-undefined-compare .if ${COMPILER_VERSION} >=3D 36 CXXFLAGS+=3D -Wno-unused-local-typedef +.if ${COMPILER_VERSION} >=3D 60 +CXXFLAGS+=3D -Wno-null-pointer-arithmetic -Wno-vexing-parse +.endif .endif .endif .endif Source code diff ( not sure how to make that conditional on clang 6.0 ) ... --- src/stub-cache.cc.old 2018-05-17 12:13:38.104285000 -0500 +++ src/stub-cache.cc 2018-05-17 12:13:53.180471000 -0500 @@ -1474,7 +1474,7 @@ Handle<Name> name) { return (FLAG_print_code_stubs && !name.is_null() && name->IsString()) ? GetCodeWithFlags(flags, *Handle<String>::cast(name)->ToCString()) - : GetCodeWithFlags(flags, reinterpret_cast<char*>(NULL)); + : GetCodeWithFlags(flags, static_cast<char*>(NULL)); } --=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-228320-7788>