New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0.21.pre: build/agents.rb: EXTRA_CXXFLAGS needed for buildout/agents/PassengerHelperAgent #1092
Comments
From mark@ibiblio.org on October 16, 2013 19:37:30 And also for PassengerLoggingAgent etc: --- build/agents.rb.orig Thu Oct 17 11:59:07 2013
|
From mark@ibiblio.org on October 16, 2013 19:40:24 It might make sense to rename create_executable to create_cxx_executable grep execut build/agents.rb
|
From honglilai on October 17, 2013 04:11:59 Why is EXTRA_CXXFLAGS needed there? These are pure-linking action. You should set linker flags in EXTRA_LDFLAGS. |
From mark@ibiblio.org on October 17, 2013 04:41:59 They are C++ flags only, not for C, they tell the C++ compiler to use the stdcxx library for everything. |
From honglilai on October 17, 2013 07:33:03 I've introduced the following new environment variables: |
From mark@ibiblio.org on October 17, 2013 19:51:34 Sure they will do fine. Thanks :) |
From honglilai on October 18, 2013 01:56:20 Status: Fixed |
…e to WebSocket. Fixes issue phusion#1092.
From mark@ibiblio.org on October 17, 2013 03:23:27
What is the expected output? What do you see instead? CC -xtarget=ultra -m64 -xcode=pic32 buildout/agents/PassengerHelperAgent.o -o buildout/agents/PassengerHelperAgent buildout/common/libpassenger_common/Logging.o buildout/common/libpassenger_common/Utils/SystemTime.o buildout/common/libpassenger_common/Utils/StrIntUtils.o buildout/common/libpassenger_common/Utils/IOUtils.o buildout/common/libpassenger_common/Utils.o buildout/common/libpassenger_common/Utils/Base64.o buildout/common/libpassenger_common/Utils/CachedFileStat.o buildout/common/libpassenger_common/Utils/LargeFiles.o buildout/common/libpassenger_common/ApplicationPool2/Implementation.o buildout/common/libpassenger_common/ApplicationPool2/AppTypes.o buildout/common/libpassenger_common/AgentsBase.o buildout/common/libpassenger_common/Utils/MD5.o buildout/common/libpassenger_common/Utils/fib.o buildout/common/libpassenger_common/Utils/jsoncpp.o buildout/common/libboost_oxt.a -L/usr/local/lib -lev -L/usr/local/lib -leio -lxnet -lsocket -lnsl -lpthread -lrt
Undefined first referenced
symbol in file
const __rw::__rw_facet_std::locale::_C_get_std_facet(__rw::_rw_facet::C_facet_type,__rw::_rw_facet()(unsigned long,const char))const buildout/agents/PassengerHelperAgent.o
int __rw::_rw_fflush(void,int) buildout/agents/PassengerHelperAgent.o
void __rw::_rw_deallocate(void,unsigned long,int) buildout/agents/PassengerHelperAgent.o
__rw::__rw_facet___rw::_rw_ct_ctype(unsigned long,const char) buildout/agents/PassengerHelperAgent.o
void __rw::__rw_throw(int,...) buildout/agents/PassengerHelperAgent.o
unsigned long __rw::rw_fread(void,int,void,unsigned long) buildout/agents/PassengerHelperAgent.o
void std::ios_base::_C_init(void*) buildout/agents/PassengerHelperAgent.o What version of Phusion Passenger are you using? Which version of Rails? On what operating system? passenger master @ commit_b05d76f9de43aa38b27def5d40b75d03ea95b2d6
Rails 4.0.0
Solaris 10 SPARC
Sun Studio 12.3 Please provide any additional information below. --- build/agents.rb.orig Thu Oct 17 11:59:07 2013
+++ build/agents.rb Thu Oct 17 11:59:55 2013
@@ -104,6 +104,7 @@
"#{LIBEV_LIBS} " <<
"#{LIBEIO_LIBS} " <<
"#{PlatformInfo.portability_ldflags} " <<
Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=993
The text was updated successfully, but these errors were encountered: