{"action":"created","issue":{"url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/4","labels_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/4/comments","events_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/4/events","html_url":"https://github.com/rose-compiler/rose-develop/issues/4","id":102737740,"number":4,"title":"Linker error in src/ROSETTA/src","user":{"login":"sriram87","id":1824943,"avatar_url":"https://avatars.githubusercontent.com/u/1824943?v=3","gravatar_id":"","url":"https://api.github.com/users/sriram87","html_url":"https://github.com/sriram87","followers_url":"https://api.github.com/users/sriram87/followers","following_url":"https://api.github.com/users/sriram87/following{/other_user}","gists_url":"https://api.github.com/users/sriram87/gists{/gist_id}","starred_url":"https://api.github.com/users/sriram87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriram87/subscriptions","organizations_url":"https://api.github.com/users/sriram87/orgs","repos_url":"https://api.github.com/users/sriram87/repos","events_url":"https://api.github.com/users/sriram87/events{/privacy}","received_events_url":"https://api.github.com/users/sriram87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T08:33:41Z","updated_at":"2015-09-22T17:54:56Z","closed_at":null,"body":"I'm using gcc 4.6 and boost version 1.53\r\n\r\nBuild fails inside src/ROSETTA/src. This is the command\r\n\r\nCXXLD \" CxxGrammarMetaProgram;/bin/bash ../../../libtool --silent --tag=CXX   --mode=link g++  -g -O0 -O2 -Wall   -o CxxGrammarMetaProgram CxxGrammarMetaProgram.o grammar.o grammarString.o terminal.o type.o symbol.o expression.o statement.o support.o binaryInstruction.o storageSize.o visitorSupport.o poolBasedTraversal.o node.o buildAstFileIO.o buildStorageClasses.o buildConstructorsWithoutSourcePositionInformation.o outputClassesAndFields.o buildAtermSupport.o terminals.o -pthread  -L/path/to/boost_1_53_0/lib -lboost_date_time -lboost_thread -lboost_filesystem -lboost_program_options -lboost_regex  -lboost_system  -lboost_wave -lboost_iostreams -lrt -ldl -ldl  ../../../src/util/libroseutil.la ../../../src/util/libroseutil.la ../../../src/util/libroseSawyer.la\r\n\r\nError is\r\n  CXXLD  CxxGrammarMetaProgram\r\n../../../src/util/.libs/libroseSawyer.a(Message.o): In function `void boost::call_once<void (*)()>(boost::once_flag&, void (*)())':\r\n/local/boost_1_53_0/include/boost/thread/pthread/once.hpp:84: undefined reference to `boost::detail::get_once_per_thread_epoch()'\r\n../../../src/util/.libs/libroseSawyer.a(Message.o): In function `pthread_mutex_scoped_lock':\r\n/local/boost_1_53_0/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:24: undefined reference to `boost::detail::once_epoch_mutex'\r\n../../../src/util/.libs/libroseSawyer.a(Message.o): In function `void boost::call_once<void (*)()>(boost::once_flag&, void (*)())':\r\n/local/boost_1_53_0/include/boost/thread/pthread/once.hpp:114: undefined reference to `boost::detail::once_epoch_cv'\r\n/local/boost_1_53_0/include/boost/thread/pthread/once.hpp:107: undefined reference to `boost::detail::once_global_epoch'\r\n/local/boost_1_53_0/include/boost/thread/pthread/once.hpp:108: undefined reference to `boost::detail::once_epoch_cv'\r\n/local/boost_1_53_0/include/boost/thread/pthread/once.hpp:118: undefined reference to `boost::detail::once_global_epoch'\r\n/local/boost_1_53_0/include/boost/thread/pthread/once.hpp:103: undefined reference to `boost::detail::once_epoch_cv'\r\ncollect2: ld returned 1 exit status\r\n\r\nHas anyone seen this before?\r\n\r\nThanks\r\nSriram"},"comment":{"url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/comments/142364545","html_url":"https://github.com/rose-compiler/rose-develop/issues/4#issuecomment-142364545","issue_url":"https://api.github.com/repos/rose-compiler/rose-develop/issues/4","id":142364545,"user":{"login":"czlilac","id":5145158,"avatar_url":"https://avatars.githubusercontent.com/u/5145158?v=3","gravatar_id":"","url":"https://api.github.com/users/czlilac","html_url":"https://github.com/czlilac","followers_url":"https://api.github.com/users/czlilac/followers","following_url":"https://api.github.com/users/czlilac/following{/other_user}","gists_url":"https://api.github.com/users/czlilac/gists{/gist_id}","starred_url":"https://api.github.com/users/czlilac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czlilac/subscriptions","organizations_url":"https://api.github.com/users/czlilac/orgs","repos_url":"https://api.github.com/users/czlilac/repos","events_url":"https://api.github.com/users/czlilac/events{/privacy}","received_events_url":"https://api.github.com/users/czlilac/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T17:54:56Z","updated_at":"2015-09-22T17:54:56Z","body":"Hi, I am facing the same problem by compiling Rose with gcc-4.8 and boost-1.53.  Have you finally resolved the problem? If so, could you please share your solution? \r\n\r\nThanks,\r\nZhi"}}