[Bug 273291] www/firefox: Crashes on start after upgrading from 116.0.3_1,2 to 117.0,2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Oct 2023 03:47:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273291

--- Comment #32 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Ken DEGUCHI from comment #30)

firefox 118.0.1 built with -O0 is running for me.

% pkg version -v | rg 'firefox'  
firefox-118.0.1_1,2                =   up-to-date with index

For your info:
I've setting the option using the patch below. This seems not to be erroneously
overridden. It seems that -O0 is overridden on sub (child) make with other
method I've tried.
Not uploaded as usual, as this is not at all an ideal solution.
Note that I revert this as soon as the upgrade is finished and apply again on
next upgrade.


--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -213,7 +213,7 @@
 MOZ_EXPORT+=  
MOZ_GOOGLE_SAFEBROWSING_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8

 .    if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
-CFLAGS+=               -O3
+CFLAGS+=               -O0
 MOZ_EXPORT+=   MOZ_OPTIMIZE_FLAGS="${CFLAGS:M-O*}"
 MOZ_OPTIONS+=  --enable-optimize
 .    else

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