On 24/10/2019 10:57, Alex Peshkoff via Firebird-devel wrote:
> On 10/24/19 4:48 PM, Paul Beach wrote:
>
>
>> Make sure you use builtin-libtommath
>
> Lete me add my 2 words about this. I see no problems with 3d-party
> tommath, but if one plans to build redistributable universal binaries
> tomcrypt should better be builtin. By default it's built without any
> internal syncs which is not good for us: except races in some rare
> places there is even worse problem. Sizes of some structures, passed
> from our code (expecting presence of mutexes) does not match one
> expected by tomcrypt built in default way. I.e. segfault...
>
I'm now trying 3.0 with --with-builtin-tommath and having error when
linking libfbclient:

...
L/Users/runner/runners/2.159.2/work/firebird/firebird/gen/Release/firebird/lib 
-liconv -lm  -framework CoreFoundation  -lcurses -liconv
/opt/local/lib/libtommath.a

Why is MATHLIB expanding to /opt/local/lib/libtommath.a when using
--with-builtin-tommath?

Workflow is here:
https://github.com/asfernandes/firebird/blob/d7c04358695db8141a9deff9a899c4998c57ab28/.github/workflows/main.yml
Logs are here:
https://github.com/asfernandes/firebird/commit/d7c04358695db8141a9deff9a899c4998c57ab28/checks?check_suite_id=279897856


Adriano



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to