From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1118) id 31D733858D35; Sat, 1 Jul 2023 13:30:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31D733858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688218250; bh=h36posWAYBCR82K9H9tk5/AE8kOfmfDImZI1CK+8Keo=; h=From:To:Subject:Date:From; b=gU3xfQEmNR1q/enrzD2ncAv+wyfDJTN1GoakHn9zixeuMuwStGGPL9VwVVQYs7u6C 6xAuiCM79XlbJyaynlOJSgUe2foztx/9szZBHrXrD6UeVY6FzpiUb+VMfuSptLLwi8 w+1YQ34PeBPfufFlx5U4PGZh/trYxpIHHZbPdIlQ= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: John David Anglin To: glibc-cvs@sourceware.org Subject: [glibc] support: Build with exceptions and asynchronous unwind tables [BZ #30587] X-Act-Checkin: glibc X-Git-Author: John David Anglin X-Git-Refname: refs/heads/master X-Git-Oldrev: 494714d4073502145689eafc197f5ab6ffe4c3e5 X-Git-Newrev: 1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4 Message-Id: <20230701133050.31D733858D35@sourceware.org> Date: Sat, 1 Jul 2023 13:30:50 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4 commit 1d5024f4f052c12e404d42d3b5bfe9c3e9fd27c4 Author: John David Anglin Date: Sat Jul 1 13:29:53 2023 +0000 support: Build with exceptions and asynchronous unwind tables [BZ #30587] Changing tst-cleanup4.c to use xread instead of read caused the nptl/tst-cleanupx4 test to fail. The routines in libsupport.a need to be built with exception handling and asynchronous unwind table support. v2: Use "CFLAGS-.oS" instead of "override CFLAGS". Diff: --- support/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/Makefile b/support/Makefile index c81e3c928c..917a858bd1 100644 --- a/support/Makefile +++ b/support/Makefile @@ -239,6 +239,9 @@ CFLAGS-support_paths.c = \ -DCOMPLOCALEDIR_PATH=\"$(complocaledir)\" \ -DSYSCONFDIR_PATH=\"$(sysconfdir)\" +# Build with exception handling and asynchronous unwind table support. +CFLAGS-.oS += -fexceptions -fasynchronous-unwind-tables + # In support_timespec_check_in_range we may be passed a very tight # range for which we should produce a correct result for expected # being within the observed range. The code uses double internally