[DynInst_API:] build failure on powerpc


Date: Fri, 08 Apr 2022 12:22:44 -0500
From: "Mark W. Krentel" <krentel@xxxxxxxx>
Subject: [DynInst_API:] build failure on powerpc
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



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