Recent

Author Topic: Indy add-on TaurusTLS 1.0.0.30 beta for OpenSSL 3.x  (Read 3412 times)

DirkJ

  • New Member
  • *
  • Posts: 13
Re: Indy add-on TaurusTLS 1.0.0.30 beta for OpenSSL 3.x
« Reply #15 on: August 29, 2025, 09:44:01 pm »
I tested with Lazarus Trunk and FPC 3.3.1 yesterday (before the last version), but is was the same issue.

Checked installation of TaurusTLS from OPM (inline disabled, no -Ur) with Laz/main + FPC3.2.2, FPC/fixes, FPC/main on Windows and with Laz/main + FPC3.2.2 on Ubuntu. No more problems, except for FPC/main (3.3.1) where compilation of the runtime package does not come to an end (at least until a few minutes when I gave up). @DirkJ: Is this in agreement with your observation?


I tested version 1.0.0.32 from the OPM (without INLINE) again with FPC 3.3.1 (fpcupdelux trunk install).

The compilation does not end. After more than 10 minutes, the compiler is still processing TaurusTLSCompilerDefines.inc. It looks like an endless loop.

DirkJ

  • New Member
  • *
  • Posts: 13
Re: Indy add-on TaurusTLS 1.0.0.30 beta for OpenSSL 3.x
« Reply #16 on: August 29, 2025, 10:01:59 pm »
After more than 20 minutes, the compiler continues to run.

Quote
I have never seen such slow compilation of a package...

I think it's because of the verbosity of the package. Almost all options are enabled there. This was probably not disabled after troubleshooting.

DirkJ

  • New Member
  • *
  • Posts: 13
Re: Indy add-on TaurusTLS 1.0.0.30 beta for OpenSSL 3.x
« Reply #17 on: August 29, 2025, 10:18:42 pm »
Under FPC 3.1.1, compiling TaurusTLSRT aborts after 36 minutes:

Code: [Select]
TaurusTLSExceptionHandlers.pas(316,42) Error: Function header doesn't match the previous declaration "class RaiseException(const AnsiString);"
TaurusTLSExceptionHandlers.pas(322,42) Error: Function header doesn't match the previous declaration "class RaiseExceptionCode(const LongWord;const AnsiString);"
TaurusTLSExceptionHandlers.pas(343,19) Error: Raise in subroutines declared as noreturn is not allowed
TaurusTLSExceptionHandlers.pas(348,39) Error: Function header doesn't match the previous declaration "class RaiseException(PSSL;const LongInt;const AnsiString);"
TaurusTLSExceptionHandlers.pas(355,39) Error: Function header doesn't match the previous declaration "class RaiseExceptionCode(const LongInt;const LongInt;const AnsiString);"
TaurusTLSExceptionHandlers.pas(384,25) Error: Raise in subroutines declared as noreturn is not allowed
TaurusTLSExceptionHandlers.pas(402,19) Error: Raise in subroutines declared as noreturn is not allowed
TaurusTLSExceptionHandlers.pas(407,33) Error: Function header doesn't match the previous declaration "class RaiseWithMessage(const AnsiString);"
TaurusTLSExceptionHandlers.pas(410,21) Error: Raise in subroutines declared as noreturn is not allowed
TaurusTLSExceptionHandlers.pas(415,0) Verbose: There were 9 errors compiling module, stopping
Verbose: Compilation aborted
Verbose: C:\fpcupdeluxe\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode

But FPC 3.1.1 is a beta version and the package runs with 3.2.2 so it is good enough for the moment

 

TinyPortal © 2005-2018