Re: clang 3.2 RC2 miscompiles libgcc?

From: Stefan Farfeleder <stefanf_at_FreeBSD.org>
Date: Sun, 6 Jan 2013 15:17:08 +0100
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)
_at__at_ -6,6 +6,8 _at__at_
 SHLIB_NAME=	libgcc_s.so.1
 SHLIBDIR?=	/lib
 
+CC=	gcc
+
 .include <bsd.own.mk>
 #
 # libgcc is linked in last and thus cannot depend on ssp symbols coming
Received on Sun Jan 06 2013 - 13:22:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC