amd64 and FreeBSD 5.2.1

Medi Montaseri mmontaseri at
Fri Jan 14 18:29:45 PST 2005

Hi....I am having some problem  porting my app to FreeBSD 5.2.1 on a 
amd64 and am wondering about the state of 5.2.1 before I dive into debugging.... app works fine on 64 bit linux.

My concerns are:

1- describes 5.2.1 as
   "FreeBSD 5.2 / 5.2.1 security fix branch (not officially supported)."
   What do you mean by "not supported"....should I use 5.3

2- I do'nt see gdb(1) on the 5.2.1 ISOs. Was this never ported ? 
   I have found gdb-6 but that requires which is not available on 5.2.1....
   stopped there as I was getting into pre-req recursive rat hole...
   If gdb was not made available, should I interpret this as 5.2.1 is not a 
   formal release?

3- I don't see any traces of 5.2.1 on FreeBSD mirror sites...
   as though it was there and now its not...
   This is worring me....was there something about 5.2.1 that has 
   disappeared from the face of Internet. Or is it the practice of pulling
   down previous releases....maybe a minor issue...right now I'm over reading too much.

4- My motherboard is actually a dual CPU using Intel EM64T (Extended Memory) 
   but uname -m shows amd64.....I hope this ok...

5- My app is failing consistingly as follows...
(gdb) bt
#0  0x00000002007014d8 in find_symdef () from /libexec/
#1  0x0000000200700d1b in _rtld_bind () from /libexec/
#2  0x0000000200700755 in _rtld_bind_start () from /libexec/
#3  0x0000000000000247 in ?? ()
#4  0x0000000000000004 in ?? ()
#5  0x0000000000000002 in ?? ()
#6  0x0000000200b73960 in RC5_version () from /lib/
#7  0x0000000000000002 in ?? ()
#8  0x0000000000000206 in ?? ()
#9  0x0000000200718600 in ?? ()
#10 0x00000000000001d3 in ?? ()
#11 0x0000000200b30453 in ERR_get_state () from /lib/
#12 0x0000000200b2fbe1 in ERR_put_error () from /lib/
#13 0x0000000200b40192 in BIO_new_file () from /lib/
#14 0x0000000200ae3277 in X509_load_cert_crl_file () from /lib/
#15 0x0000000200ae2e9d in X509_LOOKUP_file () from /lib/

I've seen some conversations on available at
Where Kenneth Merry at FreeBSD org concludes...

So, it looks like find_symdef() is returning a bogus value for def, and
NULL for defobj, which causes a NULL pointer deference at line 197.

Does this look familiar to anyone?  Since I've got a core dump, I can look
at more things if anyone has anything they'd like to see.


So...anyone knows anything about this problem....

Thank you

More information about the freebsd-amd64 mailing list