octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55538] logspace BIST tests fail when Octave b


From: Pascal Dupuis
Subject: [Octave-bug-tracker] [bug #55538] logspace BIST tests fail when Octave built with LLVM libc++
Date: Fri, 17 Sep 2021 08:54:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36

Follow-up Comment #10, bug #55538 (project octave):

Dmitri,
that looks interesting.

Same version as yours, but version 
release-6-3-0                  29865:754013c36587

configured as, from the main tree:
mkdir compile; cd compile

env     LD_RUN_PATH=${HOME}/usr/lib CC=clang CXX=clang++ F77=gfortran LD=ld.lld
\
        AR=llvm-ar NM=llvm-nm STRIP=llvm-strip OBJCOPY=llvm-objcopy
OBJDUMP=llvm-objdump READELF=llvm-readelf \
        PKG_CONFIG_PATH=${HOME}/usr/lib/pkgconfig \
        CPPFLAGS=-I${HOME}/usr/include \
        CFLAGS="-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector
-strong -m64  -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection" \
        CXXFLAGS="-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protect
or-strong -m64  -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection "\
        LDFLAGS="-L${HOME}/usr/lib -fuse-ld=lld -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now" \
../configure --prefix=/home/MYUSER/usr/local/OCTAVE/6.3.x-clang 
--disable-java --disable-float-truncate --disable-docs

Those options are the standard flags used to compile R

Could you retry with this setup ?

Regards

Pascal


(file #51935)
    _______________________________________________________

Additional Item Attachment:

File name: myconfig-clang                 Size:0 KB
    <https://file.savannah.gnu.org/file/myconfig-clang?file_id=51935>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55538>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]