On Tue, Apr 17, 2012 at 6:41 PM, Andi Kleen <a...@firstfloor.org> wrote:
>> I also have a question regarding AS compatibility. In case one built
>> GCC using AS with support of HLE then using this GCC on a machine with
>> old AS will cause fail because of usupported prefix. Can we support it
>
> I don't think that's a supported use case for gcc.
> It also doesn't work with .cfi* intrinsics and some other things.

Well, it's hard to speculate here. What I rely upon is the fact that
GCC I have on my Fedora is from gcc-4.6.0-10.fc15.x86_64.rpm and the
latter contains no AS within.
There should be dependencies so that AS will be updated alongside with
GCC? Otherwise upon update to new GCC I can see fails in my project
build.

>> compile time rather configure time?
>
> The only way to do that would be to always generate .byte,
> but the people who read the assembler output would hate you
> for it.

Totally agree, it's the best way to hurt your karma. :)
Although detection of AS capabilities is available at compile time and
can be used to evade compfail - at least in case assembler is involved
(no -S provided)

Sergos

Reply via email to