[Advcomparch] Πρόβλημα στο make του Sniper
Paris Stentoumis
paris.s.1998 at gmail.com
Thu May 21 01:01:06 EEST 2020
Καλησπέρα, έχω ακολουθησει τις οδηγιες τις εκφωνησης ακριβως και οταν φτανω
στο σημείο του make μου βγάζει τα εξής:
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:7:13:
error: operator '>=' has no left operand
#if PIN_REV >= 62732
^~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:
In static member function ‘static unsigned int
InstructionDecoder::getNumExecs(const xed_decoded_inst_t*, int, int)’:
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:42:8:
error: ‘xed_decoded_inst_get_category’ was not declared in this scope
if (xed_decoded_inst_get_category(ins) == XED_CATEGORY_DATAXFER ||
xed_decoded_inst_get_category(ins) == XED_CATEGORY_CMOV
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:42:8:
note: suggested alternative: ‘xed_decoded_inst_t’
if (xed_decoded_inst_get_category(ins) == XED_CATEGORY_DATAXFER ||
xed_decoded_inst_get_category(ins) == XED_CATEGORY_CMOV
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:43:10:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
|| xed_decoded_inst_get_iclass(ins) == XED_ICLASS_PUSH ||
xed_decoded_inst_get_iclass(ins) == XED_ICLASS_POP)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:43:10:
note: suggested alternative: ‘xed_decoded_inst_t’
|| xed_decoded_inst_get_iclass(ins) == XED_ICLASS_PUSH ||
xed_decoded_inst_get_iclass(ins) == XED_ICLASS_POP)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:
In static member function ‘static const std::vector<const MicroOp*>*
InstructionDecoder::decode(IntPtr, const xed_decoded_inst_t*,
Instruction*)’:
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:104:9:
error: ‘xed_decoded_inst_get_attribute’ was not declared in this scope
if (!xed_decoded_inst_get_attribute(ins, XED_ATTRIBUTE_NOP))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:104:9:
note: suggested alternative: ‘xed_inst_get_attribute’
if (!xed_decoded_inst_get_attribute(ins, XED_ATTRIBUTE_NOP))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_inst_get_attribute
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:106:43:
error: ‘xed_decoded_inst_number_of_memory_operands’ was not declared in
this scope
for(uint32_t mem_idx = 0; mem_idx <
xed_decoded_inst_number_of_memory_operands(ins); ++mem_idx)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:109:22:
error: ‘xed_decoded_inst_get_base_reg’ was not declared in this scope
regs.insert(xed_decoded_inst_get_base_reg(ins, mem_idx));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:109:22:
note: suggested alternative: ‘xed_decoded_inst_t’
regs.insert(xed_decoded_inst_get_base_reg(ins, mem_idx));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:110:22:
error: ‘xed_decoded_inst_get_index_reg’ was not declared in this scope
regs.insert(xed_decoded_inst_get_index_reg(ins, mem_idx));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:110:22:
note: suggested alternative: ‘xed_decoded_inst_t’
regs.insert(xed_decoded_inst_get_index_reg(ins, mem_idx));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:112:14:
error: ‘xed_decoded_inst_mem_read’ was not declared in this scope
if (xed_decoded_inst_mem_read(ins, mem_idx)) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:112:14:
note: suggested alternative: ‘xed_decoded_inst_t’
if (xed_decoded_inst_mem_read(ins, mem_idx)) {
^~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:114:39:
error: ‘xed_decoded_inst_get_memory_operand_length’ was not declared in
this scope
memop_load_size.push_back(xed_decoded_inst_get_memory_operand_length(ins,
mem_idx));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:118:14:
error: ‘xed_decoded_inst_mem_written’ was not declared in this scope
if (xed_decoded_inst_mem_written(ins, mem_idx)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:118:14:
note: suggested alternative: ‘xed_decoded_inst_t’
if (xed_decoded_inst_mem_written(ins, mem_idx)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:120:40:
error: ‘xed_decoded_inst_get_memory_operand_length’ was not declared in
this scope
memop_store_size.push_back(xed_decoded_inst_get_memory_operand_length(ins,
mem_idx));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:129:38:
error: ‘xed_decoded_inst_operands_const’ was not declared in this scope
const xed_operand_values_t* ops = xed_decoded_inst_operands_const(ins);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:129:38:
note: suggested alternative: ‘xed_decoded_inst_t’
const xed_operand_values_t* ops = xed_decoded_inst_operands_const(ins);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:130:8:
error: ‘xed_operand_values_get_atomic’ was not declared in this scope
if (xed_operand_values_get_atomic(ops))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:130:8:
note: suggested alternative: ‘xed_operand_values_t’
if (xed_operand_values_get_atomic(ops))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_operand_values_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:133:29:
error: ‘xed_decoded_inst_inst’ was not declared in this scope
const xed_inst_t *inst = xed_decoded_inst_inst(ins);
^~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:133:29:
note: suggested alternative: ‘xed_decoded_inst_t’
const xed_inst_t *inst = xed_decoded_inst_inst(ins);
^~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:146:31:
error: ‘xed_decoded_inst_get_reg’ was not declared in this scope
xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:146:31:
note: suggested alternative: ‘xed_decoded_inst_t’
xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);
^~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:179:31:
error: ‘xed_decoded_inst_get_reg’ was not declared in this scope
xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:179:31:
note: suggested alternative: ‘xed_decoded_inst_t’
xed_reg_enum_t reg = xed_decoded_inst_get_reg(ins, name);
^~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:190:55:
error: ‘xed_decoded_inst_get_operand_width’ was not declared in this scope
operand_size = std::max(operand_size,
(uint16_t)xed_decoded_inst_get_operand_width(ins));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:190:55:
note: suggested alternative: ‘xed_decoded_inst_t’
operand_size = std::max(operand_size,
(uint16_t)xed_decoded_inst_get_operand_width(ins));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:197:11:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
switch(xed_decoded_inst_get_iclass(ins)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:197:11:
note: suggested alternative: ‘xed_decoded_inst_t’
switch(xed_decoded_inst_get_iclass(ins)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:243:18:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
, xed_decoded_inst_get_iclass(ins)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:243:18:
note: suggested alternative: ‘xed_decoded_inst_t’
, xed_decoded_inst_get_iclass(ins)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:255:18:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
, xed_decoded_inst_get_iclass(ins)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:255:18:
note: suggested alternative: ‘xed_decoded_inst_t’
, xed_decoded_inst_get_iclass(ins)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:257:18:
error: ‘xed_decoded_inst_get_category’ was not declared in this scope
, xed_decoded_inst_get_category(ins) ==
XED_CATEGORY_COND_BR /* is conditional branch? */);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:257:18:
note: suggested alternative: ‘xed_decoded_inst_t’
, xed_decoded_inst_get_category(ins) ==
XED_CATEGORY_COND_BR /* is conditional branch? */);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:265:18:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
, xed_decoded_inst_get_iclass(ins)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:265:18:
note: suggested alternative: ‘xed_decoded_inst_t’
, xed_decoded_inst_get_iclass(ins)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:297:14:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
if (xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MFENCE
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:297:14:
note: suggested alternative: ‘xed_decoded_inst_t’
if (xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MFENCE
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:304:15:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
if ((xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MOVHPD)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:304:15:
note: suggested alternative: ‘xed_decoded_inst_t’
if ((xed_decoded_inst_get_iclass(ins) == XED_ICLASS_MOVHPD)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:347:44:
error: ‘xed_decoded_inst_get_iclass’ was not declared in this scope
if
(toupper(xed_iclass_enum_t2str(xed_decoded_inst_get_iclass(ins))[0]) == 'F')
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:347:44:
note: suggested alternative: ‘xed_decoded_inst_t’
if
(toupper(xed_iclass_enum_t2str(xed_decoded_inst_get_iclass(ins))[0]) == 'F')
^~~~~~~~~~~~~~~~~~~~~~~~~~~
xed_decoded_inst_t
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:
In static member function ‘static unsigned int
InstructionDecoder::getNumExecs(const xed_decoded_inst_t*, int, int)’:
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.cc:84:1:
warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/Makefile.common:82:
recipe for target
'/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.o'
failed
make[1]: ***
[/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/common/performance_model/performance_models/micro_op/instruction_decoder.o]
Error 1
Makefile:48: recipe for target
'/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/lib/libcarbon_sim.a'
failed
make: ***
[/home/paris/Desktop/AdvCompArch/3rd_Excercise/sniper-7.3/lib/libcarbon_sim.a]
Error 2
Έχω δοκιμασει με CC=gcc-7 CXX=g++-7 make και σκέτο make και τρέχω Ubuntu
18.04. Προσπαθησα να ξανακατεβασω τα αρχεια αλλα δεν αλλαξε κατι, ούτε
βρήκα κατι σχετικό στο αρχείο.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cslab.ece.ntua.gr/pipermail/advcomparch/attachments/20200521/49bba9d2/attachment-0001.htm>
More information about the Advcomparch
mailing list