Hi Sebastian,

> Undefined first referenced
> symbol in file
> __sync_sub_and_fetch src/shctx.o
> __sync_val_compare_and_swap src/shctx.o
> __sync_lock_test_and_set src/shctx.o
> ld: fatal: symbol referencing errors. No output written to haproxy
> collect2: ld returned 1 exit status
> make: *** [haproxy] Error 1
>
>
> It worked until 1.5-dev22, after that the file src/shctx.c changed
> causing the above error.

Are you sure about this? Dev23 breaks the build while dev22 builds
correctly, is that what you are saying?


There is not a single change between dev22 and dev23 in src/shctx.c:

~/haproxy-1.5$ git log --oneline v1.5-dev22..v1.5-dev23 src/shctx.c
~/haproxy-1.5$


Are you sure dev22 still (today) builds fine on your system (with
openssl, of course), while dev23 generates the reported error?


Can you tell what exact openssl release are you running
("openssl version")?


Only dev25 includes some changes that may affect this. If thats the
case, and haproxy builds fine up to (including) dev24, then you can try
building with USE_PTHREAD_PSHARED=1 or USE_PRIVATE_CACHE=1.




Regards,

Lukas


                                          

Reply via email to