Segmentation fault on startup when MIPS_RLD_MAP is 0

2011-01-25 Thread Richard Braun
Hello, When starting Asterisk 1.8 on a mips (32 bits, BE) board, the linker crashes early during startup. I've traced the problem to the MIPS_RLD_MAP dynamic section being 0 (not sure if this is a size or address when reported by readelf). The asterisk binary is built with the --version-script

Re: Segmentation fault on startup when MIPS_RLD_MAP is 0

2011-01-25 Thread Joakim Tjernlund
Hello, When starting Asterisk 1.8 on a mips (32 bits, BE) board, the linker crashes early during startup. I've traced the problem to the MIPS_RLD_MAP dynamic section being 0 (not sure if this is a size or address when reported by readelf). The asterisk binary is built with the

Re: Segmentation fault on startup when MIPS_RLD_MAP is 0

2011-01-25 Thread Richard Braun
On Tue, Jan 25, 2011 at 03:17:27PM +0100, Joakim Tjernlund wrote: DT_MIPS_RLD_MAP stuff looks like my work several years ago. There were complaints that debugging didn't work on MIPS and nobody knew why. I scanned glibc and found out how they did it and impl. the same in uClibc. Needless to