Fixes it for me! Need to also regen WANTLIB, then OK abiener@

PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A 4AF0 1F81 112D 62A9 ADCE

> On Jul 22, 2019, at 9:13 PM, Lawrence Teo <l...@openbsd.org> wrote:
> 
> On Sun, Jul 21, 2019 at 11:38:06PM -0600, Aaron Bieber wrote:
>>> On Fri, 19 Jul 2019 at 22:01:53 -0400, Lawrence Teo wrote:
>>> This updates Snort to 2.9.14.
>>> 
>>> https://blog.snort.org/2019/07/snort-29140-has-been-released.html
>>> 
>>> ok?
>> 
>> Builds and runs fine here! When I start it with "-d" I see:
>> 
>> snort:/usr/local/lib/libluajit-5.1.so.1.0: undefined symbol '_Unwind_GetCFA'
>> snort:/usr/local/lib/libluajit-5.1.so.1.0: undefined symbol 
>> '_Unwind_DeleteException'
>> snort:/usr/local/lib/libluajit-5.1.so.1.0: undefined symbol '_Unwind_SetGR'
>> snort:/usr/local/lib/libluajit-5.1.so.1.0: undefined symbol '_Unwind_SetIP'
>> snort:/usr/local/lib/libluajit-5.1.so.1.0: undefined symbol 
>> '_Unwind_RaiseException'
>> 
>> I think this might be a combo of the packages / snapshot I have. I will 
>> update
>> and report back.
>> 
>> If you aren't seeing the undefined symbols, OK abieber@
> 
> Thanks for testing!
> 
> It looks like those Unwind errors are due to libsf_appid_preproc.so
> which links against luajit, which in turn needs access to libunwind
> symbols.
> 
> I found another port games/tome4 that had the same issue.  In that port
> the issue was resolved by linking against libc++abi (in
> games/tome4/patches/lld-linking).
> 
> Here's an updated diff that does the same thing for
> libsf_appid_preproc.so.  I made it link against libc++abi in
> src/dynamic-preprocessors/appid/Makefile.in.   I'm not certain that that
> is the right place to fix it, but it does resolve those errors for me.
> <snort-2.9.14.20190722-2151.diff>

Reply via email to