You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems to be happy with apple-gcc42 but fails with C++ related errors on gcc5 (haven't tried other 4.x versions above 4.2).
Is it possible to pin the package to be built with apple-gcc42?
g++-5 -Os -w -pipe -mcpu=970 -faltivec -mmacosx-version-min=10.4 -Isrc/abstraction -Isrc/ld -I/tigerbrew/opt/openssl/include -I/tigerbrew/opt/libunwind-headers/include -I/tigerbrew/opt/dyld-headers/include -I/tigerbrew/opt/cctools-headers/include -isystem/tigerbrew/include -F/tigerbrew/Frameworks -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp
src/other/ObjectDump.cpp: In function 'ObjectFile::Reader* createReader(const char*, const ObjectFile::ReaderOptions&)':
src/other/ObjectDump.cpp:416:14: error: expected type-specifier
return new mach_o::relocatable::Reader<x86>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:416:14: error: expected ';'
src/other/ObjectDump.cpp:416:77: error: cannot call constructor 'mach_o::relocatable::Reader<x86>::Reader' directly [-fpermissive]
return new mach_o::relocatable::Reader<x86>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:416:77: note: for a function-style cast, remove the redundant '::Reader'
src/other/ObjectDump.cpp:417:2: error: 'else' without a previous 'if'
else if ( mach_o::relocatable::Reader<ppc>::validFile(p) )
^
src/other/ObjectDump.cpp:418:14: error: expected type-specifier
return new mach_o::relocatable::Reader<ppc>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:418:14: error: expected ';'
src/other/ObjectDump.cpp:418:77: error: cannot call constructor 'mach_o::relocatable::Reader<ppc>::Reader' directly [-fpermissive]
return new mach_o::relocatable::Reader<ppc>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:418:77: note: for a function-style cast, remove the redundant '::Reader'
src/other/ObjectDump.cpp:419:2: error: 'else' without a previous 'if'
else if ( mach_o::relocatable::Reader<ppc64>::validFile(p) )
^
src/other/ObjectDump.cpp:420:14: error: expected type-specifier
return new mach_o::relocatable::Reader<ppc64>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:420:14: error: expected ';'
src/other/ObjectDump.cpp:420:79: error: cannot call constructor 'mach_o::relocatable::Reader<ppc64>::Reader' directly [-fpermissive]
return new mach_o::relocatable::Reader<ppc64>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:420:79: note: for a function-style cast, remove the redundant '::Reader'
src/other/ObjectDump.cpp:421:2: error: 'else' without a previous 'if'
else if ( mach_o::relocatable::Reader<x86_64>::validFile(p) )
^
src/other/ObjectDump.cpp:422:14: error: expected type-specifier
return new mach_o::relocatable::Reader<x86_64>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:422:14: error: expected ';'
src/other/ObjectDump.cpp:422:80: error: cannot call constructor 'mach_o::relocatable::Reader<x86_64>::Reader' directly [-fpermissive]
return new mach_o::relocatable::Reader<x86_64>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:422:80: note: for a function-style cast, remove the redundant '::Reader'
src/other/ObjectDump.cpp:423:2: error: 'else' without a previous 'if'
else if ( mach_o::relocatable::Reader<arm>::validFile(p) )
^
src/other/ObjectDump.cpp:424:14: error: expected type-specifier
return new mach_o::relocatable::Reader<arm>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:424:14: error: expected ';'
src/other/ObjectDump.cpp:424:77: error: cannot call constructor 'mach_o::relocatable::Reader<arm>::Reader' directly [-fpermissive]
return new mach_o::relocatable::Reader<arm>::Reader(p, path, 0, options, 0);
^
src/other/ObjectDump.cpp:424:77: note: for a function-style cast, remove the redundant '::Reader'
In file included from src/other/ObjectDump.cpp:31:0:
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds; uint32_t = unsigned int]':
src/ld/MachOReaderRelocatable.hpp:3126:139: required from here
src/ld/MachOReaderRelocatable.hpp:184:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:184:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:3736:96: required from here
src/ld/MachOReaderRelocatable.hpp:156:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:156:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:4812:88: required from here
src/ld/MachOReaderRelocatable.hpp:156:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:156:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:4928:50: required from here
src/ld/MachOReaderRelocatable.hpp:173:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:173:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:5380:37: required from here
src/ld/MachOReaderRelocatable.hpp:156:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:156:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:5504:62: required from here
src/ld/MachOReaderRelocatable.hpp:173:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:173:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:4511:7: required from 'bool mach_o::relocatable::Reader<A>::addRelocReference_powerpc(const macho_section<typename A::P>*, const macho_relocation_info<typename A::P>*) [with A = ppc64; typename A::P = Pointer64<BigEndian>; typename A::P = Pointer64<BigEndian>]'
src/ld/MachOReaderRelocatable.hpp:4291:9: required from here
src/ld/MachOReaderRelocatable.hpp:156:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:156:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:4719:6: required from 'bool mach_o::relocatable::Reader<A>::addRelocReference_powerpc(const macho_section<typename A::P>*, const macho_relocation_info<typename A::P>*) [with A = ppc64; typename A::P = Pointer64<BigEndian>; typename A::P = Pointer64<BigEndian>]'
src/ld/MachOReaderRelocatable.hpp:4291:9: required from here
src/ld/MachOReaderRelocatable.hpp:173:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:173:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:4511:7: required from 'bool mach_o::relocatable::Reader<A>::addRelocReference_powerpc(const macho_section<typename A::P>*, const macho_relocation_info<typename A::P>*) [with A = ppc; typename A::P = Pointer32<BigEndian>; typename A::P = Pointer32<BigEndian>]'
src/ld/MachOReaderRelocatable.hpp:4297:9: required from here
src/ld/MachOReaderRelocatable.hpp:156:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:156:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:4719:6: required from 'bool mach_o::relocatable::Reader<A>::addRelocReference_powerpc(const macho_section<typename A::P>*, const macho_relocation_info<typename A::P>*) [with A = ppc; typename A::P = Pointer32<BigEndian>; typename A::P = Pointer32<BigEndian>]'
src/ld/MachOReaderRelocatable.hpp:4297:9: required from here
src/ld/MachOReaderRelocatable.hpp:173:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:173:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds; uint32_t = unsigned int]':
src/ld/MachOReaderRelocatable.hpp:3712:75: required from 'mach_o::relocatable::Reference<A>* mach_o::relocatable::Reader<A>::makeByNameReference(mach_o::relocatable::Reader<A>::Kinds, mach_o::relocatable::Reader<A>::pint_t, const char*, uint32_t) [with A = x86; mach_o::relocatable::Reader<A>::Kinds = x86::ReferenceKinds; mach_o::relocatable::Reader<A>::pint_t = unsigned int; uint32_t = unsigned int]'
src/ld/MachOReaderRelocatable.hpp:4788:8: required from here
src/ld/MachOReaderRelocatable.hpp:184:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:184:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = x86; mach_o::relocatable::Reference<A>::Kinds = x86::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds; uint32_t = unsigned int]':
src/ld/MachOReaderRelocatable.hpp:3712:75: required from 'mach_o::relocatable::Reference<A>* mach_o::relocatable::Reader<A>::makeByNameReference(mach_o::relocatable::Reader<A>::Kinds, mach_o::relocatable::Reader<A>::pint_t, const char*, uint32_t) [with A = arm; mach_o::relocatable::Reader<A>::Kinds = arm::ReferenceKinds; mach_o::relocatable::Reader<A>::pint_t = unsigned int; uint32_t = unsigned int]'
src/ld/MachOReaderRelocatable.hpp:5252:7: required from here
src/ld/MachOReaderRelocatable.hpp:184:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:184:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = arm; mach_o::relocatable::Reference<A>::Kinds = arm::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds; uint32_t = unsigned int]':
src/ld/MachOReaderRelocatable.hpp:2525:8: required from 'mach_o::relocatable::Reader<A>::Reader(const uint8_t*, const char*, time_t, const ObjectFile::ReaderOptions&, uint32_t) [with A = ppc; uint8_t = unsigned char; time_t = long int; uint32_t = unsigned int]'
src/other/ObjectDump.cpp:418:77: required from here
src/ld/MachOReaderRelocatable.hpp:184:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:184:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = ppc; mach_o::relocatable::Reference<A>::Kinds = ppc::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds; uint32_t = unsigned int]':
src/ld/MachOReaderRelocatable.hpp:2525:8: required from 'mach_o::relocatable::Reader<A>::Reader(const uint8_t*, const char*, time_t, const ObjectFile::ReaderOptions&, uint32_t) [with A = ppc64; uint8_t = unsigned char; time_t = long int; uint32_t = unsigned int]'
src/other/ObjectDump.cpp:420:79: required from here
src/ld/MachOReaderRelocatable.hpp:184:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:184:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const char*, uint32_t) [with A = ppc64; mach_o::relocatable::Reference<A>::Kinds = ppc64::ReferenceKinds; uint32_t = unsigned int]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp: In instantiation of 'mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds]':
src/ld/MachOReaderRelocatable.hpp:2568:3: required from 'mach_o::relocatable::Reader<A>::Reader(const uint8_t*, const char*, time_t, const ObjectFile::ReaderOptions&, uint32_t) [with A = x86_64; uint8_t = unsigned char; time_t = long int; uint32_t = unsigned int]'
src/other/ObjectDump.cpp:422:80: required from here
src/ld/MachOReaderRelocatable.hpp:173:2: error: invalid use of incomplete type 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
src/ld/MachOReaderRelocatable.hpp:173:10: note: declaration of 'class mach_o::relocatable::Reference<A>::Reference(mach_o::relocatable::Reference<A>::Kinds, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&, const mach_o::relocatable::AtomAndOffset&) [with A = x86_64; mach_o::relocatable::Reference<A>::Kinds = x86_64::ReferenceKinds]::BaseAtom'
((class BaseAtom*)at.atom)->addReference(this);
^
make: *** [src/other/ObjectDump.o] Error 1
The text was updated successfully, but these errors were encountered:
Seems to be happy with
apple-gcc42
but fails with C++ related errors ongcc5
(haven't tried other 4.x versions above 4.2).Is it possible to pin the package to be built with
apple-gcc42
?The text was updated successfully, but these errors were encountered: