EDIT: I found it in /lib/libpthread-2.8.so, and it does contain
a reference to that function:
"readelf -Ws libpthread-2.8.so | grep atfork":
62: 0 FUNC GLOBAL DEFAULT UND
__register_atfork@GLIBC_2.4 (4)
218: b46c 24 FUNC GLOBAL DEFAULT 12 pthread_atfork@GLIBC_2
I forgot to say that -lpthread is in the linker arguments, and near the
end as one would expect.
The full linker commandline is:
arm-unknown-linux-gnueabi-gcc --sysroot=/home/wmt/nas-sysroot -shared
-Wl,--gc-sections -Wl,-z,defs -Wl,-soname -Wl,libsoftokn3.so
-Wl,--version-script,Linux2.6_arm_g
On Thu, Sep 5, 2019 at 8:56 AM Hamish MB wrote:
> The build gets a fair way, but eventually fails with:
>
> Linux2.6_arm_glibc_PTH_DBG.OBJ/pkcs11.o: In function `nsc_CommonInitialize':
> /home/wmt/Downloads/nss-3.25.1/nss/lib/softoken/pkcs11.c:3022: undefined
> reference to `pthread_atfork'
> coll
Hello,
Firstly, I apologise if I'm sending this to the wrong mailing list.
I have recently been attempting to cross compile NSS 3.25.1 for an armv5
system running Linux 2.6.31.8 and glibc 2.8. I know this is an old
platform, but I am unable to update it. I'm compiling from an x86_64
host. I haven
4 matches
Mail list logo