Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp719009lqm; Wed, 1 May 2024 13:33:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVlhpGozuKhMKuf31doSvtJvINv+/CC3QUGpkujtv9z+84QbaEK1gi1YK5oXykUDclnYpeau0KNnmEloTzMkOju/WV2+KJpssKbkG5akg== X-Google-Smtp-Source: AGHT+IEZwT6gicmPnJMJQiROBby6T56Voefnuu9DrEDZebcUvBsx8++yoyxTWfFbnzyrZLH0jzcg X-Received: by 2002:a17:902:eb4a:b0:1e9:470:87e6 with SMTP id i10-20020a170902eb4a00b001e9047087e6mr3533541pli.23.1714595627603; Wed, 01 May 2024 13:33:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714595627; cv=pass; d=google.com; s=arc-20160816; b=Cr4D4sMn0v6gXCNvqGut5X3YYEU2aCSkucUBDd26Mo5qyDoeNgbfCLmhreqGr6DI/Z thIUEzMTVCXTq6CoTHwyerfymgqbEjV+eYXpDKqeY3/9qVcf2/CNHfsniMjUyhgMXbtc SjBcFSgPQ9ggn7l9Uzofb+KJNE45kdjXj370liIEyi/mMnYvZQ5Jv9xR3K3FYzTyz6Ak d+Q2eMfVkLCi4hm/r3geoPmv0Yv0eLOMVhKgUzwwGW/BLsxoXDztkcAygbIOhhvrlAew lKcn+6hkTmFjGmVnkvQgm0aGbO8xca+CZAOSUtXNeqL6bItQ/Xbhi2s7QEC6kbRGMP0T 3rww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Iqz8S2QdA0EJsKIz/4lOvCmgl9u2Epz/damWnWsK8Mg=; fh=VlWxMQA/kiHt/HK8UlsLnXTfeuyx3W88LJGuoBwoz5I=; b=qqbE2YcrtgrdM+Y9hK4rS7cKTzo2eaFl5MzwLO5yhfeSCasJfSA6fddwgQPFVIGEIO 15QOLf2p/Pp0pb2ijhfWddOw0oBH9Is7gYvP5sIYeTzy1o9CqH6Bu33l7ZwQFlgZib4V HBlnCrWBgoLdZBptEzLzxYQnCFbnmDVWcEoO9J+3GSvLsTYIPTHu/l3VPRSfaCWAp3rQ 6E3ha867WZkpoxjT6Aq5gBuXo//g11lh4gH5BI1XGb6ROM486QEEcu0ac4fu1ZpiHjv6 TfuzqFCSjU3J9su1TiaVn3QmY3Nahk2lAsZbzl2z89vjekJaIXL5qfby8KIckj3piwzb +Itw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fYjB+qp5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-165755-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mc15-20020a1709032b0f00b001e8f52124b0si22922730plb.52.2024.05.01.13.33.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 13:33:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165755-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fYjB+qp5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-165755-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C89C52833C2 for ; Wed, 1 May 2024 20:33:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1566E12F378; Wed, 1 May 2024 20:33:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="fYjB+qp5" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4B9D1649D9 for ; Wed, 1 May 2024 20:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714595580; cv=none; b=PUuh+anVt6U3MDbn8Gc/334TvFWNAf3Vk8nlsAW6dNG4SDKAGYDAXX7xkZiT+Rhexp30xj0vszIyNC4a6AJYrKody9jsEltS9xFvMHdtXx2erCRTJQ781bmzWLelqW6uW8uV+I7/RiycYQJS50ZvhPYWzPiKy1tAnTOTeKvvlyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714595580; c=relaxed/simple; bh=7u09dhiLhMiZkNIQVDdsM2vMvd2FkyZDIN6bSmYFGJI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h1cpm7K8Y1VFDu8cby9LSWlBRbqJap+5yDCmC38ThJhJR3blKQUEZx0+ER/OgWI/bl4FTEH78QpfaThJFatxGH9RflT6i4PGW1wexzQLIdjYQb41cDb2vFfVaCyW31GXTWc+mXc3Z6JEAoSosVayF3C197xBc7wWy5tbz/BlM48= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=fYjB+qp5; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6f07de6ab93so6773151b3a.2 for ; Wed, 01 May 2024 13:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714595578; x=1715200378; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Iqz8S2QdA0EJsKIz/4lOvCmgl9u2Epz/damWnWsK8Mg=; b=fYjB+qp52e2Oc1X6Hg4yUA5NHrmzmW1REOerc5b6410UY3wYuP/oAg4F2OIqMPGsDT GLoJk82eVmo6Wx5OIObMex/8aeshF6ucOnGCN3MlOi49n9cNifwdr8Y8OvR28SIFSPuw oWdx8jylqU6A1+27GcU8TL8/x8HT8qa/lHioA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714595578; x=1715200378; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Iqz8S2QdA0EJsKIz/4lOvCmgl9u2Epz/damWnWsK8Mg=; b=gJLSlkURDzjJPjCqiuozR+IcTppWzKtaOjWUzDpLoJBmCVjFF6qyhQ8GR8RidCOHDS X+BjofPpVX5ueEOXEG6mB2lLZ5mmZ17Ix15JplWrr8Xqt4tRETKQd0Q62uYgXpUpltSr zNhkcgy2ehc8MWIgpjozEgxc4iV5SiUAbMi8VdtaRrOeHu/KO7iEBK0c4UclFRgvs61J caxOeNg5UbJrEGutTeNjSD7Yao0R/hcjTJS55wD/2nA/bdYS6mkegD4A1aimhoJJjjFh yLVhzDu4yeQqhFKWYwvgvV1RPFmsodghl/lBrkYqdb/Xbce/9Mhbt6sP7qKMt/CHZM/2 REaA== X-Forwarded-Encrypted: i=1; AJvYcCWkOEv5ASRDib9xRpYpJEZBfpQHqkkgN8ZtZ/n+BXFRWpydPzIHc2GZmAtlC/xFjhomFN3zTzTHZQF0CpALhCflyAjfuyBU0vmQG20T X-Gm-Message-State: AOJu0Yy1mR9xUwN6hCVyia0TondS2KZ999CHaYheVFgK0ZwH2j1OUOps hBcs6OiNSW4qCVrCcHuYEZFhc0otKm3SlRubqv0i/EhYu1nKDvlqYJNrxtR0Cg== X-Received: by 2002:a05:6a20:7fa4:b0:1a7:a3ee:5e4a with SMTP id d36-20020a056a207fa400b001a7a3ee5e4amr3685712pzj.33.1714595578310; Wed, 01 May 2024 13:32:58 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id gq41-20020a056a003be900b006f0da46c019sm20801345pfb.219.2024.05.01.13.32.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 13:32:57 -0700 (PDT) Date: Wed, 1 May 2024 13:32:57 -0700 From: Kees Cook To: kernel test robot Cc: Edward Liaw , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, Andrew Morton , Muhammad Usama Anjum , Andy Lutomirski , Axel Rasmussen , Bill Wendling , David Hildenbrand , Justin Stitt , "Mike Rapoport (IBM)" , Nathan Chancellor , Nick Desaulniers , Peter Xu , Shuah Khan , Will Drewry , linux-kselftest@vger.kernel.org, linux-mm@kvack.org Subject: Re: [linus:master] [selftests/harness] 8092162335: kernel-selftests.sgx.make.fail Message-ID: <202405011330.85D66871E@keescook> References: <202404301040.3bea5782-oliver.sang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202404301040.3bea5782-oliver.sang@intel.com> On Tue, Apr 30, 2024 at 11:02:36AM +0800, kernel test robot wrote: > version: kernel-selftests-x86_64-c7864053-1_20240419 > [...] > compiler: gcc-13 > 2024-04-29 15:02:59 make -j16 -C sgx > [...] > gcc -Wall -Werror -static-pie -nostdlib -ffreestanding -fPIE -fno-stack-protector -mrdrnd -I/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-8092162335554c8ef5e7f50eff68aa9cfbdbf865/tools/testing/selftests/../../../tools/include test_encl.c test_encl_bootstrap.S -o /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-8092162335554c8ef5e7f50eff68aa9cfbdbf865/tools/testing/selftests/sgx/test_encl.elf -Wl,-T,test_encl.lds,--build-id=none > /usr/bin/ld: warning: /tmp/lkp/cct4g3SV.o: missing .note.GNU-stack section implies executable stack > /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker > In file included from main.c:21: > ../kselftest_harness.h: In function ‘__run_test’: > ../kselftest_harness.h:1166:13: error: implicit declaration of function ‘asprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration] > 1166 | if (asprintf(&test_name, "%s%s%s.%s", f->name, > | ^~~~~~~~ > | vsprintf > cc1: all warnings being treated as errors What environment is this being built in? "asprintf" should be available via stdio.h, and "kselftest_harness.h" includes that (and _GNU_SOURCE). -- Kees Cook