This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH][ARM] add missing -funwind-tables to test case
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: <nd at arm dot com>
- Date: Thu, 11 Feb 2016 14:48:18 +0000
- Subject: [PATCH][ARM] add missing -funwind-tables to test case
- Authentication-results: sourceware.org; auth=none
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
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.