Re: [DynInst_API:] build failure on powerpc


Date: Fri, 08 Apr 2022 12:36:05 -0500
From: Tim Haines <thaines.astro@xxxxxxxxx>
Subject: Re: [DynInst_API:] build failure on powerpc
No worries! I just happened to be testing on llnl yesterday to set up my cron jobs and I saw this.

Thanks.
- Tim


On Fri, Apr 8, 2022 at 12:32 PM Mark W. Krentel <krentel@xxxxxxxx> wrote:
Now I feel embarassed. ÂMy cron job tripped the error, so I figured that I
was the first the see the problem.
I should have checked your issues first.

Never mind ââ

âMark



> On Apr 8, 2022, at 12:25 PM, Tim Haines <thaines.astro@xxxxxxxxx> wrote:
>
> Hi, Mark.
>
> It will be fixed by https://github.com/dyninst/dyninst/pull/1252. That will likely get merged today.
>
> Thanks.
> -Tim
>
> On Fri, Apr 8, 2022 at 12:23 PM Mark W. Krentel <krentel@xxxxxxxx> wrote:
> I'm seeing a repeatable build failure for dyninst master on powerpc.
> This only happens on ppc64/le (llnl.cs.rice.edu), not x86, not arm.
> It just started happening today with a few new commits including the
> new _DEFAULT_SOURCE lines.
>
> It looks like something has triggered some arch-specific changes that
> breaks the build. This is from a spack build of dyninst@master
> from commit d1a93890eba45b5.
>
> Let me rule out one thing. This is on llnl.cs.rice.edu, has anyone
> done anything on llnl involving containers or whatever that would leak
> out and affect non-container builds? I wouldn't think so, I just want
> to check.
>
>
>Â Â Â 559Â Â [ 40%] Building C object CMakeFiles/dyninstAPI_RT.dir/src/RTheap-linux.c.o
>Â Â Â 560Â Â [ 44%] Building C object CMakeFiles/dyninstAPI_RT_static.dir/src/RTheap.c.o
>Â Â>> 561Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTlinux.c:65:8: error: unknown type name 'pthread_t'
>Â Â Â 562Â Â Âextern pthread_t pthread_self(void);
>Â Â Â 563Â Â Â Â Â Â ^~~~~~~~~
>Â Â Â 564Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c: In function 'DYNINSTasyncConnect':
>Â Â>> 565Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c:139:5: error: 'P_tmpdir' undeclared (first use in
>Â Â Â Â Â Â Âthis function); did you mean 'rmdir'?
>Â Â Â 566Â Â Â Â ÂP_tmpdir, passwd_info->pw_name, pid, mutatee_pid);
>Â Â Â 567Â Â Â Â Â^~~~~~~~
>Â Â Â 568Â Â Â Â Ârmdir
>Â Â Â 569Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c:139:5: note: each undeclared identifier is reporte
>Â Â Â Â Â Â Âd only once for each function it appears in
>Â Â Â 570Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c: In function 'DYNINSTasyncConnect':
>Â Â>> 571Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c:139:5: error: 'P_tmpdir' undeclared (first use in
>Â Â Â Â Â Â Âthis function); did you mean 'rmdir'?
>Â Â Â 572Â Â Â Â ÂP_tmpdir, passwd_info->pw_name, pid, mutatee_pid);
>Â Â Â 573Â Â Â Â Â^~~~~~~~
>Â Â Â 574Â Â Â Â Ârmdir
>
>
>Â Â Â 589Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c: At top level:
>Â Â>> 590Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c:267:41: error: unknown type name 'siginfo_t'; did
>Â Â Â Â Â Â Âyou mean 'ino_t'?
>Â Â Â 591Â Â Âextern void dyninstTrapHandler(int sig, siginfo_t *info, void *context);
>Â Â Â 592Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â^~~~~~~~~
>Â Â Â 593Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âino_t
>Â Â Â 594Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c: In function 'DYNINSTinitializeTrapHandler':
>Â Â>> 595Â Â /home/krentel/dyninst/build-stage/spack-stage-dyninst-master-vevmtscb5wqgswtekfqkpxfii4y2hz
>Â Â Â Â Â Â Âj2/spack-src/dyninstAPI_RT/src/RTposix.c:272:21: error: storage size of 'new_handler' isn't
>Â Â Â Â Â Â Â known
>Â Â Â 596Â Â Â Â struct sigaction new_handler;
>Â Â Â 597Â Â Â Â Â Â Â Â Â Â Â Â Â^~~~~~~~~~~
>
>
> --Mark
>
>
>
> _______________________________________________
> Dyninst-api mailing list
> Dyninst-api@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[← Prev in Thread] Current Thread [Next in Thread→]