[MacPorts] #29394: in boost 1.46.1 program_options lib is unusable in macports
MacPorts
noreply at macports.org
Mon May 9 01:24:33 PDT 2011
#29394: in boost 1.46.1 program_options lib is unusable in macports
--------------------------------------------------+-------------------------
Reporter: christophe.prudhomme@… | Owner: adfernandes@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: boost1.46 program_options | Port: boost
--------------------------------------------------+-------------------------
Comment(by ghost@…):
In general, such makes-no-sense crashes occur when you mix up different
versions of libraries, etc. I'd
recommend making static linking case work, first.
For starters, what is up with this line in backtrace:
#9 0x0000000100001021 in main () at utf8_codecvt_facet.hpp:111
This makes no sense whatsoever. May I recommend that when compiling, run
gcc with the -save-temps option. Examine
the <input-file-name>.ii file and note where program_options includes are
found. Then, make sure that the created
binary is static, and does not use any shared libraries at all. I think
you need to pass -static to gcc for that
to be the case. I suppose that checking that binary is static can be done
with 'otool' with some appropriate
switches.
--
Ticket URL: <https://trac.macports.org/ticket/29394#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list