[C++-sig] seg fault on IRIX
David Abrahams
dave at boost-consulting.com
Fri Oct 11 22:43:53 CEST 2002
Stefan Seefeld <seefeld at sympatico.ca> writes:
> David Abrahams wrote:
>
> > Stefan, I doubt anyone can help you if you don't provide complete
> > source code to your example, with a Python driver file.
>
> Indeed. I attached a self-contained program to the first mail in this
> thread.
Sorry, I missed that. Well, your code looks OK to me...
> I compiled it with:
>
> CC -D_REENTRANT -I/usr/local/include -I/usr/local/include/boost/compatibility/cpp_c_headers
> -I/usr/local/include/python2.2 -mips4 -n32 -LANG:std -TARG:proc=r5000 -fullwarn -woff 1424,1209,3201
> -no_auto_include -woff 1174,1234,1375,1506,3303 -c pfe.cc -o pfe.o
>
>
> CC -shared -Wl,-no_unresolved -Wl,-LD_MSG:error=157 -mips4 -n32 -LANG:std -TARG:proc=r5000 -o pfe.so
> pfe.o -L/usr/local/lib -lboost_python_debug -L/usr/local/lib/python2.2/config -lpython2.2 -lpthread -lm
>
> an then...
>
> Python 2.2 (#1, Mar 4 2002, 08:53:03)
> [GCC 2.95.3 20010315 (release)] on irix6
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pfe
> >>> foo = pfe.Foo("bla")
> >>> bar = foo.getBar()
> Segmentation fault (core dumped)
I have no clue. did you try this with Boost.Build? I have no idea
whether your compiler options are actually OK. At least if it worked
with Boost.Build that would be a pretty strong hint ;-)
--
David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com
More information about the Cplusplus-sig
mailing list