From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C9709C001DE for ; Mon, 31 Jul 2023 07:45:27 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQNZz-0007lj-8O; Mon, 31 Jul 2023 03:44:35 -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 1qQNZx-0007hB-Ji for qemu-devel@nongnu.org; Mon, 31 Jul 2023 03:44:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQNZv-0002ui-T7 for qemu-devel@nongnu.org; Mon, 31 Jul 2023 03:44:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690789471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7ElsIsOtJ5Znlz+lpzCgNdYqKc3kJAkdtbQfydrsYeA=; b=BVpec5cIvGtHdNMzJt0EUM6hlUrrVtNgyT7tj3XZknnKw4QI/4lIBKyitSlLlLU5eVLJNw jG0B769l6Rn4vN8cdgY+/YrM8h1q0GXAtBC9kKWJ4BbfRyC9nSECceTe0ZzMKOcfl9h51q hhCBI0MphXZ2iKXEnrxHScwTXkLL44Q= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-536-i9c5LDSQNuKbE32PsHIFdA-1; Mon, 31 Jul 2023 03:44:26 -0400 X-MC-Unique: i9c5LDSQNuKbE32PsHIFdA-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-3f9e616e25dso56309221cf.0 for ; Mon, 31 Jul 2023 00:44:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690789466; x=1691394266; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7ElsIsOtJ5Znlz+lpzCgNdYqKc3kJAkdtbQfydrsYeA=; b=GLyoDEbCRijzCfUaAEGBy83zPzyD9gnEifhdIyuUnPTieuBXlY4Xuno9wIQNxTVgiC QG4of8ghoXgBWZyi53m3ujmN3bisuADeGPiAFVwyz3XkFT4smoUXHh+dlVYWQEtdsVI8 4X0INtwwK3mx9s7we9o5TSaXUEJNup+H32kX/76tKCQ5EW311EUVee48xC0+Hdfg6FPO UXr/rt5XiSjjjw4l8pt19xnptAh/mNyAsqxFdnZ0gVVZR66Yg8GZUMwNxppWE8R9z0zb ROetfIUNbphcb/qFhSM0KwDhXeMPvL7MurKZKJWfUhwVqAdzUkKjR7vLtl6ZHY4e3Zlt lPHg== X-Gm-Message-State: ABy/qLaSPPm1aZ4vdV9PBvUGS1Xh/d9ZLW2KSXwK9u15+Bnyv1xiGSJk nw0bSsiKpASdbSIwIoKbYhLG/uNnUyzBolOtWaM7gkcZ6Niw/5cd8jWXGelW+2+ScJfLBaGTfEl 1y9HtqcOifwvEDXs= X-Received: by 2002:a05:622a:19a9:b0:40c:8f5d:1b3 with SMTP id u41-20020a05622a19a900b0040c8f5d01b3mr8006739qtc.41.1690789466533; Mon, 31 Jul 2023 00:44:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlFinyUVuX2TcrsQG5rPoKEVADagHXEMcgjiea79L3HoHQlMjRlnstI5viPytYk2ZwT3Ae1wYg== X-Received: by 2002:a05:622a:19a9:b0:40c:8f5d:1b3 with SMTP id u41-20020a05622a19a900b0040c8f5d01b3mr8006721qtc.41.1690789466338; Mon, 31 Jul 2023 00:44:26 -0700 (PDT) Received: from [10.33.192.205] (nat-pool-str-t.redhat.com. [149.14.88.106]) by smtp.gmail.com with ESMTPSA id a17-20020ac86111000000b0040b8ba13701sm1757950qtm.52.2023.07.31.00.44.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jul 2023 00:44:25 -0700 (PDT) Message-ID: <54738824-42c9-a8f5-f174-bbb1dafa844f@redhat.com> Date: Mon, 31 Jul 2023 09:44:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 2/3] tests/migration: Add -fno-stack-protector Content-Language: en-US To: Akihiko Odaki Cc: Christian Borntraeger , Juan Quintela , Peter Xu , Leonardo Bras , Peter Maydell , Richard Henderson , "Edgar E. Iglesias" , Brian Cain , Paolo Bonzini , Eduardo Habkost , Song Gao , Xiaojuan Yang , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Aurelien Jarno , Jiaxun Yang , Aleksandar Rikalo , Chris Wulff , Marek Vasut , David Hildenbrand , Ilya Leoshkevich , qemu-devel@nongnu.org, qemu-s390x@nongnu.org, qemu-arm@nongnu.org References: <20230731065904.5869-1-akihiko.odaki@daynix.com> <20230731065904.5869-3-akihiko.odaki@daynix.com> From: Thomas Huth In-Reply-To: <20230731065904.5869-3-akihiko.odaki@daynix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.101, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 31/07/2023 08.58, Akihiko Odaki wrote: > A build of GCC 13.2 will have stack protector enabled by default if it > was configured with --enable-default-ssp option. For such a compiler, > it is necessary to explicitly disable stack protector when linking > without standard libraries. > > Signed-off-by: Akihiko Odaki > --- > tests/migration/s390x/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/migration/s390x/Makefile b/tests/migration/s390x/Makefile > index 6393c3e5b9..6671de2efc 100644 > --- a/tests/migration/s390x/Makefile > +++ b/tests/migration/s390x/Makefile > @@ -6,8 +6,8 @@ all: a-b-bios.h > fwdir=../../../pc-bios/s390-ccw > > CFLAGS+=-ffreestanding -fno-delete-null-pointer-checks -fPIE -Os \ > - -msoft-float -march=z900 -fno-asynchronous-unwind-tables -Wl,-pie \ > - -Wl,--build-id=none -nostdlib > + -msoft-float -march=z900 -fno-asynchronous-unwind-tables \ > + -fno-stack-protector -Wl,-pie -Wl,--build-id=none -nostdlib > > a-b-bios.h: s390x.elf > echo "$$__note" > header.tmp Reviewed-by: Thomas Huth