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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to