From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WE8+EA5pLWTvHAAASxT56A (envelope-from ) for ; Wed, 05 Apr 2023 14:26:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ECYyEA5pLWQPPQAA9RJhRA (envelope-from ) for ; Wed, 05 Apr 2023 14:26:54 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0880E39458 for ; Wed, 5 Apr 2023 14:26:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pk2DZ-0007zV-1R; Wed, 05 Apr 2023 08:26:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pk2DU-0007wi-Oj for guix-devel@gnu.org; Wed, 05 Apr 2023 08:26:21 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pk2DP-0006xO-VX for guix-devel@gnu.org; Wed, 05 Apr 2023 08:26:19 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9AA422032; Wed, 5 Apr 2023 14:26:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vlUgD6_v8Zqt; Wed, 5 Apr 2023 14:26:09 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 80CAFC61; Wed, 5 Apr 2023 14:26:09 +0200 (CEST) Date: Wed, 5 Apr 2023 14:26:07 +0200 From: Andreas Enge To: guix-devel@gnu.org Subject: Re: OpenJDK in core-updates Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680697614; a=rsa-sha256; cv=none; b=tgO/GqR+4Xr1Reh2kZvXx069pBnjXcw33buu3sXvMkVFMPoujsxfoVxhSZz1Mdqht4m2bp /FkCRGfBFI1IigPloF3fkYuvSobgCYEyp/0ho6GDJhDYgRzL/eLyuZN/so/ELzT7PNmBxV sgt/XcosrkSlOCQMvdF1CbEiGkoO64Uux+nG0gQOCs/NIrCozCGsZpAOGf9Kv6J+VZXffK YO11iULw4Ph9TfRJaem3Juxsu4pMLQMkqNgFGvxUNlHHtcIrZD3xeKXd9S3Isr4zTZzw0r lpvLxy6bb/K2VbOF9ncdHKr0rpfP68BS1BSD9NtHVT5j+87YjU/iJk3PcBi/oQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680697614; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=6N45GAcCoz9iNqfuIJmXkucobCh45V58iZQaE7fLg4g=; b=Wg7iETlYwJk+hkBbDTQM/FHss8OdpQUzB8bkkVkcE15hu88fClnmoZaKDMZ825UE6NohLY 1q17JCZxiDF9IvXB7FO0VZpgFWcZ3G7cErBKolm7DgeQ7DeEdujdF5cml03Zz6EJmHUbsz R+sqScUI8ZAC3qUqksKarMc+9gOjp7Akyib4A+zZpqwf6RGYiBQXViCTtDPKkWzmc7wE5S GwCV3COwb/KW4wWvBzRFMWEoNGBt37GnmJhAKloGNExmHe8QgWCHpQ795WDSAdSYz/+XS2 uF/unz6ZOKscpDXpnaonLJt07NxT7pv3aF/33RTdkODRSdVgwBlmKgG/6/TDFw== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.32 X-Spam-Score: -3.32 X-Migadu-Queue-Id: 0880E39458 X-TUID: 1UpfDM5yrbOl Next problem, hopefully fixed by the following patch: diff -u -r openjdk-9.alt/hotspot/test/runtime/StackGuardPages/exeinvoke.c openjdk-9/hotspot/test/runtime/StackGuardPages/exeinvoke.c --- openjdk-9.alt/hotspot/test/runtime/StackGuardPages/exeinvoke.c 2023-04-05 13:46:58.689964892 +0200 +++ openjdk-9/hotspot/test/runtime/StackGuardPages/exeinvoke.c 2023-04-05 14:15:52.435613325 +0200 @@ -67,8 +67,17 @@ longjmp(context, 1); } +static char* altstack = NULL; + void set_signal_handler() { - static char altstack[SIGSTKSZ]; + if (altstack == NULL) { + // Dynamically allocated in case SIGSTKSZ is not constant + altstack = (char*)malloc(SIGSTKSZ); + if (altstack == NULL) { + fprintf(stderr, "Test ERROR. Unable to malloc altstack space\n"); + exit(7); + } + } stack_t ss = { .ss_size = SIGSTKSZ, This is related to a change in glibc, and we have seen it in other places. It is not new, so I do not quite understand how openjdk@9 compiled a few weeks ago on core-updates and suddenly stopped to compile. At least openjdk@10 is also affected, and maybe later versions. Andreas