Project

General

Profile

Actions

Optimization #6065

open

warning _FORTIFY_SOURCE requires compiling with optimization

Added by Andre ten Bohmer about 1 year ago. Updated 7 months ago.

Status:
New
Priority:
Low
Assignee:
Target version:
Effort:
Difficulty:
Label:
Beginner

Description

A non blocking issue seen the compile proces completes, but just to let you know.

/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O)

Redhat 8.7 , kernel 4.18.0-425.13.1.el8_7.x86_64
7.0.0-rc2-dev
export PATH=/home/user/.cargo/bin:$PATH
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
export CFLAGS="-ggdb"
$ ./configure --enable-gccprotect --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --enable-geoip --with-libhs-includes=/usr/local/include/hs/ --with-libhs-libraries=/usr/local/lib64/ --enable-rust --enable-http2-decompression --enable-dpdk

Actions #1

Updated by Philippe Antoine 7 months ago

  • Label Beginner added

Apparently, configure.ac should add optimization flag when it adds _FORTIFY_SOURCE

Actions

Also available in: Atom PDF