Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4482

WARNING when compile python.native package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reviewable
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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)
          ^
      

      Attachments

        Activity

          People

            haosdent@gmail.com haosdent
            haosdent@gmail.com haosdent
            Till Toenshoff Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: