[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] AppVeyor failure
On Thu, Aug 09, 2018 at 05:36:27PM -0600, Philip Prindeville wrote:
> Seeing these failures…
Here? Link please.
> "C:\projects\libevent\build\ALL_BUILD.vcxproj" (default target) (1) ->
> 1633"C:\projects\libevent\build\regress.vcxproj" (default target) (22) ->
> 1634(Link target) ->
> 1635 regress_http.obj : error LNK2001: unresolved external symbol _event_debug_logging_mask_ [C:\projects\libevent\build\regress.vcxproj]
> 1636 regress_util.obj : error LNK2001: unresolved external symbol _event_debug_logging_mask_ [C:\projects\libevent\build\regress.vcxproj]
> 1637 C:\projects\libevent\build\bin\Debug\regress.exe : fatal error LNK1120: 1 unresolved externals
This toolchain does something strange, why if it reports "fatal error"
it does something after? No idea. And I'm too tired to look into this
"logs" (if we can call it that way).
> What changed?
>
> I’d look through recent commits for a smoking gun but I’m about to run out the door.
>
> A quick look shows a commit in February (27th) as the only likely suspect… so why break now?
You mean f0fd92f2c41fd5bf3b270ee338089dd9329d0354 ("Convert
event_debug_*() helpers from macros to static functions"), shouldn't be,
since it is just convertion of #define to 'static inline', while here it
reports error for variable -- 'event_debug_logging_mask_'
AFAIR all this errors came once I add building of static and shared (in
particular 489991a2b2628ba1ff4e6879b9f67ec35d224c38 ("Merge branch
'cmake-missing-bits'")) libraries at the same time, due to
-fvisibility=hidden in cmake only (but not sure though), need
double/triple check this...
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.