From nobody Mon Jun 5 12:28:32 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZXvj4bDPz4Ztn4 for ; Mon, 5 Jun 2023 12:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZXvj03rGz3h7J for ; Mon, 5 Jun 2023 12:28:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685968113; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4OGwpw97cHQxaEWONL5W+xMUHJarkmAZadhckBa7PyM=; b=SsPyh2kDtiwt8bB6E0g+QWpsTg0pPwiF4xyo07YfKxxJ7a/VC9SBBSDV0sQTDHyhEu9r+/ JNMc4Z5m0MnGqnoJZeveBepvErK2ey2At44wsTxgsz4BfrJvfrLqg9DbWiy2QLUGcXE/oe YK7hnt5mqUo9SC5CisI38PSqNfI4xlNVYhAX/8qzy22qzgk45hf1qkQRKHFISA6PZS82ad XAC71ZPEMU1yFST127IScm/e14Po7JI3HNW/r7+uychGF0Od7nlHpXQKiobNonVLmIggft 5z3UiddpA4y4kjQQzzHIUK8O9a1oyoZPipvuU720dZnbU7YeA/ixm6TkmEtHJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685968113; a=rsa-sha256; cv=none; b=fzGXhtHBfiY0C6kOnXsjhs259DGn5S87NZMG81ajFEgPcSNMXBusvd8fh2oWoDQdaVLW3d fv8z9I+s+8oH1Xiz+nHSqRBA6lgpSVExhvdtiocX0+IclMzPvJ+b0Z08Z87Ewz1TKGGSJo BFtKvyBhbcXNPb6gGXe33WGdJCFU9W9mjNCvAh83oMGmgkVA06ZlCl+uFNn15tnvlwBhfU RO0JIULu5RKcgRGM81tITosybzFhkKUYuDWRGtaIFyOC4/GuGn8MGpz2/GomDfqorPH6Vb HKHaxk9EqpKQsCGbT+gvklkcSsYGqbfFNVO8BzeyfQwTJmWfYD93RQ1nPmFNNQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZXvh68mqzmyT for ; Mon, 5 Jun 2023 12:28:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 355CSWBX060963 for ; Mon, 5 Jun 2023 12:28:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 355CSWtl060962 for ports-bugs@FreeBSD.org; Mon, 5 Jun 2023 12:28:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271838] lang/v8: fails with kern.elf64.allow_wx=1 but elfctl -e +wxneeded doesn't help Date: Mon, 05 Jun 2023 12:28:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271838 Bug ID: 271838 Summary: lang/v8: fails with kern.elf64.allow_wx=3D1 but elfctl -e +wxneeded doesn't help 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: jbeich@FreeBSD.org Blocks: 252629 Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Ports with embedded v8 either don't build or don't run. Some like www/node* (bug 261952) can be worked around via USES=3Delfctl. $ sysctl kern.elf32.allow_wx=3D1 $ sysctl kern.elf64.allow_wx=3D1 $ pkg install v8 $ proccontrol -m wxmap v8_shell V8 version 10.4.132.20 [sample shell] > ^D $ elfctl -e +wxneeded `which v8_shell` $ v8_shell # # Fatal error in , line 0 # Check failed: 12 =3D=3D (* __error()). # # # #FailureMessage Object: 0x2f206175e170 =3D=3D=3D=3D C stack trace =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0x2f2066df6053 at /usr/local/lib/libv8_libbase.so 0x2f2064e31cab at /usr/local/lib/libv8_libplatform.so 0x2f2066de91a5 at /usr/local/lib/libv8_libbase.so 0x2f2066df4a80 at /usr/local/lib/libv8_libbase.so 0x2f20636833a6 = at /usr/local/lib/libv8.so 0x2f20636831c5 = at /usr/local/lib/libv8.so 0x2f206368350d = at /usr/local/lib/libv8.so 0x2f2063683a12 at /usr/local/lib/libv8.so 0x2f2063695fac at /usr/local/lib/libv8.so 0x2f2063697115 at /usr/local/lib/libv8.so 0x2f2063696f61 at /usr/local/lib/libv8.so 0x2f2063602e04 at /usr/local/lib/libv8.so 0x2f2063603e23 at /usr/local/lib/libv8.so 0x2f206399ba87 ::PostProcessNewJSReceive= r(v8::internal::Map, v8::internal::Handle, v8::internal::JSReceiver, v8::internal::InstanceType, v8::internal::SnapshotSpace)+0x5f7> at /usr/local/lib/libv8.so 0x2f20639986ae ::ReadObject(v8::internal= ::SnapshotSpace)+0x11e> at /usr/local/lib/libv8.so 0x2f206399a1f0 ::ReadData(v8::internal::= Handle, int, int)+0xd00> at /usr/local/lib/libv8.so 0x2f206399941e ::VisitRootPointers(v8::i= nternal::Root, char const*, v8::internal::FullObjectSlot, v8::internal::FullObjectSlot)+0x= 3e> at /usr/local/lib/libv8.so 0x2f2063618d86 at /usr/local/lib/libv8.so 0x2f20639ac387 at /usr/local/lib/libv8.so 0x2f20635a5255 at /usr/local/lib/libv8.so 0x2f20635a56d9 at /usr/local/lib/libv8.so 0x2f20639a9c84 )+0x474> at /usr/local/lib/libv8.so 0x2f2063486507 at /usr/local/lib/libv8.so 0x2f206348670d at /usr/local/lib/libv8.so Trace/BPT trap Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252629 [Bug 252629] Need infrastructure to set ELF feature note flags via elfctl --=20 You are receiving this mail because: You are the assignee for the bug.=