[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

--- Comment #8 from Nuno Teixeira  ---
(In reply to Jesper Schmitz Mouridsen from comment #7)

Hello Jasper,

It seems that firefox 121 is already patched as I did tried apply uploaded
patch (reverse (or previouly applied) patch detected).

I will test 121.0,2 (11 Dec 2023) and share results.

Cheers

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[package - 132arm64-quarterly][www/firefox] Failed for firefox-120.0.1,2 in checksum

2023-12-17 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: ge...@freebsd.org
Log URL:
https://pkg-status.freebsd.org/ampere1/data/132arm64-quarterly/3c61f1a4a763/logs/firefox-120.0.1,2.log
Build URL:  
https://pkg-status.freebsd.org/ampere1/build.html?mastername=132arm64-quarterly&build=3c61f1a4a763
Log:

=>> Building www/firefox
build started at Sun Dec 17 11:47:38 UTC 2023
port directory: /usr/ports/www/firefox
package name: firefox-120.0.1,2
building for: FreeBSD 132arm64-quarterly-job-03 13.2-RELEASE-p8 FreeBSD 
13.2-RELEASE-p8 arm64
maintained by: ge...@freebsd.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2644 Dec 16 01:02 
/usr/ports/www/firefox/Makefile
Ports top last git commit: 3c61f1a4a
Ports top unclean checkout: no
Port dir last git commit: bef6139c5
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 156
Jail OSVERSION: 1302001
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p8
UNAME_r=13.2-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/132arm64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132arm64-quarterly/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132arm64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for firefox-120.0.1,2:
 CANBERRA=off: Sound theme alerts
 DBUS=on: D-Bus IPC system support
 DEBUG=off: Build with debugging support
 FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
 LIBPROXY=off: Proxy support via libproxy
 LTO=off: Use Link-Time Optimization
 OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
 PROFILE=on: Build with profiling support
 TEST=off: Build and/or run tests
> Extra cubeb audio backends (OSS is always available)
 ALSA=off: ALSA audio architecture support
 JACK=on: JACK audio server support
 PULSEAUDIO=on: PulseAudio sound server support
 SNDIO=on: Sndio audio support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ge...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
BINDGEN_CFLAGS="-I/usr/local/include" MAKE=gmake PKG_CONFIG=pkgconf 
PYTHON="/usr/local/bin/python3.9" 
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  
CC="/usr/local/bin/clang13" CFLAGS="-O2 -pipe  -O3 -DLIBICONV_PLUG 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  
CPP="/usr/local/bin/clang-cpp13" CPPFLAGS="-DLIBICONV_PLUG -isystem 
/usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong " 
LIBS="-L/usr/local/lib"  CXX="/usr/local/bin/clang++13" CXXFLAGS="-O2 -pipe -O3 
-D
LIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include 

[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

--- Comment #9 from Nuno Teixeira  ---
Created attachment 247095
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247095&action=edit
prepared patch to use in www/firefox/files/

reverse applied patch prepared to use in www/firefox/files/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

--- Comment #10 from Jesper Schmitz Mouridsen  ---
(In reply to Nuno Teixeira from comment #9)
Try this one 

 /*
  * The original fdlibm code used statements like:
diff -r d80eefe94738 modules/libpref/init/StaticPrefList.yaml
--- a/modules/libpref/init/StaticPrefList.yaml  Tue Nov 28 21:01:37 2023 +
+++ b/modules/libpref/init/StaticPrefList.yaml  Sun Dec 17 14:50:57 2023 +0100
@@ -7662,7 +7662,7 @@
 # or executable but never both at the same time. OpenBSD defaults to W^X.
 - name: javascript.options.content_process_write_protect_code
   type: bool
-#if defined(XP_OPENBSD)
+#if defined(XP_OPENBSD) || defined(XP_FREEBSD)
   value: true
 #else
   value: false

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

Jesper Schmitz Mouridsen  changed:

   What|Removed |Added

 Attachment #247087|0   |1
is obsolete||

--- Comment #11 from Jesper Schmitz Mouridsen  ---
Created attachment 247100
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247100&action=edit
prentents always w^x something might be wrong with allow_wx ?

This runs both with kern.elf64.allow_wx=0 and kern.elf64.allow_wx=1. 
But unpatched is does not run with kern.elf64.allow_wx=1 (Which it should if i
do not mixup the values)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


Problem reports for ge...@freebsd.org that need special attention

2023-12-17 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
Open|257274 | www/firefox: Fails to link on i386 with LTO=ON on 
Open|260706 | Mk/bsd.gecko.mk: LLVM_VERSION not set when LTO=OF 
Open|269525 | x11-wm/twm: www/firefox dropdown menus close when 
Open|273766 | graphics/webp: critical vulnerability (affects br 
Open|266259 | www/firefox 104: high CPU usage   
Open|263798 | lang/rust - gecko ports with LTO enabled are dysf 

6 problems total for which you should take action.


[Bug 275814] www/firefox has the wrong version in the Makefile

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275814

Bug ID: 275814
   Summary: www/firefox has the wrong version in the Makefile
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: Individual Port(s)
  Assignee: ge...@freebsd.org
  Reporter: dcla...@blastwave.org
  Assignee: ge...@freebsd.org
 Flags: maintainer-feedback?(ge...@freebsd.org)

In the 2023Q4 ports branch the Makefile does not match the distfile :

# cat distinfo
TIMESTAMP = 1702328424
SHA256 (firefox-121.0.source.tar.xz) =
edc7a5159d23ff2a23e22bf5abe22231658cee2902b93b5889ee73958aa06aa4
SIZE (firefox-121.0.source.tar.xz) = 530302784

# cat  Makefile
PORTNAME=   firefox
DISTVERSION=120.0.1
.
.
.

So poudriere is making bad noises :

[00:00:14] Hit CTRL+t at any time to see build progress and stats
[00:00:14] [01] [00:00:00] Building www/firefox | firefox-120.0.1,2
[00:00:24] [01] [00:00:10] Finished www/firefox | firefox-120.0.1,2: Failed:
checksum
[00:00:24] Stopping 1 builders

Looks like a trivial fix.

Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.


maintainer-feedback requested: [Bug 275814] www/firefox has the wrong version in the Makefile

2023-12-17 Thread bugzilla-noreply
Bugzilla Automation  has asked freebsd-gecko (Nobody)
 for maintainer-feedback:
Bug 275814: www/firefox has the wrong version in the Makefile
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275814



--- Description ---
In the 2023Q4 ports branch the Makefile does not match the distfile :

# cat distinfo
TIMESTAMP = 1702328424
SHA256 (firefox-121.0.source.tar.xz) =
edc7a5159d23ff2a23e22bf5abe22231658cee2902b93b5889ee73958aa06aa4
SIZE (firefox-121.0.source.tar.xz) = 530302784

# cat  Makefile
PORTNAME=   firefox
DISTVERSION=120.0.1
.
.
.

So poudriere is making bad noises :

[00:00:14] Hit CTRL+t at any time to see build progress and stats
[00:00:14] [01] [00:00:00] Building www/firefox | firefox-120.0.1,2
[00:00:24] [01] [00:00:10] Finished www/firefox | firefox-120.0.1,2: Failed:
checksum
[00:00:24] Stopping 1 builders

Looks like a trivial fix.

Thank you



[package - main-i386-default][www/firefox] Failed for firefox-121.0,2 in build

2023-12-17 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: ge...@freebsd.org
Log URL:
https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pd85c123861ba_s6f3e9bac4d/logs/firefox-121.0,2.log
Build URL:  
https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pd85c123861ba_s6f3e9bac4d
Log:

=>> Building www/firefox
build started at Sun Dec 17 23:16:30 UTC 2023
port directory: /usr/ports/www/firefox
package name: firefox-121.0,2
building for: FreeBSD main-i386-default-job-04 15.0-CURRENT FreeBSD 
15.0-CURRENT 157 i386
maintained by: ge...@freebsd.org
Makefile datestamp: -rw-r--r--  1 root wheel 2593 Dec 14 01:01 
/usr/ports/www/firefox/Makefile
Ports top last git commit: d85c123861b
Ports top unclean checkout: no
Port dir last git commit: ef972b65fdf
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 156
Jail OSVERSION: 157
Job Id: 04




!!! Jail is newer than host. (Jail: 157, Host: 156) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=157
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 157
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-i386-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for firefox-121.0,2:
 CANBERRA=off: Sound theme alerts
 DBUS=on: D-Bus IPC system support
 DEBUG=off: Build with debugging support
 FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
 LIBPROXY=off: Proxy support via libproxy
 LTO=off: Use Link-Time Optimization
 OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
 PROFILE=on: Build with profiling support
 TEST=off: Build and/or run tests
> Extra cubeb audio backends (OSS is always available)
 ALSA=off: ALSA audio architecture support
 JACK=on: JACK audio server support
 PULSEAUDIO=on: PulseAudio sound server support
 SNDIO=on: Sndio audio support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ge...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
BINDGEN_CFLAGS="-I/usr/local/include" MAKE=gmake PKG_CONFIG=pkgconf 
PYTHON="/usr/local/bin/python3.9" 
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  
CC="/usr/local/bin/clang15" CFLAGS="-O2 -pipe  -O3 -DLIBICONV_PLUG 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  
CPP="/usr/local/bin/clang-cpp15" CPPFLAGS="-DLIBICONV_PLUG -isystem 
/usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-

[package - 132i386-default][www/firefox] Failed for firefox-121.0,2 in build

2023-12-17 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: ge...@freebsd.org
Log URL:
https://pkg-status.freebsd.org/beefy15/data/132i386-default/d85c123861ba/logs/firefox-121.0,2.log
Build URL:  
https://pkg-status.freebsd.org/beefy15/build.html?mastername=132i386-default&build=d85c123861ba
Log:

=>> Building www/firefox
build started at Mon Dec 18 00:01:24 UTC 2023
port directory: /usr/ports/www/firefox
package name: firefox-121.0,2
building for: FreeBSD 132i386-default-job-04 13.2-RELEASE-p8 FreeBSD 
13.2-RELEASE-p8 i386
maintained by: ge...@freebsd.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2593 Dec 12 01:07 
/usr/ports/www/firefox/Makefile
Ports top last git commit: d85c123861b
Ports top unclean checkout: no
Port dir last git commit: ef972b65fdf
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 156
Jail OSVERSION: 1302001
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1302001
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.2-RELEASE-p8
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.2-RELEASE-p8
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/132i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132i386-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for firefox-121.0,2:
 CANBERRA=off: Sound theme alerts
 DBUS=on: D-Bus IPC system support
 DEBUG=off: Build with debugging support
 FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
 LIBPROXY=off: Proxy support via libproxy
 LTO=off: Use Link-Time Optimization
 OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
 PROFILE=on: Build with profiling support
 TEST=off: Build and/or run tests
> Extra cubeb audio backends (OSS is always available)
 ALSA=off: ALSA audio architecture support
 JACK=on: JACK audio server support
 PULSEAUDIO=on: PulseAudio sound server support
 SNDIO=on: Sndio audio support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ge...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
BINDGEN_CFLAGS="-I/usr/local/include" MAKE=gmake PKG_CONFIG=pkgconf 
PYTHON="/usr/local/bin/python3.9" 
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/firefox/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/firefox/work/.cache  
HOME=/wrkdirs/usr/ports/www/firefox/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/www/firefox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/firefox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  
CC="/usr/local/bin/clang15" CFLAGS="-O2 -pipe  -O3 -DLIBICONV_PLUG 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  
CPP="/usr/local/bin/clang-cpp15" CPPFLAGS="-DLIBICONV_PLUG -isystem 
/usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong " 
LIBS="-L/usr/local/lib"  CXX="/usr/local/bin/clang++15" CXXFLAGS="-O2 -pipe -O3 
-D
LIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/includ

[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

--- Comment #12 from Jesper Schmitz Mouridsen  ---
Further investegation:

allow_wx=1 (e.g not enforced might to misbehave)

https://gist.github.com/jsm222/38279218adf608b48985c174cedad014

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

Kyle Evans  changed:

   What|Removed |Added

 CC||kev...@freebsd.org

--- Comment #13 from Kyle Evans  ---
The problem with these last reproducers seems to be insufficient barrier
between writes to the mapped page and executing code out of it; it seems like
it'd be unlikely for a project like firefox to get it wrong, but maybe they're
doing the same (or perhaps some other kind of caching)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081

--- Comment #14 from Jesper Schmitz Mouridsen  ---
diff -r d80eefe94738 js/src/jit/arm64/vixl/MozCpu-vixl.cpp
--- a/js/src/jit/arm64/vixl/MozCpu-vixl.cpp Tue Nov 28 21:01:37 2023 +
+++ b/js/src/jit/arm64/vixl/MozCpu-vixl.cpp Mon Dec 18 08:06:04 2023 +0100
@@ -110,7 +110,7 @@
   FlushInstructionCache(GetCurrentProcess(), address, length);
 #elif defined(XP_DARWIN)
   sys_icache_invalidate(address, length);
-#elif defined(__aarch64__) && (defined(__linux__) || defined(__android__))
+#elif defined(__aarch64__) && (defined(__linux__) || defined(__android__) ||
defined(__FreeBSD__))
   // Implement the cache synchronisation for all targets where AArch64 is the
   // host, even if we're building the simulator for an AAarch64 host. This
   // allows for cases where the user wants to simulate code as well as run it

This one works for me as a single patch (i.e all other attempts can be
disregarded) did only a sparse test on an incremental build but all cache
related code was guarded out. Still needs +noaslr.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.