Re: [pcre-dev] Compiler warnings in JIT with NEON instructio…

Top Page
Delete this message
Author: Petr Pisar
Date:  
To: Sebastian Pop
CC: Petr Pisar via Pcre-dev
Subject: Re: [pcre-dev] Compiler warnings in JIT with NEON instructions
On Thu, Nov 07, 2019 at 08:34:44AM -0600, Sebastian Pop via Pcre-dev wrote:
> On Thu, Nov 7, 2019 at 3:38 AM Petr Pisar via Pcre-dev
> <pcre-dev@???> wrote:
> > Actually I did not notice that tests on aarch64 do not halt. So this is quite
> > a serious issue. Not just a compiler warning that can be ignored.
>
> Could you please share your configure flags for the aarch64 testing?
>


I sent a detailed messages to this list that was hold in moderation queue due
to its lenght.

A complete build log is at
<https://kojipkgs.fedoraproject.org//work/tasks/74/38820074/build.log>.

Environment variables:

CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'
CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'
LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'

Configure line:

./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-jit --enable-pcre2grep-jit --disable-bsr-anycrlf --disable-coverage --disable-ebcdic --disable-fuzz-support --disable-jit-sealloc --disable-never-backslash-C --enable-newline-is-lf --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-callout --enable-pcre2grep-callout-fork --disable-pcre2grep-libbz2 --disable-pcre2grep-libz --disable-pcre2test-libedit --enable-pcre2test-libreadline --enable-percent-zt --disable-rebuild-chartables --enable-shared --disable-silent-rules --enable-static --enable-unicode --disable-valgrind

Unfortunatelly you cannot see the content of gcc and ld -specs files. Please
study the linked build log that provides some clues.

-- Petr