https://issues.apache.org/bugzilla/show_bug.cgi?id=52564
Bug #: 52564
Summary: Fail to build with security hardening cflags
Product: Tomcat Connectors
Version: 1.2.32
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: mod_jk
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Hi,
Apache Mod_Jk fails to build with security hardening cflags [1]. As part as an
ongoing effort in Debian, we are trying to build as much as possible "network"
package with hardening features enabled [2].
Current failure is :
/usr/share/apr-1.0/build/libtool --silent --mode=compile x86_64-linux-gnu-gcc
-I/usr/include/apache2 -g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Wformat-security -Werror=format-security -DHAVE_CONFIG_H
-DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DLINUX=2
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0
-I/usr/include/openssl -I/usr/include/xmltok -pthread -DHAVE_APR
-I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security
-DHAVE_CONFIG_H -c mod_jk.c -o mod_jk.lo
mod_jk.c: In function 'jk_error_exit':
mod_jk.c:678:5: error: format not a string literal and no format arguments
[-Werror=format-security]
mod_jk.c:684:9: error: format not a string literal and no format arguments
[-Werror=format-security]
cc1: some warnings being treated as errors
[1] "-Wformat -Wformat-security -Werror=format-security"
[2] http://wiki.debian.org/Hardening
Regards,
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]