[Libreoffice-commits] core.git: 2 commits - bin/oss-fuzz-build.sh distro-configs/LibreOfficeOssFuzz.conf

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Aug 13 10:20:19 UTC 2018


 bin/oss-fuzz-build.sh                  |    2 +-
 distro-configs/LibreOfficeOssFuzz.conf |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit fbc0524ee19e039cadea92d2dd163525bad5f661
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 13 10:27:13 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 13 12:20:10 2018 +0200

    compress debug sections for oss-fuzz
    
    Change-Id: If633ffae3cd3acaf489a31891ca91f810c5e50c4
    Reviewed-on: https://gerrit.libreoffice.org/58917
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh
index 5cc1325c6980..07c4db955242 100755
--- a/bin/oss-fuzz-build.sh
+++ b/bin/oss-fuzz-build.sh
@@ -10,7 +10,7 @@ fi
 export CXX="$CXX -stdlib=libc++ -fsanitize-blacklist=$SRC/libreoffice/bin/sanitize-blacklist.txt"
 #similarly force the -fsanitize etc args in as well as pthread to get
 #things to link successfully during the build
-export LDFLAGS="$CFLAGS -lpthread"
+export LDFLAGS="$CFLAGS -Wl,--compress-debug-sections,zlib -lpthread"
 
 cd $WORK
 $SRC/libreoffice/autogen.sh --with-distro=LibreOfficeOssFuzz --with-external-tar=$SRC
commit 5ef48c6a7e294bcf7325daaa7e8c0c8c858d37ff
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 13 10:25:41 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 13 12:19:58 2018 +0200

    use gold linker for oss-fuzz
    
    Change-Id: I60319d22c192b068860b1959350a602edf19aea4
    Reviewed-on: https://gerrit.libreoffice.org/58916
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/distro-configs/LibreOfficeOssFuzz.conf b/distro-configs/LibreOfficeOssFuzz.conf
index a35bcd62d892..1cca285ff058 100644
--- a/distro-configs/LibreOfficeOssFuzz.conf
+++ b/distro-configs/LibreOfficeOssFuzz.conf
@@ -17,3 +17,4 @@
 --disable-cups
 --disable-odk
 --without-java
+--enable-ld=gold


More information about the Libreoffice-commits mailing list