0028266e34
NSS is very ABI compatible and part of current LSB 5.0 and so it should just work to use the one from the system, i'm not aware of a Linux that doesn't ship it. There used to be some feature patch in external/nss but this was removed years ago, now it just contains build fixes. Problems can occur if a mixture of system and bundled NSS libraries is loaded, if first an old version .so is loaded and then newer version .so depends on it but can't find some required symbol. See for example: https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg287043.html Another issue is that e.g. Fedora ships libnsspem.so in the nss-pem package, which may cause trouble in ASAN builds, where the internal NSS is built to call __asan_poison_memory_region but the system libnss-pem.so doesn't call __asan_unpoison_memory_region so we get: ==2568944==ERROR: AddressSanitizer: use-after-poison on address 0x61d0019afab0 WRITE of size 192 at 0x61d0019afab0 thread T28 (utl::Moderator) 0 in __interceptor_memset.part.0 (instdir/program/soffice.bin+0x466460) 1 (/lib64/libnsspem.so+0x15f3d) 2 (/lib64/libnsspem.so+0x16185) 3 (/lib64/libnsspem.so+0x8a9b) 4 (/lib64/libnsspem.so+0xe13b) 5 in secmod_ModuleInit workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11load.c:244:11 .. 21 in curl_easy_perform workdir/UnpackedTarball/curl/lib/easy.c:715:10 Also, with system NSS, things like p11-kit integration become responsibility of the OS. Change-Id: I50caedd46914dd5d6905c5d32d44a599cd78119e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120388 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> |
||
---|---|---|
.. | ||
text_cat | ||
update | ||
bash-completion.in | ||
benchmark-document-loading | ||
bffvalidator.sh.in | ||
check-elf-dynamic-objects | ||
check-icon-sizes.py | ||
check-implementer-notes.py | ||
check-missing-export-asserts.py | ||
check-missing-unittests.py | ||
compare-crashreport-stats.py | ||
convwatch.py | ||
distro-install-clean-up | ||
distro-install-desktop-integration | ||
distro-install-file-lists | ||
distro-install-sdk | ||
dump-poolitems-values.py | ||
extract-tooltip.py | ||
fake_pom.xml | ||
find-can-be-private-symbols.classes.results | ||
find-can-be-private-symbols.functions.results | ||
find-can-be-private-symbols.py | ||
find-clang-format.py | ||
find-duplicated-files.py | ||
find-duplicated-sids.py | ||
find-files-not-referenced-by-makefile.py | ||
find-german-comments | ||
find-headers-to-move-inside-modules.py | ||
find-mergedlib-can-be-private.classes.results | ||
find-mergedlib-can-be-private.py | ||
find-most-common-warn-messages.py | ||
find-most-repeated-functions.py | ||
find-undocumented-classes | ||
find-unneeded-includes | ||
find-unused-defines.py | ||
find-unused-sid-commands.py | ||
find-unused-typedefs.py | ||
find-unusedheaders.py | ||
fixincludeguards.sh | ||
flat-odf-cleanup.py | ||
fuzzfiles | ||
gbuild-to-ide | ||
gen-boost-headers | ||
gen-iwyu-dummy-lib | ||
gen-iwyu-dummy-lib.awk | ||
generate-bash-completion.py | ||
get-bugzilla-attachments-by-mimetype | ||
get_config_variables | ||
git-ps1 | ||
gla11y | ||
includebloat.awk | ||
ios-mapfile-statistics | ||
java-set-classpath.in | ||
lint-ui.py | ||
list-dispatch-commands.py | ||
list-uitest.py | ||
lo-all-static-libs | ||
lo-commit-stat | ||
lo-pack-sources | ||
lo-xlate-lang | ||
lolcat | ||
merge-app-bundles | ||
module-deps.pl | ||
moveglobalheaders.sh | ||
odfvalidator.sh.in | ||
officeotron.sh.in | ||
oss-fuzz-build.sh | ||
oss-fuzz-setup.sh | ||
parse-perfcheck.py | ||
README.md | ||
refcount_leak.py | ||
removetooltip_markups.sh | ||
rename-sw-abbreviations.sh | ||
run | ||
sanitize-excludelist.txt | ||
sanitize-image-links | ||
striplanguagetags.sh | ||
stubify.pl | ||
symbolstore.py | ||
symstore.sh | ||
test-hid-vs-ui.py | ||
ui-rules-enforcer.py | ||
ui-translatable.sh | ||
unpack-sources | ||
update_pch | ||
update_pch.sh | ||
update_pch_autotune.sh | ||
update_pch_bisect | ||
upload_symbols.py | ||
verify-custom-widgets-libs |
Tools and Non-Build Scripts
Tools and scripts mostly not used during the build
This direction has a number of key pieces (?) that are used during the build, or are simply generally useful. One example is
bin/find-german-comments <directory>
which will try to detect and extract all the German comments in a
given source code hierarchy /
directory.