[Bug 277021] www/firefox: error on start after updating to 123.0 (rc1)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Feb 2024 09:01:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277021

Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |junchoon@dec.sakura.ne.jp

--- Comment #15 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
As I've found here before I started building 123, I've added

LDFLAGS+=       -lm

line after

CFLAGS_powerpc64le=     -DSQLITE_BYTEORDER=1234

line in www/firefox/Makefile and firefox starts fine.
I have

.if !${.CURDIR:M/usr/src/sys/boot*}
CPUTYPE?=       haswell
.endif

in my /etc/Make.conf.

Anyway, if prepending "LD_PRELOAD=/lib/libm.so.5" is required, adding -lm in
CFLAGS and/or CXXFLAGS would not be needed, adding to LDFLAGS is sufficient.
Not sure why libm is needed to pull in but not needed for maintainer (if
bitten, the maintainer would add this somewhere in www/firefox/Makefile or
Mk/bsd.gecko.mk).

I preferred to modify www/firefox/Makefile, as modifying Mk/bsd.gecko.mk could
unwantedly affect other ports using it.

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