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

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

[Octave-bug-tracker] [bug #57955] [octave forge] (parallel) build compla


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #57955] [octave forge] (parallel) build complains about missing -fPIC flag at link stage
Date: Fri, 6 Mar 2020 04:31:51 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

Follow-up Comment #4, bug #57955 (project octave):

with pkg install -verbose parallel-3.1.3.tar.gz (created from current hg)

-fPIC seems to be missing here:


depbase=`echo perror.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\                  
                  
        x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY
-g -O2 -MT perror.o -MD -MP -MF $depbase.Tpo -c -o perror.o perror.c &&\      
                                     
        mv -f $depbase.Tpo $depbase.Po   


-fPIC is included in other compiles


CXXFLAGS="-O3 -Wno-expansion-to-defined "
/opt/apps/shared/user/x86_64/bin/mkoctfile-5.2.1 --verbose -c fload.cc        
                                                                    
x86_64-pc-linux-gnu-c++ -c -I/opt/apps/shared/user/x86_64/include/suitesparse
-DQT_NO_DEBUG=1 -I/opt/apps/shared/user/x86_64/include -fPIC
-I/opt/apps/shared/user/x86_64/include/octave-5.2.1/octave/..
-I/opt/apps/shared/user/x86_64/include/octave-5.2.1/octave
-I/opt/apps/shared/user/x86_64/include  -pthread -fopenmp -O3
-Wno-expansion-to-defined     fload.cc -o fload.o   


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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