Date: Wed, 23 Feb 2011 16:20:17 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@FreeBSD.org Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Dimitry Andric <dim@freebsd.org> Subject: Re: svn commit: r218984 - head/lib/librt Message-ID: <201102231620.19755.jkim@FreeBSD.org> In-Reply-To: <201102232117.p1NLHcuE011679@svn.freebsd.org> References: <201102232117.p1NLHcuE011679@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 23 February 2011 04:17 pm, Dimitry Andric wrote: > Author: dim > Date: Wed Feb 23 21:17:38 2011 > New Revision: 218984 > URL: http://svn.freebsd.org/changeset/base/218984 > > Log: > Fix the 32-bit build stage on amd64 when WITH_CTF is enabled. It > seems ctfconvert will corrupt object files that are compiled with > -g, if it is not run with -g itself. > > To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you > need to compile this library with debug info, use DEBUG_FLAGS=-g > instead, which will work correctly, even when using WITH_CTF. > > Modified: > head/lib/librt/Makefile > > Modified: head/lib/librt/Makefile > =================================================================== >=========== --- head/lib/librt/Makefile Wed Feb 23 20:50:42 > 2011 (r218983) +++ head/lib/librt/Makefile Wed Feb 23 21:17:38 > 2011 (r218984) @@ -6,7 +6,7 @@ CFLAGS+=-I${.CURDIR}/../libc/include > -I$ > .ifndef NO_THREAD_STACK_UNWIND > CFLAGS+=-fexceptions > .endif > -CFLAGS+=-Winline -Wall -g > +CFLAGS+=-Winline -Wall > DPADD= ${LIBPTHREAD} > LDADD= -lpthread Thanks! Jung-uk Kim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102231620.19755.jkim>