Re: [DynInst_API:] build failure in IA_power.C on powerpc


Date: Thu, 22 Dec 2016 16:43:37 +0000
From: Bill Williams <bill@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] build failure in IA_power.C on powerpc
Mark--

PR#306 should fix this; I removed default arguments and didn't catch all the uses of them. My fault.

--bw

________________________________________
From: Dyninst-api <dyninst-api-bounces@xxxxxxxxxxx> on behalf of Mark W. Krentel <krentel@xxxxxxxx>
Sent: Wednesday, December 21, 2016 6:20 PM
To: dyninst-api@xxxxxxxxxxx
Subject: [DynInst_API:] build failure in IA_power.C on powerpc

I'm seeing a build failure in IA_power.C in parseAPI.  This happens on
both big-endian power7 and little-endian power8.


/home/krentel/release/BUILD/symtabAPI/dyninst/parseAPI/src/IA_power.C:
In member function 'virtual bool
Dyninst::InsnAdapter::IA_IAPI::sliceReturn(Dyninst::ParseAPI::Block*,
Dyninst::Address, Dyninst::ParseAPI::Function*) const':
/home/krentel/release/BUILD/symtabAPI/dyninst/parseAPI/src/IA_power.C:168:37:
error: no matching function for call to
'Dyninst::AssignmentConverter::AssignmentConverter(bool)'
    AssignmentConverter converter(true);
                                      ^
/home/krentel/release/BUILD/symtabAPI/dyninst/parseAPI/src/IA_power.C:168:37:
note: candidates are:
In file included from
/home/krentel/release/BUILD/symtabAPI/dyninst/dataflowAPI/h/slicing.h:50:0,
                  from
/home/krentel/release/BUILD/symtabAPI/dyninst/parseAPI/src/IA_power.h:35,
                  from
/home/krentel/release/BUILD/symtabAPI/dyninst/parseAPI/src/IA_power.C:33:
/home/krentel/release/BUILD/symtabAPI/dyninst/dataflowAPI/h/AbslocInterface.h:125:18:
note: Dyninst::AssignmentConverter::AssignmentConverter(bool, bool)
   DATAFLOW_EXPORT AssignmentConverter(bool cache, bool stack) :
cacheEnabled_(cache), aConverter(false, stack) {};
                   ^
/home/krentel/release/BUILD/symtabAPI/dyninst/dataflowAPI/h/AbslocInterface.h:125:18:
note:   candidate expects 2 arguments, 1 provided
/home/krentel/release/BUILD/symtabAPI/dyninst/dataflowAPI/h/AbslocInterface.h:123:7:
note: Dyninst::AssignmentConverter::AssignmentConverter(const
Dyninst::AssignmentConverter&)
  class AssignmentConverter {
        ^
/home/krentel/release/BUILD/symtabAPI/dyninst/dataflowAPI/h/AbslocInterface.h:123:7:
note:   no known conversion for argument 1 from 'bool' to 'const
Dyninst::AssignmentConverter&'
/home/krentel/release/BUILD/symtabAPI/dyninst/dataflowAPI/h/AbslocInterface.h:123:7:
note:
Dyninst::AssignmentConverter::AssignmentConverter(Dyninst::AssignmentConverter&&)
/home/krentel/release/BUILD/symtabAPI/dyninst/dataflowAPI/h/AbslocInterface.h:123:7:
note:   no known conversion for argument 1 from 'bool' to
'Dyninst::AssignmentConverter&&'


This from dyninst master as of this afternoon.

commit 9e00b20624a06c9d50de6ae2f77b342c4ff6c82b
Merge: 5f323c2 2d67e12
Author: Bill Williams <wwilliam47@xxxxxxxxx>
Date:   Wed Dec 21 15:54:25 2016 -0600

     Merge pull request #302 from dyninst/wrwilliams/pcontrol_fix
     Bug fix for PR#294


This is with gcc 4.8 and 4.9, if that matters.


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