From patchwork Tue Aug 1 21:54:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 708761 Delivered-To: patch@linaro.org Received: by 2002:a5d:55c5:0:b0:317:2194:b2bc with SMTP id i5csp575493wrw; Tue, 1 Aug 2023 14:56:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlFS3awGqK+awiJmVGMMpYpI83WNo1QfL0X2vXdz2rYwchVY2qk0cinRx12j3pLdxMAzwbyM X-Received: by 2002:a05:620a:400a:b0:76c:b4a0:e548 with SMTP id h10-20020a05620a400a00b0076cb4a0e548mr7780957qko.53.1690927012427; Tue, 01 Aug 2023 14:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690927012; cv=none; d=google.com; s=arc-20160816; b=ktjps0qvFp3PqR/13E1zxLSI5EnZfGmnnMiWuIGXO4K43OO3DUKYZnmdhYZf7IXOEe W2jLG45XAp8TbOseIPgH1WxvYcpZd6X8ftRAwRX2fupRk5FwhwsDHw+gduG7Yn651MDC 906S7CRdPyZ5rxwhtk5IJbztQuRom2POffL8CrOSJsVmI2fwJNS7GqVncXzS2ha3f3ZT b4OOH+exPWQt02XthsxH2MjmiiqAhD4lem7Sv+RWwSt/JQbWL5NUATgdWIIDsjSSQKQo wOL9Yt/j7XSm5lK8264JzxkU09zB1R4H4WVEBMOzD4ffd26iCMxodK2+ltnNBv78Fqnz 9aIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=QVfBl55livYW0yWtqiDTvD5GbwIpzCrNuWoNY+Gm1TE=; fh=BZTwgktrFoOsB/WAJQo6W1UJKeRSY+VMHISzzhBqLxk=; b=b3ijsQAPUFz2aWMRwZVD0wYSFinz0u6MMMmdv1qv31fLN7cnSGqqAUxd/LnTVoJIiE 5iyawr9BZGylvUwwVnQ7q2/NiH1idcy3+v3j4T3/w/llcYQkoLH78U+G/VgQzYMwhvHO junycMjPq3GtzCpHY8Rs535BYvrNRECqhsbtHMK0jMCjNHwSOfz+Njmg2M7JQXNjW+vM Z9b5DFE8+FVWWR69nrh8L2aXjS7usb1PkqG20UUaRPN3i/cFjnd3zavc6OXwbpQWGRo8 DzLOrxFZSAaHLdJwpfUHJp7y2D5ta7LtwYKmdFFIyOxkseO0KQM06lO6wJOCMgQdq1n4 GFDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H7NPrUp+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g21-20020a05620a40d500b0076cad668927si3880616qko.295.2023.08.01.14.56.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Aug 2023 14:56:52 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H7NPrUp+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQxKu-00048M-Sp; Tue, 01 Aug 2023 17:55:24 -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 1qQxKp-00043A-EO for qemu-devel@nongnu.org; Tue, 01 Aug 2023 17:55:21 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQxKh-00051Y-Us for qemu-devel@nongnu.org; Tue, 01 Aug 2023 17:55:18 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fe24b794e5so19789575e9.1 for ; Tue, 01 Aug 2023 14:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690926907; x=1691531707; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QVfBl55livYW0yWtqiDTvD5GbwIpzCrNuWoNY+Gm1TE=; b=H7NPrUp+ldHLolZzwK7aXYphSZ6Mxy8yEXqm4h3NzocqcMiNrsbhfnhdzfVBpeXcOj LCcHTsaO3E8lA1QNiea5j3d4DNSI24YwyqCMmMnIxftyTI9HJNYlROW7ewxSB43pleVK EJl3CukD2jem/Qsn+cVhkro1zJWSTvFXwKHrkmo4RGDwx/9QlhJNHb5Ft9MOpX8Q4zy/ qwE/OrJiM0VSoMNRipqZkvC6xuAtUODAx8EA+IgUNbhOajoPgBbCqGv+X2TS2rFZJMs+ GNz0jbEi/TcnpkP4bGGvak4JaTPZWCjLMDuiVxm+JiIxdrCLKsPV/EJD6Lv6lR41evgb y6AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690926907; x=1691531707; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QVfBl55livYW0yWtqiDTvD5GbwIpzCrNuWoNY+Gm1TE=; b=NmTsEePpoGc9FLcwCIJbUTOeoS+j9gxIAdkgjSS6pVPbCkclZ7TzPEZ97Yjslj0ViJ +HjJpSNG91m731M1Lo+7tBbGfo1YZJTDnB8rweJCaWbsRcl3BnQZXxeLEKZIGpXl7XhN jYUFd78qLJawdIcPAbX4utBLs9NU4r3kR00zrk+4cFRaIMfog/USCc3MztjWPGRIqBzd g6dKwVytuiqDGJIs4etKHN7XjpmbtPBNxqBvCh8X23icKQjALPYVvprnmcE5JN9k59I7 9loU5jvro3IrJMKoXJUMemxZuMnEKekQetHcfy/8ebr2UwZbNMH+u2omXsjL6TWBcV59 qFCA== X-Gm-Message-State: ABy/qLbaGEnyZdjpiqKw/+i3VHn8za5VTH9Klpcq//sfMxAaMLEq2mxM TbJJyANkap1+VdknatNs8uJHYphN8hihuEo2RwQ= X-Received: by 2002:a05:6000:1084:b0:317:39e3:7c68 with SMTP id y4-20020a056000108400b0031739e37c68mr2874160wrw.18.1690926907801; Tue, 01 Aug 2023 14:55:07 -0700 (PDT) Received: from localhost.localdomain ([176.176.174.59]) by smtp.gmail.com with ESMTPSA id y1-20020adfd081000000b003179d5aee63sm9039908wrh.91.2023.08.01.14.55.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 01 Aug 2023 14:55:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, qemu-s390x@nongnu.org, Akihiko Odaki , Juan Quintela , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 07/10] tests/migration: Add -fno-stack-protector Date: Tue, 1 Aug 2023 23:54:18 +0200 Message-Id: <20230801215421.60133-8-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230801215421.60133-1-philmd@linaro.org> References: <20230801215421.60133-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Akihiko Odaki 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 Reviewed-by: Juan Quintela Reviewed-by: Thomas Huth Message-Id: <20230731091042.139159-2-akihiko.odaki@daynix.com> Signed-off-by: Philippe Mathieu-Daudé --- 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