From patchwork Sun Aug 6 17:37:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Waldemar Brodkorb X-Patchwork-Id: 1817546 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RJmrd0Zvzz1yXs for ; Mon, 7 Aug 2023 03:38:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 2043B815CE; Sun, 6 Aug 2023 17:38:23 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2043B815CE X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cJZYwWwirE6r; Sun, 6 Aug 2023 17:38:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 5D39F81C20; Sun, 6 Aug 2023 17:38:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5D39F81C20 X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 7834A1BF286 for ; Sun, 6 Aug 2023 17:38:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 91BC16062F for ; Sun, 6 Aug 2023 17:37:50 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 91BC16062F X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rSTPZkosBxFI for ; Sun, 6 Aug 2023 17:37:49 +0000 (UTC) X-Greylist: delayed 18140 seconds by postgrey-1.37 at util1.osuosl.org; Sun, 06 Aug 2023 17:37:48 UTC DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D4F24600BB Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) by smtp3.osuosl.org (Postfix) with ESMTPS id D4F24600BB for ; Sun, 6 Aug 2023 17:37:48 +0000 (UTC) Received: by helium.openadk.org (Postfix, from userid 1000) id 47B0235206AC; Sun, 6 Aug 2023 19:37:45 +0200 (CEST) Date: Sun, 6 Aug 2023 19:37:44 +0200 From: Waldemar Brodkorb To: buildroot@buildroot.org Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Operating-System: Linux 5.10.0-21-amd64 x86_64 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openadk.org; s=2022; t=1691343465; bh=xqqsV8k/Ci32QbE/rm1JxCyladS+FqcK1I737rDOlSk=; h=Date:From:To:Subject:From; b=C9oZJvBnLe7X2LlLNLtJ4lQvoyFgfAvEMcTopH+M2UJjTdFu+vfdSh4M0UYdP2V6/ S2kkN/S72Zks18nz+XYsWCH6gfrHwnMVHFvW0ItNu8nVZZ/hO+JEH9R9XporZM+wA0 G18wVTT9pUVZkI0zUAYVVq7ksnLt8IUL0VHfcsBKHKfUAcUsff5AbqNqeAr1zSSYBl aMQgRjOLLk9TgeRcXGvFfv0qwAzlkFLS5PfNQZA3oAPN2sZxUWqIVcu6FwqNtXxkfD v5WAbYUUcpGJM6RzTt4yowXkuetgmYtnjiqEZxn28ZlQ0K9Z8zuIlBzpS7siuVRUir D0l5w+YEDHI7A== Subject: [Buildroot] [PATCH] package/openssh: fix compile issue for m68k X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Following ICE occurs: (cd openbsd-compat && /home/autobuild/make/make) make[2]: Entering directory '/home/autobuild/autobuild/instance-10/output-1/build/openssh-9.3p1/openbsd-compat' /home/autobuild/autobuild/instance-10/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -pipe -Wno-error=format-truncation -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wimplicit-fallthrough -Wmisleading-indentation -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fzero-call-used-regs=all -fno-builtin-memset -fPIC -I. -I.. -I. -I./.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -DHAVE_CONFIG_H -c bsd-asprintf.c /home/autobuild/autobuild/instance-10/output-1/host/bin/m68k-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -pipe -Wno-error=format-truncation -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wimplicit-fallthrough -Wmisleading-indentation -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fzero-call-used-regs=all -fno-builtin-memset -fPIC -I. -I.. -I. -I./.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -DHAVE_CONFIG_H -c bsd-closefrom.c during RTL pass: zero_call_used_regs bsd-closefrom.c: In function 'closefrom': bsd-closefrom.c:151:1: internal compiler error: in change_address_1, at emit-rtl.c:2275 151 | } | ^ 0x7fa76f4bad09 __libc_start_main ../csu/libc-start.c:308 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make[2]: *** [Makefile:106: bsd-closefrom.o] Error 1 Fixes following autobuild failure: http://autobuild.buildroot.net/results/d29/d29c662e41d8969e6a8aa24870e728bcc7050563/ Signed-off-by: Waldemar Brodkorb --- package/openssh/openssh.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index e14d752290..65f02088a0 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -35,6 +35,11 @@ define OPENSSH_PERMISSIONS /var/empty d 755 root root - - - - - endef +# workaround gcc ICE with 11.x/12.x and 13.x +ifeq ($(BR2_m68k),y) +OPENSSH_CONF_OPTS += --without-hardening +endif + ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) OPENSSH_CONF_OPTS += --without-pie endif