haosdent created MESOS-4482:
-------------------------------
Summary: WARNING when compile python.native package
Key: MESOS-4482
URL: https://issues.apache.org/jira/browse/MESOS-4482
Project: Mesos
Issue Type: Bug
Reporter: haosdent
{code}
gcc -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -D
NDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -g1 -O0 -Wno-unused-
local-typedefs -g1 -O0 -Wno-unused-local-typedefs -std=c++11
-I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -fPIC
-I/home/haosdent/mesos/build/../include -I/home/ld-sgdev/h
uangh/mesos/build/include -I/home/ld-sgdev/huangh/mesos/build/include/mesos
-I/home/ld-sgdev/huangh/mesos/build/src
-I/home/ld-sgdev/huangh/mesos/build/src/python/native/src/mesos/native
-I/home/ld-sgdev/
huangh/mesos/build/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src
-I/usr/include/python2.7 -c src/mesos/native/proxy_executor.cpp -o
build/temp.linux-x86_64-2.7/src/mesos/native/proxy_executor.o
In file included from /usr/include/limits.h:26:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/limits.h:168,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/syslimits.h:7,
from
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/include/limits.h:34,
from /usr/include/python2.7/Python.h:19,
from src/mesos/native/proxy_executor.cpp:19:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)