Bug#383759: Another backtrace

Robert Millan rmh at aybabtu.com
Sun Aug 20 10:47:46 UTC 2006


On Sun, Aug 20, 2006 at 01:33:10AM +0300, Yavor Doganov wrote:
> I rebuilt mysql-dfsg-5.0 5.0.22-4 with DEB_BUILD_OPTIONS=nostrip on a
> Pentium IV and installed the unstripped libmysqlclient15off library.
> The backtrace is different:
> 
> (gdb) r -C /dev/null -bV
> Starting program: /usr/sbin/exim4 -C /dev/null -bV
> [Thread debugging using libthread_db enabled]
> [New Thread -1486513856 (LWP 7626)]
> 
> Program received signal SIGILL, Illegal instruction.
> [Switching to Thread -1486513856 (LWP 7626)]
> 0xa7c8bbb0 in TaoCrypt::CpuId () from /usr/lib/libmysqlclient.so.15
> (gdb) bt
> #0  0xa7c8bbb0 in TaoCrypt::CpuId () from /usr/lib/libmysqlclient.so.15
> #1  0xa7c8c82c in TaoCrypt::SetPentiumFunctionPointers ()
>    from /usr/lib/libmysqlclient.so.15
> #2  0xa7c8c8d5 in __static_initialization_and_destruction_0 ()
>    from /usr/lib/libmysqlclient.so.15
> #3  0xa7c9a4e2 in __do_global_ctors_aux () from /usr/lib/libmysqlclient.so.15
> #4  0xa7c25e11 in _init () from /usr/lib/libmysqlclient.so.15
> #5  0xa7fa2bd4 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
> #6  0xa7fa2d11 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
> #7  0xa7f977ef in ?? () from /lib/ld-linux.so.2
> 
> But it really has to be something related to the CPU. The file
> extra/yassl/taocrypt/src/integer.cpp contains some logic about it, but
> I'm not a programmer so I can't figure it out.

It seems that DEB_BUILD_OPTIONS=nostrip didn't suffice.  Perhaps debian/rules
doesn't export a CFLAGS with "-g" ?

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.




More information about the Pkg-exim4-maintainers mailing list