Date: Fri, 22 Feb 2013 19:49:54 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: Dimitry Andric <dimitry@andric.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: r245741 (clang as cc) can not build binaries for GEODE processor Message-ID: <15917508.20130222194954@serebryakov.spb.ru> In-Reply-To: <51277EFE.4000703@andric.com> References: <108875110.20130222104603@serebryakov.spb.ru> <51277EFE.4000703@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Dimitry. You wrote 22 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8F 2013 =D0=B3., 18:21= :50: DA> The default for FreeBSD on 32-bit x86 is i486, so maybe the problems are DA> caused by the -march=3Dgeode setting. If you disable that, do the DA> problems disappear? Problem is, that code compiled with "-march=3Dgeode" works. Code built without any "-march" at all (without CPUTYPE in configs) doesn't. It looks like clang or use "build system" CPU as default "-march" or issue some >=3D i686 commands without it. Or both :) DA> In any case, can you attempt to figure out which exact instructions it DA> dies on? If gdb does not work, like you said above, maybe you can use DA> objdump to disassemble the executable in question, and find the address DA> of the failing instruction. I'm trying to do this with very last sources both as build system and target sources. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15917508.20130222194954>