Date: | Wed, 12 Aug 2020 13:53:47 -0500 |
---|---|
From: | thaines.astro@xxxxxxxxx |
Subject: | Re: [DynInst_API:] cmake problem building with -pie |
Hi, Stan. Support for big endian systems has been deprecated in Dyninst, and will likely be removed in the next release. When that happens, usage of the TestBigEndian internal CMake module will go away. It looks like you are using an x86_64 platform, so an immediate workaround is to get rid of most everything in cmake/endian.cmake (patch below). Thanks. Â- Tim diff --git a/cmake/endian.cmake b/cmake/endian.cmake index c0be21b..1171cae 100644 --- a/cmake/endian.cmake +++ b/cmake/endian.cmake @@ -1,8 +1 @@ -INCLUDE(TestBigEndian) - -TEST_BIG_ENDIAN(BIGENDIAN) -if(${BIGENDIAN}) - ADD_DEFINITIONS(-DDYNINST_BIG_ENDIAN) -else() - ADD_DEFINITIONS(-DDYNINST_LITTLE_ENDIAN) -endif(${BIGENDIAN}) +ADD_DEFINITIONS(-DDYNINST_LITTLE_ENDIAN) On Tue, Aug 11, 2020 at 9:30 PM Stan Cox <scox@xxxxxxxxxx> wrote: I came across the following while building 10.2.0 on Fedora, which |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] cmake problem building with -pie, Stan Cox |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] 5ceb62: Update CHANGELOG for 10.2 release (#798), noreply |
Previous by Thread: | [DynInst_API:] cmake problem building with -pie, Stan Cox |
Next by Thread: | Re: [DynInst_API:] cmake problem building with -pie, Stan Cox |
Indexes: | [Date] [Thread] |