From owner-svn-src-all@FreeBSD.ORG Thu Jan 9 15:02:35 2014 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6E2F6E; Thu, 9 Jan 2014 15:02:35 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7349E1DEF; Thu, 9 Jan 2014 15:02:34 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1W1H7y-000FXT-2j; Thu, 09 Jan 2014 15:02:34 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s09F2Va5031747; Thu, 9 Jan 2014 08:02:31 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/5xV9mBdQPhEKd+p4VjOML Subject: Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.bi... From: Ian Lepore To: Dimitry Andric In-Reply-To: <7BAB80DB-AD2E-427A-AB9F-2E1A3F0DFE8C@FreeBSD.org> References: <201312221751.rBMHpYpj059326@svn.freebsd.org> <7BAB80DB-AD2E-427A-AB9F-2E1A3F0DFE8C@FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Date: Thu, 09 Jan 2014 08:02:31 -0700 Message-ID: <1389279751.1158.426.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Zbigniew Bodek , svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 15:02:35 -0000 On Thu, 2014-01-09 at 12:58 +0100, Dimitry Andric wrote: > On 09 Jan 2014, at 02:19, Zbigniew Bodek wrote: > > 2013/12/22 Dimitry Andric : > ... > >> Modified: > >> head/gnu/lib/csu/Makefile > >> head/gnu/lib/libgcc/Makefile > >> head/gnu/lib/libstdc++/Makefile > >> head/gnu/lib/libsupc++/Makefile > >> head/lib/atf/libatf-c/tests/Makefile > >> head/share/mk/bsd.sys.mk > >> head/sys/conf/Makefile.arm > >> head/tools/tools/ath/athstats/Makefile > >> head/tools/tools/net80211/wlanstats/Makefile > >> head/usr.bin/mkcsmapper/Makefile.inc > > > > It appears that this change broke backtrace on ARM. > > Now only last stack frame can be displayed in bt. > > However I don't have any fix or suggestion. > > Can you please try reverting each of these Makefiles individually, and > check when the problem disappears? The only effective change caused by > this commit is that some CFLAGS might appear in a different order. > > It might be possible that one of the Makefiles involved is overly > sensitive to this. My first guess would be gnu/lib/csu, and after that > gnu/lib/libgcc. > > -Dimitry > The difference is the compile flags. For example, when building the kernel at r259729: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/local/build/staging/freebsd/imx53/src/sys -I/local/build/staging/freebsd/imx53/src/sys/contrib/altq -I/local/build/staging/freebsd/imx53/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -funwind-tables -mllvm -arm-enable-ehabi -ffreestanding -Werror /local/build/staging/freebsd/imx53/src/sys/arm/arm/trap.c At r259730: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/local/build/staging/freebsd/imx53/src/sys -I/local/build/staging/freebsd/imx53/src/sys/contrib/altq -I/local/build/staging/freebsd/imx53/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -funwind-tables -ffreestanding -Werror /local/build/staging/freebsd/imx53/src/sys/arm/arm/trap.c The difference is that the -mllvm and -arm-enable-ehabi flags are missing. -- Ian