[Bug 215494] vchiq uses non-reproducible __DATE__ and __TIME__

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 22 18:13:46 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215494

            Bug ID: 215494
           Summary: vchiq uses non-reproducible __DATE__ and __TIME__
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: emaste at freebsd.org

VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_time,    __TIME__ );
VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_date,    __DATE__ );
...
const char *vchiq_get_build_date( void )
{
   return vchiq_build_date;
}

const char *vchiq_get_build_time( void )
{
   return vchiq_build_time;
}

The __DATE__ and __TIME__ macros prevent this source file from building
reproducibly. I wasn't able to find where vchiq_get_build_date or _time are
used - can we remove them?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list