https://bugs.linaro.org/show_bug.cgi?id=2154

            Bug ID: 2154
           Summary: ODP fails to build with GCC 5.3 (__DATE__ and __TIME__
                    macros, preventing reproducible builds)
           Product: OpenDataPlane - linux- generic reference
           Version: 1.8
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Build system
          Assignee: anders.rox...@linaro.org
          Reporter: ricardo.salv...@linaro.org
                CC: lng-odp@lists.linaro.org
  Target Milestone: ---

After updating my Ubuntu host machine, I tried to build ODP trunk (via deb
package), and got the following error:

odp_impl.c: In function ‘odp_version_impl_str’:
odp_impl.c:41:9: error: macro "__DATE__" might prevent reproducible builds
[-Werror=date-time]
  return ODP_VERSION_IMPL_STR;
         ^
odp_impl.c:33:2: error: macro "__TIME__" might prevent reproducible builds
[-Werror=date-time]
  __DATE__ " " __TIME__ " " \
  ^
odp_impl.c:41:9: note: in expansion of macro ‘ODP_VERSION_IMPL_STR’
  return ODP_VERSION_IMPL_STR;
         ^
cc1: all warnings being treated as errors

Using gcc 5.3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to