From nobody Thu Mar 28 21:31:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=pass(p=reject dis=none) header.from=seabios.org ARC-Seal: i=1; a=rsa-sha256; t=1657676189; cv=none; d=zohomail.com; s=zohoarc; b=X6+tyfZQ7fimKFAScebRNnPb9scqpSIOubDsFhR4E4uIGT7uzTEQv5QzB55SqJpMKNtBYQeXiCIJXd6ZgIJUVmfFLQIvXbxf5kOlcKgbJujfSnXbH9t8b1QegESv9qI78doq5++Q+NhGETIlJuFOEITrNOOd4t7hCBCTAp1OKu4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657676189; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Subject:To; bh=nquSVqh7wIs1grE2LXdKcDBMTOJA8h1hAQSU6fcrOwM=; b=LoTehiYaBV6BbbRMmDvfxldZz5LsooHKYQ2d4/ofwS6xk9CKcgW0m9o1i/+agvhvLtsafXdDBUmA+bRDhayqt8ADvOxcJwXCMqBBeljvCsEs3JtEvle1kQWCJHrGkWjmU+gIOlWVHYMJy3P797Y4ApJMLkc2ClSUUwVwSsA1oxA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1657676189936879.3544525945516; Tue, 12 Jul 2022 18:36:29 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 1302C2D9AE; Wed, 13 Jul 2022 01:36:25 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 9A9E12D860 for ; Wed, 13 Jul 2022 01:35:23 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) for ; Tue, 12 Jul 2022 18:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seabios.org; s=dkim; t=1657676187; h=from:from:sender:reply-to: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:list-id:list-owner: list-unsubscribe:list-subscribe:list-post; bh=nquSVqh7wIs1grE2LXdKcDBMTOJA8h1hAQSU6fcrOwM=; b=EXErHxpDY5y1zir/O1EUX9gjQV1PQ7zbHrQpWK6TE25bARogD83LFfmiDigIw82bFWpP5v lBZsE3GInoFJ2M7OPQWe7qOOaX2rpv9u52xJMZB3lnKmv0cOkLtXRxthKqIi7Roz1FYy+a e6AXQt1Rvt2Kp7UC/N4P+YYO3NxVsqc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=Hs+wdBBIIVqxrBHkmtZ+IlYsNq/BDsziJjt4G0zlXeU=; b=QoZCViqXNaoh+bcPHReXyWn5+INl+zS0O4RnIjvcgQkvWUdIhbqTRU5FfQWuFphUsA lY0VQaWNsDVxUQAtd7Wmsvj/c7WUl7c4bS2AhGMaV3iC3SnE8Dm3qPyaeSAOEw+Oy3xZ GhHKkHX9AaEeW2X3ejcDj1Y8yodE5A/rEtlowpoQ03V6SauszZ5l81DXV0TmMzBzBnqJ z7N7AY5VhPg4O7oB2dkJ6nJhXHph+huav9YLv3H5W4tD9LMfA3X3zDg07EPvlaHHVuVi b4N7MD5AaqFUwKgPZ6cwjKaUYN3MmLoFVFAuFFnrjkZ4UODXa3NyZvYYdDuIcfWUBo9g 85Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=Hs+wdBBIIVqxrBHkmtZ+IlYsNq/BDsziJjt4G0zlXeU=; b=Hriwa9rrlGSAbDPsIqfaxz3SsfcGKwJ6LpLqLcstCV1BddhPfyP0LZHb9t9iPy8QN/ xoA9okwMt/n1xEq3EPRNrvsDYS/nkk/UBuOY/pe/o8Rjh61KBvIb+vlksgQpQf7nU3fW Ye+AT1Ls6daKliC87HIlFAETxjNf0o7VHX49v1NseNI2SZESKUVcNeGmpDwOT/CAZig4 mJYgYSeVNKCaczmJL1LHb+X8fPASLTS2OfbuU1xYPR5zeYzoHoHtP7bT19CkC9+eOia8 5SNsqLUfSLMekBgclKIv45fTnBrxJNXMyrQQDif/RU109WFrLtb3RxkE+Pt7WWnSz2lj 8Bxg== X-Gm-Message-State: AJIora9yS2Q+1KQoS3a8Qw6x6Kk6wXz9Zg7GpeRgjPB0BT8WE4VDIVW4 n6Z+yyyoHPSch/IEyOq1jPmpXb/VUDq/NFWmZYvxAdMlWhF0Jcckt2QMyB9Fw2RYgXRtkF71i0h 4YXfLg1uz2SVLJYKGGfk+Pq1mFV2A0ueCvEYIp61845gPyPlSyNHxz1Mf+bG9 X-Google-Smtp-Source: AGRyM1sfn+xlG9siS+HSGz+qqTsekbGPIgPM5huqyDMqTqtPQWGJ0BnfdqzNoKqFEGZannJtmZSdY5El0+No X-Received: from maskray1.svl.corp.google.com ([2620:15c:2ce:200:2d73:f468:8288:85ec]) (user=maskray job=sendgmr) by 2002:a25:cdc7:0:b0:66f:601f:5296 with SMTP id d190-20020a25cdc7000000b0066f601f5296mr1369484ybf.170.1657676122445; Tue, 12 Jul 2022 18:35:22 -0700 (PDT) Date: Tue, 12 Jul 2022 18:35:08 -0700 In-Reply-To: <20220713013508.3428114-1-maskray@google.com> Message-Id: <20220713013508.3428114-5-maskray@google.com> Mime-Version: 1.0 References: <20220713013508.3428114-1-maskray@google.com> To: seabios@seabios.org, Brad Smith Message-ID-Hash: BTT6MMNNKVEL7F4SDSEMKKLR55SULTPT X-Message-ID-Hash: BTT6MMNNKVEL7F4SDSEMKKLR55SULTPT X-MailFrom: 3WiHOYgcKB_EfTldkTrZhhZeX.VhflXTUbhllXTUbhl.hkZ@flex--maskray.bounces.google.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Fangrui Song X-Mailman-Version: 3.3.5rc1 Precedence: list Subject: [SeaBIOS] [PATCH v4 4/4] test-build.sh: Delete unneeded LD capability test List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Fangrui Song via SeaBIOS Reply-To: Fangrui Song Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: ---- X-ZohoMail-DKIM: pass (identity @seabios.org) X-ZM-MESSAGEID: 1657676191520100001 Content-Type: text/plain; charset="utf-8" The previous commit changed romlayout32flag.lds to use `. +=3D ` instead of `. =3D`. We no longer need the LD capability test checking https://sourceware.org/bugzilla/show_bug.cgi?id=3D12726 Signed-off-by: Fangrui Song --- scripts/test-build.sh | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index 25cc2f2..8b35d6f 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -4,50 +4,10 @@ mkdir -p ${OUT} TMPFILE1=3D${OUT}/tmp_testcompile1.c TMPFILE1o=3D${OUT}/tmp_testcompile1.o -TMPFILE1_ld=3D${OUT}/tmp_testcompile1.lds TMPFILE2=3D${OUT}/tmp_testcompile2.c TMPFILE2o=3D${OUT}/tmp_testcompile2.o TMPFILE3o=3D${OUT}/tmp_testcompile3.o =20 -# Test if ld's alignment handling is correct. This is a known problem -# with the linker that ships with Ubuntu 11.04. -cat - > $TMPFILE1 < $TMPFILE1_ld < /dev/null 2>&1 -if [ $? -ne 0 ]; then - echo "Unable to execute the C compiler ($CC)." >&2 - echo "" >&2 - echo "Please install a working compiler and retry." >&2 - echo -1 - exit 0 -fi -$LD -T $TMPFILE1_ld $TMPFILE1o -o $TMPFILE2o > /dev/null 2>&1 -if [ $? -ne 0 ]; then - echo "The version of LD on this system ($LD) does not properly handle"= >&2 - echo "alignments. As a result, this project can not be built." >&2 - echo "" >&2 - echo "The problem may be the result of this LD bug report:" >&2 - echo " http://sourceware.org/bugzilla/show_bug.cgi?id=3D12726" >&2 - echo "" >&2 - echo "Please update to a working version of binutils and retry." >&2 - echo -1 - exit 0 -fi - # Test for "-fwhole-program". Older versions of gcc (pre v4.1) don't # support the whole-program optimization - detect that. $CC -fwhole-program -S -o /dev/null -xc /dev/null > /dev/null 2>&1 @@ -87,4 +47,4 @@ echo 0 # "ebp" register is clobberred in an "asm" statement. The code has # been modified to not clobber "ebp" - no test is available yet. =20 -rm -f $TMPFILE1 $TMPFILE1o $TMPFILE1_ld $TMPFILE2 $TMPFILE2o $TMPFILE3o +rm -f $TMPFILE1 $TMPFILE1o $TMPFILE2 $TMPFILE2o $TMPFILE3o --=20 2.37.0.144.g8ac04bfd2-goog _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org