On Wed, Oct 24, 2012 at 01:34:16PM +0300, Volodymyr Kostyrko wrote: > 24.10.2012 13:05, Dimitry Andric wrote: > >> I just have taken some time to inspect CPUTYPE support for clang. It > >> seems to me that clang generates incorrect code in some cases. > >> > >> The first failure point I discovered was inability to build gcc from > >> sources or compile something with gcc. Code produced by gcc seem to fail > >> whether this was gcc compiled from bootstrap or anything else: > >> > >> http://lists.freebsd.org/pipermail/freebsd-multimedia/2012-October/013469.html > > > > Can you attempt to figure out what the illegal instruction was, in that > > case? > > How can I do that? I'm not very familiar with gdb. Load the coredump in gdb, like gdb /path/to/the/binary binary.core then, at the gdb prompt, do info registers disassemble (if the later command emited an error, do disassemble x,x+10 where x is the content of the %eip register).
Post the verbatim results of the whole gdb session.
pgpZBO9Xk492I.pgp
Description: PGP signature
