[Bug 234152] libpmc does not build reproducibly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 19 02:30:23 UTC 2018


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

            Bug ID: 234152
           Summary: libpmc does not build reproducibly
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: emaste at freebsd.org
                CC: gordon at FreeBSD.org, mmacy at FreeBSD.org

For some reason libpmc_events.c is generated with structs in a different order:

On my laptop:

% wc obj/libpmc_events.c    
   68563  386042 2990918 obj/libpmc_events.c
% head -n 5 obj/libpmc_events.c
#include "pmu-events/pmu-events.h"
static struct pmu_event pme_ivybridge[] = {
{
        .name = "cpl_cycles.ring0",
        .event = "umask=0x1,period=2000003,event=0x5c",
% sort obj/libpmc_events.c | sha256
3766feb36fbb923f620e95034a75c3a333072dd06b1516d3d987209413e4c268

On universe11b:

% wc ./lib/libpmc/libpmc_events.c  
   68563  386042 2990918 ./lib/libpmc/libpmc_events.c
% head -n 5 ./lib/libpmc/libpmc_events.c
#include "pmu-events/pmu-events.h"
static struct pmu_event pme_westmereep_dp[] = {
{
        .name = "dtlb_load_misses.any",
        .event = "umask=0x1,period=200000,event=0x8",
% sort ./lib/libpmc/libpmc_events.c | sha256
3766feb36fbb923f620e95034a75c3a333072dd06b1516d3d987209413e4c268

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


More information about the freebsd-bugs mailing list