Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2018 02:30:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234152] libpmc does not build reproducibly
Message-ID:  <bug-234152-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234152

            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@FreeBSD.org
          Reporter: emaste@freebsd.org
                CC: gordon@FreeBSD.org, mmacy@FreeBSD.org

For some reason libpmc_events.c is generated with structs in a different or=
der:

On my laptop:

% wc obj/libpmc_events.c=20=20=20=20
   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[] =3D {
{
        .name =3D "cpl_cycles.ring0",
        .event =3D "umask=3D0x1,period=3D2000003,event=3D0x5c",
% sort obj/libpmc_events.c | sha256
3766feb36fbb923f620e95034a75c3a333072dd06b1516d3d987209413e4c268

On universe11b:

% wc ./lib/libpmc/libpmc_events.c=20=20
   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[] =3D {
{
        .name =3D "dtlb_load_misses.any",
        .event =3D "umask=3D0x1,period=3D200000,event=3D0x8",
% sort ./lib/libpmc/libpmc_events.c | sha256
3766feb36fbb923f620e95034a75c3a333072dd06b1516d3d987209413e4c268

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234152-227>