[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:20:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277021

--- Comment #16 from Guido Falsi <madpilot@FreeBSD.org> ---
(In reply to Stefan Ehmann from comment #9)

> "Looks like a missing -lm to me." was mentioned on the ports mailing list.

That was me :)


I'm also experiencing this on amd64, using head from a few weeks ago (I'm going
to recompile base shortly, but I don't think that makes much difference).

I tested some options permutations with no change.


I've "fixed" it locally by adding LDFLAGS="-lm" to the port (also suggested in
comment #15).

I also noticed this line in firefox configure output:

js/src> checking for sin in -lm... yes


which could be related.


Also looking at the build log I do see "-lm" being added to some targets, but
not others, so this could be upstream having optimized his build to exclude the
flag where deemed unnecessary, and maybe removed a little too much.

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