CVSROOT:        /cvs
Module name:    ports
Changes by:     lan...@cvs.openbsd.org  2023/11/26 01:37:24

Modified files:
        www/mozilla-firefox: Makefile 

Log message:
www/mozilla-firefox: explicitely pass --ld-path=${WRKDIR}/bin/ld

in #1839739 upstream switched unix builds from ld.bfd to lld, which had
the side effect of adding -fuse-ld=lld to LDFLAGS - thus bypassing the
ld wrapper we use in ports to add -z nobtcfi to the ld.lld linker
invocation, via USE_LLD & USE_NOBTCFI. As a result, OPENBSD_NOBTCF on
the firefox binary was lost, and it crashed at startup on IBT-enabled
hardware.

explicitely passing --ld-path via LDFLAGS has the same effect as otto@'s
fix but should we add other funky linker flags in the future, it'd keep
the ports override mechanism working.

upstream work for actual IBT support in the JIT might happen in #1626955

Reply via email to