DobieStation icon indicating copy to clipboard operation
DobieStation copied to clipboard

errors while build with make

Open seisdr opened this issue 4 years ago • 1 comments

make -j 5

output

[  1%] Automatic moc, uic and rcc for target DobieQt
[  6%] Built target libdeflate
[  6%] Built target DobieQt_automoc
[  7%] Building CXX object src/core/CMakeFiles/Core.dir/ee/ee_jittrans.cpp.o
[  8%] Building CXX object src/core/CMakeFiles/Core.dir/ee/ipu/mac_addr_inc.cpp.o
[  9%] Building CXX object src/core/CMakeFiles/Core.dir/ee/ipu/mac_i_pic.cpp.o
[ 10%] Building CXX object src/core/CMakeFiles/Core.dir/ee/ipu/mac_b_pic.cpp.o
[ 11%] Building CXX object src/core/CMakeFiles/Core.dir/ee/ipu/mac_p_pic.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/Core.dir/ee/ipu/motioncode.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/Core.dir/ee/ipu/vlc_table.cpp.o
[ 14%] Building CXX object src/core/CMakeFiles/Core.dir/iop/cdvd/bincuereader.cpp.o
[ 15%] Building CXX object src/core/CMakeFiles/Core.dir/iop/cdvd/cdvd.cpp.o
/root/DobieStation/src/core/iop/cdvd/bincuereader.cpp: In member function 'virtual size_t BinCueReader::get_size()':
/root/DobieStation/src/core/iop/cdvd/bincuereader.cpp:50:27: warning: conversion to 'size_t {aka unsigned int}' from 'std::streamoff {aka long long int}' may alter its value [-Wconversion]
     return bin_file.tellg();
                           ^
[ 16%] Building CXX object src/core/CMakeFiles/Core.dir/iop/cdvd/cso_reader.cpp.o
[ 17%] Building CXX object src/core/CMakeFiles/Core.dir/iop/cdvd/iso_reader.cpp.o
In file included from /root/DobieStation/src/core/ee/ee_jittrans.hpp:6:0,
                 from /root/DobieStation/src/core/ee/ee_jittrans.cpp:4:
/root/DobieStation/src/core/ee/emotioninterpreter.hpp: In member function 'void EE_InstrInfo::add_dependency(DependencyType, RegType, uint8_t)':
/root/DobieStation/src/core/ee/emotioninterpreter.hpp:182:66: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
                 read_dependencies.push_back((int)rtype << 8 | reg);
                                                                  ^
/root/DobieStation/src/core/ee/emotioninterpreter.hpp:185:67: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
                 write_dependencies.push_back((int)rtype << 8 | reg);
                                                                   ^
/root/DobieStation/src/core/ee/emotioninterpreter.hpp: In member function 'void EE_InstrInfo::get_dependency(EE_DependencyInfo&, size_t, DependencyType) const':
/root/DobieStation/src/core/ee/emotioninterpreter.hpp:198:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
                 dest.reg = read_dependencies[idx] & 0xFF;
                          ^
/root/DobieStation/src/core/ee/emotioninterpreter.hpp:202:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
                 dest.reg = write_dependencies[idx] & 0xFF;
                          ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'IR::Block EE_JitTranslator::translate(EmotionEngine&)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:41:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (instr_info.back().cycles_after != this->cycle_count)
                                        ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::get_block_operations(std::vector<EE_InstrInfo>&, EmotionEngine&, uint32_t)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:134:32: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
         uint8_t op = opcode >> 26;
                                ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::issue_cycle_analysis(std::vector<EE_InstrInfo>&)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:219:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < instr_info.size(); ++i)
                       ^
In file included from /usr/include/c++/5/bits/hashtable.h:35:0,
                 from /usr/include/c++/5/unordered_map:47,
                 from /root/DobieStation/src/core/ee/ee_jittrans.cpp:3:
/usr/include/c++/5/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> >':
/usr/include/c++/5/type_traits:137:12:   required from 'struct std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > >'
/usr/include/c++/5/type_traits:148:38:   required from 'struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
/usr/include/c++/5/bits/unordered_map.h:100:66:   required from 'class std::unordered_map<EE_InstrInfo::Pipeline, int>'
/root/DobieStation/src/core/ee/ee_jittrans.cpp:249:66:   required from here
/usr/include/c++/5/bits/hashtable_policy.h:85:34: error: no match for call to '(const std::hash<EE_InstrInfo::Pipeline>) (const EE_InstrInfo::Pipeline&)'
  noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
                                  ^
In file included from /usr/include/c++/5/bits/move.h:57:0,
                 from /usr/include/c++/5/bits/stl_pair.h:59,
                 from /usr/include/c++/5/utility:70,
                 from /usr/include/c++/5/algorithm:60,
                 from /root/DobieStation/src/core/ee/ee_jittrans.cpp:1:
/usr/include/c++/5/type_traits: In instantiation of 'struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >':
/usr/include/c++/5/bits/unordered_map.h:100:66:   required from 'class std::unordered_map<EE_InstrInfo::Pipeline, int>'
/root/DobieStation/src/core/ee/ee_jittrans.cpp:249:66:   required from here
/usr/include/c++/5/type_traits:148:38: error: 'value' is not a member of 'std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > >'
     : public integral_constant<bool, !_Pp::value>
                                      ^
In file included from /usr/include/c++/5/unordered_map:48:0,
                 from /root/DobieStation/src/core/ee/ee_jittrans.cpp:3:
/usr/include/c++/5/bits/unordered_map.h: In instantiation of 'class std::unordered_map<EE_InstrInfo::Pipeline, int>':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:249:66:   required from here
/usr/include/c++/5/bits/unordered_map.h:100:66: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc>  _Hashtable;
                                                                  ^
/usr/include/c++/5/bits/unordered_map.h:107:45: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::key_type key_type;
                                             ^
/usr/include/c++/5/bits/unordered_map.h:108:47: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::value_type value_type;
                                               ^
/usr/include/c++/5/bits/unordered_map.h:109:48: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::mapped_type mapped_type;
                                                ^
/usr/include/c++/5/bits/unordered_map.h:110:43: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::hasher hasher;
                                           ^
/usr/include/c++/5/bits/unordered_map.h:111:46: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::key_equal key_equal;
                                              ^
/usr/include/c++/5/bits/unordered_map.h:112:51: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::allocator_type allocator_type;
                                                   ^
/usr/include/c++/5/bits/unordered_map.h:117:45: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::pointer  pointer;
                                             ^
/usr/include/c++/5/bits/unordered_map.h:118:50: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::const_pointer const_pointer;
                                                  ^
/usr/include/c++/5/bits/unordered_map.h:119:47: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::reference  reference;
                                               ^
/usr/include/c++/5/bits/unordered_map.h:120:52: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::const_reference const_reference;
                                                    ^
/usr/include/c++/5/bits/unordered_map.h:121:46: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::iterator  iterator;
                                              ^
/usr/include/c++/5/bits/unordered_map.h:122:51: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::const_iterator const_iterator;
                                                   ^
/usr/include/c++/5/bits/unordered_map.h:123:51: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::local_iterator local_iterator;
                                                   ^
/usr/include/c++/5/bits/unordered_map.h:124:57: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::const_local_iterator const_local_iterator;
                                                         ^
/usr/include/c++/5/bits/unordered_map.h:125:47: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::size_type  size_type;
                                               ^
/usr/include/c++/5/bits/unordered_map.h:126:52: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       typedef typename _Hashtable::difference_type difference_type;
                                                    ^
/usr/include/c++/5/bits/unordered_map.h:280:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       operator=(initializer_list<value_type> __l)
       ^
/usr/include/c++/5/bits/unordered_map.h:379:2: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
  emplace(_Args&&... __args)
  ^
/usr/include/c++/5/bits/unordered_map.h:432:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       insert(const value_type& __x)
       ^
/usr/include/c++/5/bits/unordered_map.h:439:2: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
  insert(_Pair&& __x)
  ^
/usr/include/c++/5/bits/unordered_map.h:499:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       insert(initializer_list<value_type> __l)
       ^
/usr/include/c++/5/bits/unordered_map.h:645:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       equal_range(const key_type& __x)
       ^
/usr/include/c++/5/bits/unordered_map.h:649:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<std::hash<EE_InstrInfo::Pipeline> >, std::__detail::__is_noexcept_hash<EE_InstrInfo::Pipeline, std::hash<EE_InstrInfo::Pipeline> > > >'
       equal_range(const key_type& __x) const
       ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'bool EE_JitTranslator::dual_issue_analysis(const EE_InstrInfo&, const EE_InstrInfo&)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:268:5: error: too many initializers for 'const std::unordered_map<EE_InstrInfo::Pipeline, int>'
     };
     ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:270:23: error: 'const class std::unordered_map<EE_InstrInfo::Pipeline, int>' has no member named 'at'
     int pipe1 = pipes.at(instr1.pipeline);
                       ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:271:23: error: 'const class std::unordered_map<EE_InstrInfo::Pipeline, int>' has no member named 'at'
     int pipe2 = pipes.at(instr2.pipeline);
                       ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:286:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int j = 0; j < instr1.write_dependencies.size(); ++j)
                       ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:296:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int k = 0; k < instr2.read_dependencies.size(); ++k)
                           ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::load_store_analysis(std::vector<EE_InstrInfo>&)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:379:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < instr_info.size(); ++i)
                       ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:394:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (i + 1 < instr_info.size())
                   ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:404:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (i + 2 < instr_info.size() && instr_info[i + 1].cycles_before == instr_info[i + 2].cycles_before)
                           ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::data_dependency_analysis(std::vector<EE_InstrInfo>&)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:422:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < instr_info.size(); ++i)
                       ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:435:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j = 0; j < instr_info[i].read_dependencies.size(); ++j)
                           ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:445:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j = 0; j < instr_info[i].write_dependencies.size(); ++j)
                           ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:469:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (i + 1 < instr_info.size())
                   ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:479:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (i + 2 < instr_info.size() && instr_info[i + 1].cycles_before == instr_info[i + 2].cycles_before)
                           ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::translate_op(uint32_t, uint32_t, EE_InstrInfo&, std::vector<IR::Instruction>&)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:492:28: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     uint8_t op = opcode >> 26;
                            ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:641:42: warning: conversion to 'int16_t {aka short int}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
             int16_t immediate = opcode & 0xFFFF;
                                          ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:872:42: warning: conversion to 'int16_t {aka short int}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
             int16_t immediate = opcode & 0xFFFF;
                                          ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:1175:53: warning: conversion to 'uint16_t {aka short unsigned int}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
             instr.set_cycle_count(info.cycles_before);
                                                     ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp:1222:53: warning: conversion to 'uint16_t {aka short unsigned int}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
             instr.set_cycle_count(info.cycles_before);
                                                     ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::translate_op_cop2(uint32_t, uint32_t, EE_InstrInfo&, std::vector<IR::Instruction>&)':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:3832:45: warning: conversion to 'uint16_t {aka short unsigned int}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     instr.set_cycle_count(info.cycles_before);
                                             ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::check_interlock(uint32_t, uint32_t, EE_InstrInfo&, std::vector<IR::Instruction>&, IR::Opcode) const':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:4460:49: warning: conversion to 'uint16_t {aka short unsigned int}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
         instr.set_cycle_count(info.cycles_before);
                                                 ^
/root/DobieStation/src/core/ee/ee_jittrans.cpp: In member function 'void EE_JitTranslator::wait_vu0(uint32_t, uint32_t, EE_InstrInfo&, std::vector<IR::Instruction>&) const':
/root/DobieStation/src/core/ee/ee_jittrans.cpp:4476:45: warning: conversion to 'uint16_t {aka short unsigned int}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     instr.set_cycle_count(info.cycles_before);
                                             ^
[ 18%] Building CXX object src/core/CMakeFiles/Core.dir/iop/firewire.cpp.o
src/core/CMakeFiles/Core.dir/build.make:638: recipe for target 'src/core/CMakeFiles/Core.dir/ee/ee_jittrans.cpp.o' failed
make[2]: *** [src/core/CMakeFiles/Core.dir/ee/ee_jittrans.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp: In member function 'bool CSO_Reader::read_block_internal(uint32_t)':
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp:125:40: warning: conversion to 'std::streamsize {aka int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
         m_file.read((char*)m_frame, len);
                                        ^
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp:136:42: warning: conversion to 'std::streamsize {aka int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
         m_file.read((char*)m_readbuf, len);
                                          ^
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp:144:104: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
         auto res = libdeflate_deflate_decompress(m_inflate, m_readbuf, len, m_frame, m_framesize, &read);
                                                                                                        ^
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp: In member function 'virtual size_t CSO_Reader::read(uint8_t*, size_t)':
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp:178:20: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
             return total_read;
                    ^
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp:187:49: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
         memcpy(dst, m_frame + local_ofs, readlen);
                                                 ^
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp:193:12: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     return total_read;
            ^
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp: In member function 'virtual bool CSO_Reader::open(std::__cxx11::string)':
/root/DobieStation/src/core/iop/cdvd/cso_reader.cpp:293:12: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     m_size = header.raw_len;
            ^
/root/DobieStation/src/core/iop/cdvd/iso_reader.cpp: In member function 'virtual size_t ISO_Reader::get_size()':
/root/DobieStation/src/core/iop/cdvd/iso_reader.cpp:41:23: warning: conversion to 'size_t {aka unsigned int}' from 'std::streamoff {aka long long int}' may alter its value [-Wconversion]
     return file.tellg();
                       ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'uint32_t CDVD_Drive::get_block_timing(bool)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:29:97: warning: conversion to 'uint32_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     return (IOP_CLOCK * block_size) / (speed * (mode_DVD ? PSX_DVD_READSPEED : PSX_CD_READSPEED));
                                                                                                 ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'int CDVD_Drive::get_block_size()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:164:12: warning: conversion to 'int' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     return block_size;
            ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'uint32_t CDVD_Drive::read_to_RAM(uint8_t*, uint32_t)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:174:40: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     memcpy(RAM, read_buffer, block_size);
                                        ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:176:21: warning: conversion to 'int' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     read_bytes_left -= block_size;
                     ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:193:12: warning: conversion to 'uint32_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     return block_size;
            ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'bool CDVD_Drive::load_disc(const char*, CDVD_CONTAINER)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:285:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t {aka unsigned int}' [-Wformat=]
     printf("[CDVD] Disc size: %lu bytes\n", file_size);
                                                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:300:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     uint32_t path_table_sector = *(uint32_t*)&pvd_sector[140];
                                                             ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:301:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     uint64_t volume_size = *(uint32_t*)&pvd_sector[80];
                                                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:303:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     LBA = *(uint16_t*)&pvd_sector[128];
                                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:305:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     root_location = *(uint32_t*)&pvd_sector[156 + 2];
                                                    ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:306:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     root_len = *(uint32_t*)&pvd_sector[156 + 10];
                                                ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:307:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     printf("[CDVD] Root dir len: %d\n", *(uint16_t*)&pvd_sector[156]);
                                                                    ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:308:62: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
     printf("[CDVD] Extent loc: $%08lX\n", root_location * LBA);
                                                              ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:309:51: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
     printf("[CDVD] Extent len: $%08lX\n", root_len);
                                                   ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'uint8_t* CDVD_Drive::read_file(std::__cxx11::string, uint32_t&)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:377:49: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     container->seek(root_location, std::ios::beg);
                                                 ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:378:42: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     container->read(root_extent, root_len);
                                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:403:66: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
                 printf("[CDVD] Location: $%08lX\n", file_location);
                                                                  ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:407:61: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
                 container->seek(file_location, std::ios::beg);
                                                             ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::send_N_command(uint8_t)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:504:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             sector_pos = *(uint32_t*)&N_command_params[0];
                                                         ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::send_S_command(uint8_t)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:569:14: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
     S_status &= ~0x40;
              ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:585:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
             S_outdata[1] = itob(rtc.second);
                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:586:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
             S_outdata[2] = itob(rtc.minute);
                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:587:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
             S_outdata[3] = itob(rtc.hour);
                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:589:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
             S_outdata[5] = itob(rtc.day);
                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:590:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
             S_outdata[6] = itob(rtc.month);
                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:591:26: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
             S_outdata[7] = itob(rtc.year);
                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::prepare_S_outdata(int)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:795:18: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
     S_out_params = amount;
                  ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:796:14: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
     S_status &= ~0x40;
              ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::start_seek()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:861:43: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     container->seek(seek_to, std::ios::beg);
                                           ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::N_command_read()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:868:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     sector_pos = *(uint32_t*)&N_command_params[0];
                                                 ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:869:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     sectors_left = *(uint32_t*)&N_command_params[4];
                                                   ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:882:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
     printf("[CDVD] Read; Seek pos: %lu, Sectors: %lu\n", sector_pos, sectors_left);
                                                                                  ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:882:82: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::N_command_dvdread()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:889:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     sector_pos = *(uint32_t*)&N_command_params[0];
                                                 ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:890:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     sectors_left = *(uint32_t*)&N_command_params[4];
                                                   ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:891:85: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
     printf("[CDVD] ReadDVD; Seek pos: %lu, Sectors: %lu\n", sector_pos, sectors_left);
                                                                                     ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:891:85: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:892:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
     printf("Last read: %lu cycles ago\n", cycle_count - last_read);
                                                                  ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::N_command_gettoc()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:940:50: warning: conversion to 'int32_t {aka int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
         int32_t start = layer2_start + 0x30000 - 1;
                                                  ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:941:25: warning: conversion to 'uint8_t {aka unsigned char}' from 'int32_t {aka int}' may alter its value [-Wconversion]
         read_buffer[20] = start >> 24;
                         ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:942:25: warning: conversion to 'uint8_t {aka unsigned char}' from 'int32_t {aka int}' may alter its value [-Wconversion]
         read_buffer[21] = (start >> 16) & 0xff;
                         ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:943:25: warning: conversion to 'uint8_t {aka unsigned char}' from 'int32_t {aka int}' may alter its value [-Wconversion]
         read_buffer[22] = (start >> 8) & 0xff;
                         ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:944:25: warning: conversion to 'uint8_t {aka unsigned char}' from 'int32_t {aka int}' may alter its value [-Wconversion]
         read_buffer[23] = start & 0xFF;
                         ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::N_command_readkey(uint32_t)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:970:14: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     cdkey[1] = (key_0_3&0x0000FF00)>> 8;
              ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:971:14: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     cdkey[2] = (key_0_3&0x00FF0000)>>16;
              ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:972:14: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     cdkey[3] = (key_0_3&0xFF000000)>>24;
              ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:973:14: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     cdkey[4] = key_4;
              ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:978:23: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
             cdkey[14] = key_14;
                       ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::decrypt_mechacon_sector()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1006:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < block_size; ++i)
                           ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1009:42: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
             if (do_shift) read_buffer[i] = (read_buffer[i] >> shift_amount) | (read_buffer[i] << (8 - shift_amount));
                                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::read_CD_sector()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1016:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
     printf("[CDVD] Read CD sector - Sector: %lu Size: %lu\n", current_sector, block_size);
                                                                                         ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1016:89: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1023:52: warning: conversion to 'size_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
             container->read(read_buffer, block_size);
                                                    ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1029:21: warning: conversion to 'int' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     read_bytes_left = block_size;
                     ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::fill_CDROM_sector()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1040:38: warning: conversion to 'uint32_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     uint32_t minutes = read_sector / 4500;
                                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1042:38: warning: conversion to 'uint32_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     uint32_t seconds = read_sector / 75;
                                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1043:53: warning: conversion to 'uint32_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
     uint32_t fragments = read_sector - (seconds * 75);
                                                     ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1050:22: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     temp_buffer[0xC] = itob(minutes);
                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1051:22: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     temp_buffer[0xD] = itob(seconds);
                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1052:22: warning: conversion to 'uint8_t {aka unsigned char}' from 'uint32_t {aka unsigned int}' may alter its value [-Wconversion]
     temp_buffer[0xE] = itob(fragments);
                      ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::read_DVD_sector()':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1061:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
     printf("[CDVD] Read DVD sector - Sector: %lu Size: %lu\n", current_sector, block_size);
                                                                                          ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1061:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t {aka long long unsigned int}' [-Wformat=]
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1072:13: warning: conversion to 'uint32_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
         lsn = current_sector - layer2_start + 0x30000;
             ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1077:13: warning: conversion to 'uint32_t {aka unsigned int}' from 'uint64_t {aka long long unsigned int}' may alter its value [-Wconversion]
         lsn = current_sector + 0x30000;
             ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1079:20: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
     read_buffer[0] = 0x20 | layer_num;
                    ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::S_command_sub(uint8_t)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1131:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             *(uint32_t*)&S_outdata[0] = 0x00020603;
                                     ^
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp: In member function 'void CDVD_Drive::write_ISTAT(uint8_t)':
/root/DobieStation/src/core/iop/cdvd/cdvd.cpp:1141:11: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion]
     ISTAT &= ~value;
           ^
CMakeFiles/Makefile2:140: recipe for target 'src/core/CMakeFiles/Core.dir/all' failed
make[1]: *** [src/core/CMakeFiles/Core.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

seisdr avatar Jul 28 '20 14:07 seisdr

same with qmake

seisdr avatar Jul 29 '20 17:07 seisdr