[MacPorts] #44274: gcc47 Issue?
MacPorts
noreply at macports.org
Fri Oct 31 06:28:55 PDT 2014
#44274: gcc47 Issue?
-----------------------+-------------------
Reporter: davidl@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.0
Resolution: | Keywords:
Port: gcc47 |
-----------------------+-------------------
Comment (by davidl@…):
Replying to [comment:5 ryandesign@…]:
> The opencog bug report referenced above says it is a gcc bug, so someone
should please retest the issue with gcc5, and if the issue remains, then
please report the problem to the developers of gcc.
I just tried compiling open cog with gcc5.0 and there are numerous
internal compiler errors.
E.g. -
David-Laxers-MacBook-Pro:bin davidlaxer$ make atomspace
Scanning dependencies of target opencog_atom_types
[ 6%] Generating opencog types
-- Atom type name: Notype
-- Atom type name: Atom
-- Atom type name: Node
-- Atom type name: Link
-- Atom type name: ConceptNode
-- Atom type name: NumberNode
-- Atom type name: OrderedLink
-- Atom type name: UnorderedLink
-- Atom type name: SetLink
-- Atom type name: ListLink
-- Atom type name: MemberLink
-- Atom type name: SubsetLink
-- Atom type name: AndLink
-- Atom type name: OrLink
-- Atom type name: NotLink
-- Atom type name: FalseLink
-- Atom type name: TrueLink
-- Atom type name: ContextLink
-- Atom type name: VariableNode
-- Atom type name: VariableTypeNode
-- Atom type name: TypedVariableLink
-- Atom type name: QuoteLink
-- Atom type name: BindLink
-- Custom atom type name specified: "ForAllLink"
-- Atom type name: ForAllLink
-- Atom type name: ExistsLink
-- Atom type name: AverageLink
-- Atom type name: SatisfyingSetLink
-- Atom type name: ScholemLink
-- Atom type name: ImplicationLink
-- Atom type name: EquivalenceLink
-- Atom type name: EvaluationLink
-- Atom type name: AssociativeLink
-- Atom type name: InheritanceLink
-- Atom type name: SimilarityLink
-- Atom type name: AttractionLink
-- Atom type name: ProcedureNode
-- Atom type name: GroundedProcedureNode
-- Atom type name: SchemaNode
-- Atom type name: GroundedSchemaNode
-- Atom type name: PredicateNode
-- Atom type name: GroundedPredicateNode
-- Atom type name: DefinedRelationshipNode
-- Atom type name: SchemaExecutionLink
-- Atom type name: SchemaEvaluationLink
-- Atom type name: ExecutionLink
-- Atom type name: ExecutionOutputLink
-- Atom type name: AnchorNode
-- Atom type name: QuantityLink
[ 6%] Built target opencog_atom_types
[ 6%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/Config.cc.o
/Users/davidlaxer/opencog/opencog/util/Config.cc: In member function
'virtual void
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast>
>::_ZTv0_n32_NK5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEE7rethrowEv()
const':
/Users/davidlaxer/opencog/opencog/util/Config.cc:310:1: error:
unrecognizable insn:
}
^
(call_insn/j 4 3 5 (call (mem/u/c:DI (const:DI (unspec:DI [
(symbol_ref/i:DI
("_ZNK5boost16exception_detail10clone_implINS0_19error_info_injectorINS_16bad_lexical_castEEEE7rethrowEv")
[flags 0x1] <function_decl 0x10fad4d00 rethrow>)
] UNSPEC_GOTPCREL)) [0 S8 A8])
(const_int 0 [0]))
/usr/local/include/boost/exception/exception.hpp:470 -1
(nil)
(nil))
/Users/davidlaxer/opencog/opencog/util/Config.cc:310:1: internal compiler
error: in insn_min_length, at config/i386/i386.md:1760
/Users/davidlaxer/opencog/opencog/util/Config.cc:310:1: internal compiler
error: Abort trap: 6
g++-mp-5: internal compiler error: Abort trap: 6 (program cc1plus)
/bin/sh: line 1: 72778 Abort trap: 6 /opt/local/bin/g++-mp-5
-DBOOST_PARAMETER_MAX_ARITY=7 -DHAVE_CYTHON -DHAVE_EXPAT -DHAVE_GSL
-DHAVE_GTK -DHAVE_LAPACK -DHAVE_MPI -DHAVE_PROTOBUF -DHAVE_SQL_STORAGE
-DHAVE_UBIGRAPH -DHAVE_VALGRIND -DHAVE_ZMQ -Dcogutil_EXPORTS -Wall -Wno-
long-long -Wno-conversion -Wno-variadic-macros -fopenmp -std=gnu++0x -O2
-g0 -fPIC -I/usr/local/include -I/Users/davidlaxer/opencog
-I/Users/davidlaxer/opencog/bin
-DPROJECT_SOURCE_DIR=\"/Users/davidlaxer/opencog\"
-DPROJECT_BINARY_DIR=\"/Users/davidlaxer/opencog/bin\"
-DCONFDIR=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share/opencog\"
-DCMAKE_INSTALL_PREFIX="\"/usr/local\"" -o
CMakeFiles/cogutil.dir/Config.cc.o -c
/Users/davidlaxer/opencog/opencog/util/Config.cc
make[3]: *** [opencog/util/CMakeFiles/cogutil.dir/Config.cc.o] Error 134
make[2]: *** [opencog/util/CMakeFiles/cogutil.dir/all] Error 2
make[1]: *** [opencog/atomspace/CMakeFiles/atomspace.dir/rule] Error 2
make: *** [atomspace] Error 2
--
Ticket URL: <https://trac.macports.org/ticket/44274#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list