Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-951

--enable-hardening doesn't do anything

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.1
    • Affects Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      ./configure --enable-hardening
      
      checking whether C compiler accepts -fno-strict-overflow... no
      checking whether C compiler accepts -D_FORTIFY_SOURCE=2... no
      checking whether C compiler accepts -fstack-protector-all... no
      checking whether C compiler accepts -fPIE... no
      checking whether the linker accepts -Wl,-z,relro... no
      
      configure:17327: checking whether C compiler accepts -fno-strict-overflow            
      configure:17346: ./scripts/wrap-compiler-for-flag-check gcc -c  -Werror  -fno-strict-overflow  conftest.c >&5
      ./configure: line 1642: ./scripts/wrap-compiler-for-flag-check: No such file or directory
      

      When its working it should say:

      checking whether C compiler accepts -fno-strict-overflow... yes
      checking whether C++ compiler accepts -fno-strict-overflow... yes
      checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
      checking whether C++ compiler accepts -D_FORTIFY_SOURCE=2... yes
      checking whether C compiler accepts -fstack-protector-all... yes
      checking whether C++ compiler accepts -fstack-protector-all... yes
      checking whether the linker accepts -fstack-protector-all... yes
      checking whether C compiler accepts -Wstack-protector... yes
      checking whether C++ compiler accepts -Wstack-protector... yes
      checking whether C compiler accepts --param ssp-buffer-size=1... yes
      checking whether C++ compiler accepts --param ssp-buffer-size=1... yes
      ...
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: