-
Notifications
You must be signed in to change notification settings - Fork 771
s2nc fails to link on arm #99
Copy link
Copy link
Closed
Description
Attempting to build on a Debian stable armhf system. I was building against libssl1.0.2c
cc -pedantic -Wall -Werror -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wstack-protector -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fstack-protector-all -O2 -I../libcrypto-root/include/ -I../api/ -I../ -Wno-deprecated-declarations -Wno-unknown-pragmas -Wformat-security -D_FORTIFY_SOURCE=2 s2nc.c echo.c -o s2nc -L../lib/ -ls2n -ldl -lrt -lpthread
/usr/bin/ld: s2nc: hidden symbol `pthread_atfork' in /usr/lib/arm-linux-gnueabihf/libpthread_nonshared.a(pthread_atfork.oS) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
gcc (Debian 4.9.2-10) 4.9.2
4:4.9.2-2
GNU ld (GNU Binutils for Debian) 2.25
2.25-5
Reactions are currently unavailable