Re: [DynInst_API:] build failure on powerpc


Date: Fri, 08 Apr 2022 12:26:58 -0500
From: Tim Haines <thaines.astro@xxxxxxxxx>
Subject: Re: [DynInst_API:] build failure on powerpc
Oops. I meant to reply to the list.

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→]