This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][ARM] add missing -funwind-tables to test case


stdlib/tst-makecontext test fails on arm because it uses backtrace without -funwind-tables.

2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.

diff --git a/stdlib/Makefile b/stdlib/Makefile
index e406856..26fe67a 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -112,6 +112,7 @@ CFLAGS-strfmon_l.c = $(libio-mtsafe)
 
 CFLAGS-tst-bsearch.c = $(stack-align-test-flags)
 CFLAGS-tst-qsort.c = $(stack-align-test-flags)
+CFLAGS-tst-makecontext.c += -funwind-tables
 CFLAGS-tst-makecontext2.c = $(stack-align-test-flags)
 
 # Run a test on the header files we use.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]