From nobody Sat Dec 16 22:07:46 2023 X-Original-To: freebsd-arm@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 4St0bC2F3wz52mj4 for ; Sat, 16 Dec 2023 22:08:23 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4St0bC1gNFz4dvQ for ; Sat, 16 Dec 2023 22:08:23 +0000 (UTC) (envelope-from jsm@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702764503; 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: in-reply-to:in-reply-to:references:references; bh=/STWOmocX5QfmBuS8diqQ4vXGxZ8tv1tsetv/cYn0Ks=; b=vY65ZTg1RzR1anikOeZQA2S0BJtrSaPHYwsR/7Z8aSjYkAPekIX2ILtsURbZKbtqHeBIe6 6cxqiD6gcOapRn+f8PY/mWxeIXUIFMmtKmBsPXYDkb4ShkZo99hIRdzUGi4dyVV0xlzbFW BC8o7QeEitPxp6/NGjjl5w5T35BgJ7P+2Im3i9wf3jeRe3xmIGipbazQYasp7vYIh+XePJ zlApjma3jh82iE0jv5hIblU7YLN5Bz8C6JkGLmjPVzrrqdc92lyTUsuR3DopBLSwta4E8f Xn1d23Vs/gvLElHthr/uf04vUaEiO99PGfk7VZev+cIg5fUFvhA9Kwfe0VsFTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702764503; a=rsa-sha256; cv=none; b=PcMdDvsIRglPHJSJikhgti0czK/LebZe5Cs7ty+GD6DxL0Zydk7TmBfYaVV1AMvyIyzmUH HsnvJSxvQ4ETrL/Ao9vWdIUXc8GAjRhG3XY4LKqDkv6CiOIwCLgPD19DHDAPSfNqS/MtOU kVDztOydGch6K45dCcJ34csJhnwXntxnRBe9HHiBvIRp/8nwp09FTZ33+BprRy+Juzso+X DylHIxR+WCU4PKHbn6ydRHGaI2nSL/96DdMBHtL2CF39gwT7hcro5kOyMtbvTf4RWOIU8v 9WjRkgaGDOwhJhmTY/vjJIY1rHS1/I1ZvybgLTwfxv/jNaruUvwZhbvWMNIf1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702764503; 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: in-reply-to:in-reply-to:references:references; bh=/STWOmocX5QfmBuS8diqQ4vXGxZ8tv1tsetv/cYn0Ks=; b=p9FRjtxQ6qbKGWKZi3NcWqMR2A0tPkSv6XmBjBYYnK9OHrCzfDTW6oQeUm8rtJ1gzaUQix C1vgov1J6xTGDAWV+W9gTsxFyyuWD9DU0gotD+u71ryQDdQUZYVvBNYM4H5cGHn6Yg8ga5 jrr/CgBS/CalG1g2jPjcMEm1LxfKzby/GTQh85jhJoSwrmQ2v3sh6ND6/Rkcy2WZiuya72 gqkua1oITSLu4xSPuAUV+rTyXCqOEL9EbOoPxq3JsIBzWMSbdlsoIC5b4V21WemANGxj/B WfAqau0QaMwO3fQApVulvmrWXP9dZhj3Wa7ccMOawhjVJ0AfHV/BvYXJPaet3Q== Received: from [192.168.1.5] (mail.northatlanticmusicsupplies.com [212.237.182.202]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jsm) by smtp.freebsd.org (Postfix) with ESMTPSA id 4St0bB66BFztwS for ; Sat, 16 Dec 2023 22:08:22 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Message-ID: <7daaaade-955d-4678-bec4-a34a196b27b7@FreeBSD.org> Date: Sat, 16 Dec 2023 23:07:46 +0100 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: firefox broken on arm64 Content-Language: en-US From: Jesper Schmitz Mouridsen To: freebsd-arm@freebsd.org References: <9518dc38-e44b-42ae-bf87-6039ac278ac8@FreeBSD.org> <46c52d37-36ec-45fc-8098-1029996c717c@FreeBSD.org> <27c55e4e-21d2-44f7-9436-95fa1e5b4722@FreeBSD.org> In-Reply-To: <27c55e4e-21d2-44f7-9436-95fa1e5b4722@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10.12.2023 14.08, Jesper Schmitz Mouridsen wrote: > > > On 03.12.2023 11.59, Jesper Schmitz Mouridsen wrote: >> >> >> On 03.12.2023 09.38, void wrote: >>> On Sun, Dec 03, 2023 at 08:34:21AM +0100, Jesper Schmitz Mouridsen >>> wrote: >>>> >>>> Just build firefox-esr-115.5.0_1,1  and firefox-116.0.3_1,2 the >>>> first runs with aslr disabled, the latter signals 4. >>>> >>>> Any suggestions on what is going on are appreciated. >>> >>> What's the uname -aKU ? >> >> FreeBSD generic 14.0-RELEASE FreeBSD 14.0-RELEASE #0 >> releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 09:12:14 UTC 2023 >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 1400097 1400097 >> >>   did you build from ports or poudriere? >>  From ports. >> >> If the >>> latter, what's the /etc/make.conf contain? >>> >>> Please post sysctl -a | grep aslr >>> >> >> kern.elf32.aslr.shared_page: 0 >> kern.elf32.aslr.stack: 1 >> kern.elf32.aslr.honor_sbrk: 0 >> kern.elf32.aslr.pie_enable: 0 >> kern.elf32.aslr.enable: 0 >> kern.elf64.aslr.shared_page: 1 >> kern.elf64.aslr.stack: 1 >> kern.elf64.aslr.honor_sbrk: 0 >> kern.elf64.aslr.pie_enable: 1 >> kern.elf64.aslr.enable: 1 >> vm.aslr_restarts: 256 >> >> I did the esr build to test the build setup, since also the pkg in the >> official pkg repo behaves the same i.e the one before 115.5 since >> 115.5 did not hit the pkg repo yet, which works without aslr (set by >> proccontrol) So unless 116 introduces something which requires sysctl >> changes for the building tool chain while building my test should be >> valid. >> >> Thanks >> >> /jsm >> >> > Hi > Just FYI > I have managed to cross-compile firefox115-esr on amd64 to aaarhc64 so > that takes me ~20 min compute time to compile as opposed to 5-7 hours on > my arm boards... I think it broke somewhere between 115 and 116, but now > bisecting is doable to the extend the port patches allows. Can someone > btw tell me hove the libwebrtc patches are generated..? > I build and bisected with --disable-webrtc so I did not need the patches for that.. It breaks here: changeset: 743155:5c5cf716aa0b user: Jan de Mooij date: Wed Jun 07 16:34:51 2023 +0000 summary: Bug 1835876 part 2 - Disable code write protection in content processes. r=nbp [root@freebsd2 /tmp3/bisect/mozilla-unified]# hg log -r 743154 changeset: 743154:028f981600d7 user: Jan de Mooij date: Wed Jun 07 16:34:51 2023 +0000 summary: Bug 1835876 part 1 - Remove unused ProtectionSetting::Protected. r=nbp Related to w^x.. I can only make it work by reverting the whole of the two above commits... (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081#c7) Still disabling aslr is required /Jsm