Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2011 20:07:29 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r224201 - head/lib/libc/stdlib
Message-ID:  <201107182007.p6IK7Thi037522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Mon Jul 18 20:07:29 2011
New Revision: 224201
URL: http://svn.freebsd.org/changeset/base/224201

Log:
  Fix building of 32-bit compat libraries on amd64 with clang, and using
  -g, by reverting r219139.  The LLVM PR referenced in that revision was
  fixed in the mean time, and we imported a clang snapshot soon
  afterwards, so the temporary workaround of disabling clang's integrated
  assembler is no longer needed.
  
  In this particular case, using e.g. DEBUG_FLAGS=-g causes clang to
  output certain directives into assembly that our version of GNU as
  chokes on.
  
  Reported by:	dougb
  Approved by:	re (kib)

Modified:
  head/lib/libc/stdlib/Makefile.inc

Modified: head/lib/libc/stdlib/Makefile.inc
==============================================================================
--- head/lib/libc/stdlib/Makefile.inc	Mon Jul 18 20:06:49 2011	(r224200)
+++ head/lib/libc/stdlib/Makefile.inc	Mon Jul 18 20:07:29 2011	(r224201)
@@ -51,7 +51,3 @@ MLINKS+=tsearch.3 tdelete.3 tsearch.3 tf
 CFLAGS+=	-DMALLOC_PRODUCTION
 .endif
 
-.if ${CC:T:Mclang} == "clang"
-# XXX: Temporary workaround for LLVM PR 9352
-CFLAGS+=	${.IMPSRC:T:Mmalloc.c:C/^.+$/-no-integrated-as/}
-.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107182007.p6IK7Thi037522>