Date: Thu, 09 Jan 2014 08:02:31 -0700 From: Ian Lepore <ian@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: Zbigniew Bodek <zbb@FreeBSD.org>, svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org 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... Message-ID: <1389279751.1158.426.camel@revolution.hippie.lan> In-Reply-To: <7BAB80DB-AD2E-427A-AB9F-2E1A3F0DFE8C@FreeBSD.org> References: <201312221751.rBMHpYpj059326@svn.freebsd.org> <CALF_Tx=hqjCLpqFZK=U%2B7tGbzxp0GS6BekMg6saYz0eJ%2Bqvw1A@mail.gmail.com> <7BAB80DB-AD2E-427A-AB9F-2E1A3F0DFE8C@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2014-01-09 at 12:58 +0100, Dimitry Andric wrote: > On 09 Jan 2014, at 02:19, Zbigniew Bodek <zbb@freebsd.org> wrote: > > 2013/12/22 Dimitry Andric <dim@freebsd.org>: > ... > >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1389279751.1158.426.camel>