Hi all!

I'm trying to port CLAPACK to symbian using Open C/C++.
This library results a large (3MB relelease / 9MB debug) dll. When I'm trying to load it from a small test application, it fall's into a random code (inside the dll) resulting "kern-exec 3"/"data abort exception".

on-device debugger:
- the caller method is unknown (one level stack trace)
- If I place a breakpoint before the point where the exception is thrown, the program does not stop here, it throws data abort exception again

The test app runs fine in the emulator. What might be the problem?
Is it possible to port such a large library?


Here is the MMP of the dll:

/*
============================================================================
Name : clapack.mmp
Author :
Copyright :
Description : This is the project specification file for clapack.
============================================================================
*/

TARGET clapack.dll
TARGETTYPE dll
UID 0x1000008e 0xE8570609

EPOCALLOWDLLDATA

USERINCLUDE ..\inc
SYSTEMINCLUDE \epoc32\include
SYSTEMINCLUDE \epoc32\include\stdapis
SYSTEMINCLUDE \epoc32\include\stdapis\sys
SYSTEMINCLUDE \epoc32\include\stdapis\stlport
SYSTEMINCLUDE \epoc32\include\stdapis\stlport\stl


LIBRARY libstdcpp.lib
LIBRARY libc.lib
LIBRARY libpthread.lib
LIBRARY euser.lib
LIBRARY estlib.lib


MACRO INTEGER_STAR_8
MACRO NO_BLAS_WRAP

STATICLIBRARY libf2c.lib
STATICLIBRARY blas.lib

nostrictdef


#ifdef ENABLE_ABIV2_MODE
DEBUGGABLE_UDEBONLY
#endif
SOURCEPATH ..\src
SOURCE __merged.c

CAPABILITY ReadUserData

EPOCSTACKSIZE 0x8000

EPOCHEAPSIZE 0x100000 0x3000000