Re: Firefox on stable/13

From: parv/freebsd <parv.0zero9+freebsd_at_gmail.com>
Date: Mon, 10 Jan 2022 00:01:44 UTC
On Sun, Jan 9, 2022 at 1:34 PM Ronald F. Guilmette wrote:

Hi Ronald,

Sending to -questions@ too.

...

> In message <
> CABObuOq4DoVpxp7xhSuJLoJJjPYhwi-MNyp4oNtAmCMZcNtMww@mail.gmail.com>
> , you wrote:
>
> >> So did Firefox crash for you also when you enabled ASLR?
> >>
> >
> >Yes, it crashed after enabling "pie" ...
> >
> >  sysctl kern.elf64.aslr.pie_enable=1
>
> Humm... well. I guess that maybe both the kern.elf32.aslr.stack_gap and
> also the kern.elf64.aslr.pie_enable make Firefox angry.
>

I have removed 32-bit bits as much as I could easily. So I do not
care if any such setting is enabled or missing.

I had not touched any other *elf64* settings ( besides *.aslr.enable
& *.aslr_pie.enable).


...

> On a slightly different topic, I have a question.  Maybe you can answer it
> for me.
>

You should have sent your question directly to -questions@ list instead
of privately asking me.



> I'm building ffmpeg from ports, but it is already installed (as a requsite
> for other things) from packages.  What do I have to do in order to replace
> the package with the (built) port?  Just "make install" in the port?  Or
> do I have to (force?) remove the pkg version first?
>

After successful "build" (as in "make build") of the port, remove it ("make
deinstall") & then install it ("make install") ...

  # make build && make deinstall && make install

... or, wait for "make install" to fail as the port had already been
installed. Then you could remove it either via pkg-delete(8) or via
"deinstall" make(1) target; run the "install" target again.


- parv
--