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...

Ian Lepore ian at FreeBSD.org
Thu Jan 9 15:02:35 UTC 2014


On Thu, 2014-01-09 at 12:58 +0100, Dimitry Andric wrote:
> On 09 Jan 2014, at 02:19, Zbigniew Bodek <zbb at freebsd.org> wrote:
> > 2013/12/22 Dimitry Andric <dim at 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




More information about the svn-src-head mailing list