wine, gcc and clang with CPUTYPE
Konstantin Belousov
kostikbel at gmail.com
Wed Oct 24 11:02:51 UTC 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20121024/f764a7c6/attachment.sig>
More information about the freebsd-stable
mailing list