Re: [fpc-devel] Exception problems in FPC 3.0.0

2015-10-29 Thread Yury Sidorov

On 10/29/2015 1:22 PM, Sergio Flores wrote:

I've never experienced such issues. You should try to use different NDK
versions. I use ndk-r8d. It is stable.

I got the latest ndk download, it works fine, most of my problems were
derived from using Mingw, switching to Cygwin solved the issues.


Actually there is no need to use mingw or cygwin at all. All needed 
build tools are bundled with win32 fpc release. No extra tools are 
needed to build FPC from sources.



Do you use static .a libs?

I generate a .a lib that contains all pascal code, which is then loaded
by java "dynamically" at the app startup. I'm not sure if there's other
alternative approaches that allow mixing Java and Pascal in Android (I
know how it possible to create a pure NDK app in Pascal, however lots of
Java SDKs that I use that don't play well with that).


You build a dynamic .so library not a static .a library. You can not 
load a static library from Java.



The issue seems to be specific for your environment only. If you not try
to find out the reason, it will never be fixed.

Sure, I'll try again if I find some precompiled release with hard float
support so I can understand better where the problem is.
As for now, I'll keep using the old compiler, as it works fine and I
don't need the new features that were introduced in 3.0.


I've performed more tests and found out that arm hard float exceptions 
are not handled at all in Android. It seems there is no need to mask them.


Looks like you have some installation issue. You can try to install FPC 
3.0 on some clear system and build your library.


Yury.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.0-rc2 release

2015-10-29 Thread Ondrej Pokorny

Hello!

Would it be possible to apply this 
http://bugs.freepascal.org/view.php?id=28578 into 3.0.0 as well? Or is 
it too late?


Thanks
Ondrej
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.0-rc2 release

2015-10-29 Thread Jonas Maebe


Ondrej Pokorny wrote on Thu, 29 Oct 2015:

Would it be possible to apply this  
http://bugs.freepascal.org/view.php?id=28578 into 3.0.0 as well? Or  
is it too late?


It is too late, especially since that is not a regression. FPC 3.0 is  
pretty much frozen at this point.



Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.0-rc2 release

2015-10-29 Thread Anthony Walter
Jonas, when FPC 3.0 release is ready will the Lazarus team also be
releasing a tandem version?

I ask because Ondrej's patch for this issue still isn't in SVN:

http://bugs.freepascal.org/view.php?id=22235
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.0-rc2 release

2015-10-29 Thread Jonas Maebe


Anthony Walter wrote on Thu, 29 Oct 2015:


Jonas, when FPC 3.0 release is ready will the Lazarus team also be
releasing a tandem version?


No, FPC and Lazarus have independent release cycles.


Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.0-rc2 release

2015-10-29 Thread Ondrej Pokorny

On 29.10.2015 17:35, Ondrej Pokorny wrote:

On 29.10.2015 17:21, Anthony Walter wrote:
Jonas, when FPC 3.0 release is ready will the Lazarus team also be 
releasing a tandem version?


I ask because Ondrej's patch for this issue still isn't in SVN:

http://bugs.freepascal.org/view.php?id=22235


This is a Lazarus issue, not FPC related.


Oh sorry, you probably ment Lazarus 1.6 or something like this, didn't 
you? I have to think twice before answering...


Ondrej
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 3.0.0-rc2 release

2015-10-29 Thread Ondrej Pokorny

On 29.10.2015 17:21, Anthony Walter wrote:
Jonas, when FPC 3.0 release is ready will the Lazarus team also be 
releasing a tandem version?


I ask because Ondrej's patch for this issue still isn't in SVN:

http://bugs.freepascal.org/view.php?id=22235


This is a Lazarus issue, not FPC related.

Ondrej
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel