From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 6A05C1F453 for ; Wed, 13 Feb 2019 22:25:36 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=Lc1PDsywbDUlVjqpWGWCNm8noPZlSChUlZAo6/MsPcciGXCRigP2J bCmcRaAH1ahDGm4nUoaaqLgDw9tmwlVamsGHLpRlaWsg3ipnxZ83efhGacr7nKmT 3nrxFWP9gPcFrj3cYWGREHQWIeevD/JQJaxpkCS1Td0ZcrDkjtytFI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-type:content-transfer-encoding; s=default; bh=RqD1BvLTJUldgv+pCn9BZRxEtq0=; b=GgXaAcxcAMDMJfOZ58hqEapGmp92 vObKZA8uKxaJBZlYp5FFCLtApsWn3mw9dQD8ifNilLbXt2IhsrVM4njq4YG491kN Q57FXVfHyghFTG6X9hPSuoUQDll1OQguzltk9/MI09Fddkx/EvBLSjdfDB7i1UhH evInRMEiau9Yqpo= Received: (qmail 45000 invoked by alias); 13 Feb 2019 22:25:33 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 44471 invoked by uid 89); 13 Feb 2019 22:25:32 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-pf1-f193.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=OK+eVMbTT4FLeqe8PK+DtqNKSkUvq03sa6v7ISQCvDg=; b=WpqHz8Qf4nuoZtRPiEZjefLmIONGAONUPfxySUzqj5lfXb0Kcs2ZPy36THgC+uBmmo 1pDabqvOUDRScafaaNAARF6Qh3BLYe3nPqGUMLaQCI6lSl6yNi5HynUzRqdun7b8ku6n ljeTb33Za0T65r89eT3yqUdKZNSDM8jRU0wir7hy9inpOIgI8ohKzGRJB/jalKjuGgiT DG20CudXp4azQ1If0Ibo4tLDukxiweUMNwA/dP1yZvazi/Uskn8V6XdVsKTVPKFSefGd vg4kACu5nleZAA+M2LfxgHRZLZSwYlkOYkDRep1MAKBr2CrArudXk+cdF0n00qpzG30R FUfg== Date: Wed, 13 Feb 2019 14:25:20 -0800 (PST) X-Google-Original-Date: Wed, 13 Feb 2019 14:25:17 PST (-0800) Subject: Re: [PATCH] RISC-V: Fix elfutils testsuite unwind failures. In-Reply-To: CC: Jim Wilson , libc-alpha@sourceware.org From: Palmer Dabbelt To: schwab@suse.de Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On Wed, 13 Feb 2019 08:33:34 PST (-0800), schwab@suse.de wrote: > On Jan 13 2019, Jim Wilson wrote: > >> Unfortunately, the testcase isn't working as expected and I don't know why. >> The testcase passes even when my clone.S patch is not installed. > > I don't see that here, with the current tools from openSUSE Factory. > There many be some (bad?) luck involved, since it's undefined territory. > >> [BZ #24040] >> * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0. >> * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h >> (func): New. >> (main): If USE_PTHREADS, call pthread_create to run func. Otherwise >> call func directly. >> * nptl/Makefile (tests): Add tst-unwind-thread. >> (CFLAGS-tst-unwind-thread.c): Define. >> * nptl/tst-unwind-thread.c: New file. >> * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra >> as undefined. > > Ok. Thanks. I committed this.