<div dir="ltr">This was discussed in this thread <a href="http://marc.info/?t=133682946900003&r=1&w=2">http://marc.info/?t=133682946900003&r=1&w=2</a> People were generally supportive of the idea, but it was deemed very hard to get glibc to build with this ( <a href="http://marc.info/?l=cfe-dev&m=133717592322519&w=2">http://marc.info/?l=cfe-dev&m=133717592322519&w=2</a> ) and the benefit of doing this wasn't seen as very big in the end.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 12, 2014 at 2:55 PM, Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">gcc 4.2.1 is really old from 2008.  Some configuration headers such as boost "libstdcpp3.hpp" behave differently for pre-gcc 4.3 or later. </div><div dir="ltr"><br></div><div dir="ltr">gcc 4.8.1 is more recent, reasonable claim for clang. </div><div dir="ltr"><br></div><div dir="ltr">I had tried going for 4.9.1 but encountered a problem with intrinsics in mingw 4.9.1 intrin.h which are treated differently for gcc 4.9 or later:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"> * On GCC 4.9 we may always include those headers. On older GCCs, we may do it only if CPU</div><div dir="ltr"> * features used by them are enabled, so we need to check macros like __SSE__ or __MMX__ first.</div><div dir="ltr"> */</div><div dir="ltr">#if __MINGW_GNUC_PREREQ(4, 9)</div><div dir="ltr">#define __MINGW_FORCE_SYS_INTRINS</div><div dir="ltr">#endif</div><div>...</div><div><br></div><div>this does not work correctly with clang since the headers try to use SSE3 instructions without __SSE3__ being defined and fail.</div><div><br></div></div></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>