Re: Issues cross compiling NSS for arm undefined reference to, pthread_atfork

Hamish MB <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <AM6PR04MB610153BC95CC70F2038BDFA9E7BA0@AM6PR04MB6101.eurprd04.prod.outlook.com>
I have since figured out how to do this by adding -Wl, --verbose, and it
shows the library that is being found is the right one, under <sysroot>/lib.

I also have checked that this file contains the required symbols:

readelf -Ws libpthread.so  | grep atfork    62: 00000000     0 FUNC   
GLOBAL DEFAULT  UND __register_atfork@GLIBC_2.4 (4)
   218: 0000b46c    24 FUNC    GLOBAL DEFAULT   12 pthread_atfork@GLIBC_2.4
   366: 00000000     0 FILE    LOCAL  DEFAULT  ABS old_pthread_atfork.c
   764: 0000b46c    24 FUNC    LOCAL  DEFAULT   12 __dyn_pthread_atfork
  1063: 0000b46c    24 FUNC    GLOBAL DEFAULT   12 pthread_atfork@GLIBC_2.4
  1202: 00000000     0 FUNC    GLOBAL DEFAULT  UND
__register_atfork@@GLIBC_2.4

While I'm not familiar with this kind of thing, it does look to me like
pthread_atfork is present, so I'm not really sure what's going on. Does
anyone have any ideas?

Also I'm pretty sure I'm cross compiling this the wrong way - are there
instructions for doing it properly?

Hamish

-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.