octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Segmentation violation -- stopping during make check [MinGW build 3.3.50


From: Tatsuro MATSUOKA
Subject: Segmentation violation -- stopping during make check [MinGW build 3.3.50+]
Date: Wed, 20 Jan 2010 14:50:56 +0900 (JST)

Hello

I have at last build successfully  3.3.50+ using the dependency libraries 
implemented in
octave-3.23-2/mingw32 by Benjamin. (With my own build libraries I have 
encountered,   )

mkoctfile.exe patch
http://old.nabble.com/no-make-target-for-mkoctfile.exe-to27191753.html
and glob patch

I can see start up snapshot by ./run-octave.
 
Then I have carried out 'make check'

  d:\usr\Tatsu\mingwhome\octaves\hg\octave-work\src/DLD-FUNCTIONS\betainc.cc 
panic: Segmentation
violation -- stopping myself...

# configration
export CC='gcc -shared-libgcc'
export CXX='g++ -shared-libgcc'
export F77='gfortran -shared-libgcc'
$CC -v; $CXX -v ;$F77 -v

export FFLAGS='-DWIN32 -O3 -fomit-frame-pointer'
export CFLAGS='-DWIN32 -O3 -fomit-frame-pointer'
export CXXFLAGS='-DWIN32 -O3 -fomit-frame-pointer'
export LDFLAGS='-LC:/Programs/Octave/devel_build/lib 
-Wl,--allow-multiple-definition
-Wl,--enable-auto-import '
export CPPFLAGS='-IC:/Programs/Octave/devel_build/include'
export LIBS='-lsupc++ '

../../hg/octave-work/configure --prefix=C:/Programs/Octave/devel_build 
--disable-docs

I cannot use -D_GLIBCXX_DLL in CXXFLAGS because this flag give unfired 
reference errors in link stage.

That might be related with segmentation violation.

What do I have to do to use -D_GLIBCXX_DLL?

Regards

Tatsuro 

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]