|
From: Patrick H. <pa...@pr...> - 2009-10-29 15:58:37
|
On Oct 29, 2009, at 10:48 AM, Doug McCorkle wrote: >> On Oct 29, 2009, at 10:32 AM, Doug McCorkle wrote: >> >>> Hello, >>> >>> I am getting this failure on Mac OS 10.6 x64: >>> >>> g++ -DHAVE_CONFIG_H >>> -DJCCL_ROOT_DIR="\"/Users/kochjb/devel/deps/vrjuggler_install/\"" >>> -DJCCL_SHARE_DIR="\"share/jccl-1.3.5\"" -D_JCCL_BUILD_ >>> -I/Users/kochjb/devel/deps/vrjuggler_build/modules/jackal >>> -I/Users/kochjb/devel/deps/vrjuggler/modules/jackal/config >>> -I/Users/kochjb/devel/deps/vrjuggler/modules/jackal/common >>> -I/Users/kochjb/devel/deps/vrjuggler_build/modules/jackal/common >>> -fno-common -pipe >>> -I/Users/kochjb/devel/deps/vrjuggler_build/instlinks/share/ >>> flagpoll/../../include/vpr-2.1.15 >>> -I/opt/local/include >>> -I/Users/kochjb/devel/deps/xml-cppdom_install/lib64/flagpoll/../../ >>> include/cppdom-1.1.0 >>> -arch -pthread x86_64 -DJUGGLER_OPT -DNDEBUG -O2 -fno-strict- >>> aliasing >>> -fPIC -DPIC -arch x86_64 -Wall -W -Woverloaded-virtual -Wsign-promo >>> -Wnon-virtual-dtor -c -o >>> /Users/kochjb/devel/deps/vrjuggler_build/modules/jackal/obj/Darwin/ >>> Mach-O/x86_64/opt/libjccl/jcclmain.o >>> /Users/kochjb/devel/deps/vrjuggler/modules/jackal/common/jccl/ >>> jcclmain.cpp >>> g++-4.2: Invalid arch name : -pthread >>> >>> It looks like -pthread is not being placed properly with the -arch >>> link >>> option. Is there an easy fix? >> >> Are you using the latest source? I made build system changes over the >> weekend that got everything to build and run correctly for me. >> > > Yes. We updated this morning and got the updated docbook file. Updated docbook file? That doesn't have anything to do with the build, and those files haven't changed in nearly two years. Are you building from the trunk or the 2.2 branch? > We then > made a new build directory and configured with the x86_64 abi option > flag. Don't pass an ABI flag in; the default detection will get it right. When trying to choose an ABI on OS X, I think that there is a bug associated with something or other, but I haven't had time to track it down. That probably means that building a universal binary won't work, too. -Patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/ The information transmitted in this communication is intended only for the person or entity to which it is addressed and contains proprietary material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. |