I've been looking at the thunderbird build to speed it up (more on
that later this week, I hope - still examining options), and I
realised that in thunderbird we have
# The elf-hack causes failed builds on clang-9.0.1 with some CFLAGS including
# -march=native on Ryzen. It is supposed to improve startup time and it shrinks
# libxul.so by a few MB - Uncomment this if your build is affected.
#ac_add_options --disable-elf-hack
whereas on firefox we have
# The elf-hack is reported to cause failed installs (after successful builds)
# on some machines. It is supposed to improve startup time and it shrinks
# libxul.so by a few MB - comment this if you know your machine is not affected.
ac_add_options --disable-elf-hack
i.e. in firefox we play safe.
I can vaguely remember having the problem (not sure if it was in
thunderbird or in firefox, but -march=native on Ryzen is a bit of a
clue that I was involved :) I think that Doug also had problems on
one machine.
To be honest, I'd forgotten about this (I use mozconfigs based on
what is in the book, so for thunderbird I don't disable the elf
hack). And when I do build thunderbird for testing (several times
in the past few months) and briefly run it I have not had any
problems.
So I'm wondering if, in the future, we should try commenting that
option in firefox ? Not something for BLFS-10.0, I have not tried
it and I'd probably want to try it on all my desktop machines before
going ahed - so that will not be before firefox-78.3.0 (I'm already
running 78.2.0 on three of them).
ĸen
--
Juliet's version of cleanliness was next to godliness, which was to
say it was erratic, past all understanding and was seldom seen.
-- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page