Re: clang 3.2 RC2 miscompiles libgcc?

看板FB_current作者時間12年前 (2013/04/27 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串21/30 (看更多)
On 2013-01-06 15:17, Stefan Farfeleder wrote: > On Fri, Jan 04, 2013 at 04:49:41PM +0100, Stefan Farfeleder wrote: >> Here's a minimal test case that reproduces the bug: > [...] > > Until someone fixes this bug, could we apply something like this as a > work-around? > > Stefan > > Index: gnu/lib/libgcc/Makefile > =================================================================== > --- gnu/lib/libgcc/Makefile (revision 245055) > +++ gnu/lib/libgcc/Makefile (working copy) > @@ -6,6 +6,8 @@ > SHLIB_NAME= libgcc_s.so.1 > SHLIBDIR?= /lib > > +CC= gcc > + > .include <bsd.own.mk> I think this is a bit overkill approach. We still don't know what the exact cause of the problem is, and this just papers over it. Also, ince the bug is only reproducible by compiling the testcase with g++, could you not compile your crashing programs with clang instead, for now? :-) _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrkp4l (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1HUrkp4l (FB_current)