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 lists1p.gnu.org (lists1p.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 DA402C531CC for ; Thu, 23 Jul 2026 20:09:59 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wmzjL-00067W-TB; Thu, 23 Jul 2026 16:09:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wmzjH-000624-87 for qemu-devel@nongnu.org; Thu, 23 Jul 2026 16:09:15 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wmzjD-0006ee-B9 for qemu-devel@nongnu.org; Thu, 23 Jul 2026 16:09:14 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-495590ba856so8850305e9.2 for ; Thu, 23 Jul 2026 13:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1784837349; x=1785442149; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=ewk2okeydBULGob4WuhT+omCLum4orlAHzQ00DpKv+k=; b=Ju3M3g2HxEZYi3ZVJuO5CbsrmfftkU4ZvPbNLMZtWRDRrq8vb2xe344F1oj1EnF/Os w9V31gwNx9YpeuVwDrCcE1NScRUPT6Cdzk23zRWsuGc9ogIrqQprBXOiQGt5q9iusEFX 64CBineI2O4hanYMyQooAU0sm8dn+o+wOmMk2VmE/Ract6hFZGyuQXCCye577H+x4DJZ yxMINoRl62F3yVro/62h2o/Xb+8fYOjnjRg+0QZhnUhB3FSZ2asjjCdjkXMC//NnLTnj RwO4IFyaaCrgi+D0FGKQquyOMB+EvLeLJsnm/cAdHHi6+8vUXV9MNXqbW+bkdOpLD7Tx daXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784837349; x=1785442149; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ewk2okeydBULGob4WuhT+omCLum4orlAHzQ00DpKv+k=; b=pyPHuvLoTmZYSxJnj9x2E8cOGxnqp5x5GLgeqZZREtaG7GlJEuGt+wIBM44DFdovr9 v7dxQqz9O93+2QMQeK2uw6pbL8fVXHaLTObupGBDfjahR06afVjnqw1mHTuEJCUzGMH+ taxWEy90ELa7Rw2ZeY1k9RkpAX55MIXfc1NDdkQVyOi6j9ZPIsfbSz9mabD8ewSFOg52 uZN39o6c0mRe0nmy1MUmLqX9MaNMufvf+lvgRLjgYxY2jshrYMTrtvcxTUewC0PXIxKr zKvIWQ5wuSsx6EGpVt1+Nu5x66MHA5UG+/qihqUqroJNkLTm5+eSFeSUF2mDrzqp+ERa F0LQ== X-Gm-Message-State: AOJu0YwFoykbnRsDzCGcemPCrhEJWKiat5Je/8fvzKqgP769xvyPQCTU MKCtpKv3TLLFzTXOGkRXgsokAutIp03cF2rzmG9U3eZsIVUD0p30VwkRQCTtNOIMZE4= X-Gm-Gg: AR+sD131ZPCdvhRumiOpwoPzHb+sXwNlMzQmM0FTTuLU695IWz57JknOAkAmO6vSJg6 vEYQdR43Nmz260q5e43rO2kEb8ivi87aUu7vLoLxkFPlqVT4i8fpEgl0X0J5hgeUlLZCC/O2mcU Bq2hhFBiWpmyD2PMCYoDiJPXJxT19Haqwic+dVo0MP0fwkUC2F3eRPfhSU0li0pmRj9fLRXyXEN 9hs7leiltQyYhY+IuVn0Xc9AVFy8orZrsVVpj+iwtXBwGFitJzgaq8AyeBlp7JaA4lEOc2wLKSX mtZ827wVG0bH7lpCoeG8CnEGsyGYucJmqWXZQ38iFp5c2ecZvHspA4rhM1JhTowWx3V0JzsIcwR 30CFJJyrvlh/HhZ+JRnxEr+DYrVIhJeFqrNYsIfiT9sQS/KqnkR+8i+z7a/d+2K+gznr8iiEJiZ zzJa1qlqD/hXUQ X-Received: by 2002:a05:600c:4fcd:b0:492:4a50:41fe with SMTP id 5b1f17b1804b1-49573cfc9b6mr69453315e9.22.1784837348700; Thu, 23 Jul 2026 13:09:08 -0700 (PDT) Received: from draig.lan ([185.124.0.114]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4957af5d8c1sm19938515e9.1.2026.07.23.13.09.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2026 13:09:05 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id D1E635F8BA; Thu, 23 Jul 2026 21:09:04 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Cornelia Huck , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier , Warner Losh , Brad Smith , Jiaxun Yang , Peter Maydell , qemu-arm@nongnu.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Brian Cain , Song Gao , Paolo Bonzini , John Snow , Fabiano Rosas , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Cleber Rosa , Richard Henderson , Kyle Evans Subject: [PATCH 2/3] tests/arm: add explicit CFLAGS for system build Date: Thu, 23 Jul 2026 21:09:03 +0100 Message-ID: <20260723200904.224413-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260723200904.224413-1-alex.bennee@linaro.org> References: <20260723200904.224413-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development 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 The brew toolchain on macOS (arm-none-eabi-gcc) is a little different from the default on Debian (arm-linux-gnueabihf-gcc) as a result it defaults to an older architectural baseline (without isb's), assumes softfloat and will get confused by including stdint.h without being told it is compiling freestanding code. Make these all explicit so we can build arm-softmmu tests on macOS. The test-armv6m-undef is unaffected as it has it's very own build stanza. Signed-off-by: Alex Bennée --- tests/tcg/arm/Makefile.softmmu-target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/arm/Makefile.softmmu-target b/tests/tcg/arm/Makefile.softmmu-target index b66074b0b43..3e8a9b4073e 100644 --- a/tests/tcg/arm/Makefile.softmmu-target +++ b/tests/tcg/arm/Makefile.softmmu-target @@ -29,7 +29,7 @@ ARM_TESTS+=$(patsubst $(ARM_SRC)/%.c, %, $(ARM_TEST_SRCS)) CRT_PATH=$(ARM_SRC) LINK_SCRIPT=$(ARM_SRC)/kernel.ld LDFLAGS=-Wl,-T$(LINK_SCRIPT) -CFLAGS+=-nostdlib -ggdb -O0 $(MINILIB_INC) +CFLAGS+=-march=armv7-a+fp -ffreestanding -nostdlib -ggdb -O0 $(MINILIB_INC) LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc # building head blobs -- 2.47.3