[GRASS-dev] [GRASS GIS] #2916: configure bug (?): FORTIFY_SOURCE in CPPFLAGS breaks configure on Arch Linux

GRASS GIS trac at osgeo.org
Mon Feb 15 15:32:59 PST 2016


#2916: configure bug (?): FORTIFY_SOURCE in CPPFLAGS breaks configure on Arch
Linux
------------------------+-------------------------
  Reporter:  msieczka   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.0.4
 Component:  Compiling  |    Version:  7.0.3
Resolution:             |   Keywords:
       CPU:  All        |   Platform:  Linux
------------------------+-------------------------

Comment (by neteler):

 Replying to [ticket:2916 msieczka]:
 > gcc 5.3.0, make 4.1, autoconf 2.69

 You would need to use autoconf-2.13 if you want to regenerate the
 configure script. But I guess you don't do that anyway.

 I tried on my Fedora box:
 {{{
 Copying config.status to config.status.x86_64-pc-linux-gnu

 GRASS is now configured for:  x86_64-pc-linux-gnu

   Source directory:           /home/neteler/software/grass71
   Build directory:            /home/neteler/software/grass71
   Installation directory:     ${prefix}/grass-7.1.svn
   Startup script in directory:${exec_prefix}/bin
   C compiler:                 gcc -O2 -march=native -fdiagnostics-color
   C++ compiler:               c++ -O2 -D_FORTIFY_SOURCE=2
 ...

 gcc --version
 gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2)
 }}}

 I have a link which seems to be missing on your system according to your
 log file:
 {{{
 ls -la /lib/cpp
 lrwxrwxrwx 1 root root 10 Dec  8 18:45 /lib/cpp -> ../bin/cpp*

 # its origin:
 rpm -qf /lib/cpp
 cpp-5.3.1-2.fc23.x86_64
 }}}

 Maybe you simply lost that link?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2916#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list