[Bug target/44074] Solaris 2.9 x86 Sun assembler doesn't like rep/lock prefixes on same line

jay dot krell at cornell dot edu gcc-bugzilla@gcc.gnu.org
Wed May 12 10:50:00 GMT 2010



------- Comment #3 from jay dot krell at cornell dot edu  2010-05-12 10:50 -------
 > Using something like TARGET_SOLARIS is wrong: this is just a bug in older
Sun

I don't completely agree.
 - I regularly do cross builds.
   What will you do for that? Assume the old version? I think so. Since the
result works the same on all versions. So you might as well just do that for
cross and native imho.

 - I want to build a gcc on 2.10 that works on 2.9..er..well, that's not quite
right. For that I'll build it on 2.9. But the cross build scenario is relevant.

 - Look at what Darwin/Macho does -- that is also only for older versions, but
they just do it unconditionally. (Might be good to check for TARGET_64BIT
though, since that probably implies a new enough assembler?)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44074



More information about the Gcc-bugs mailing list