From patchwork Sun Nov 10 03:31:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ting-Wei Lan X-Patchwork-Id: 70166 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 49A0827BBEA; Sun, 10 Nov 2024 03:38:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B616527BBE2 for ; Sun, 10 Nov 2024 03:38:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9ym5-0007Px-BA; Sat, 09 Nov 2024 22:38:05 -0500 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 1t9ym2-0007Pe-PX for guix-patches@gnu.org; Sat, 09 Nov 2024 22:38:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9ym2-0008Pa-HB for guix-patches@gnu.org; Sat, 09 Nov 2024 22:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=hIb9a+7C8btw9agDJVhT9RDdqsM74x0PPoEqBhyUXNA=; b=H+3tR0tJTivkb3NI8IW0KIsf0pRmvX0BYW4VS5wexxYuRabenQZIc6G79nES5leZKTFNwwjjjbpzOBg/H+6K5mIu/FA7/KmDP/GzLh4OF8TMMRrMJryMXTBSJbc2XkrqB0FbUJ77Q1GBZ9y6KaHXlMQ4I97r5SJYZPM2bja4M+w2FALvY5aknOoy0oY/TsFWTmbNidm+57UKLLxj1qzKhUWTebecnwOGUfJfpwW7HMk+k3JLBAys7EiK37+icaEloZm2YwsDm/1V2hvqopNp4/IFXAi1GKWMvZqqW8WCyV3gz5X3OSHhkwL/dVilOdgPAp+FSvxQEeeg5RIVq+NNeQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9ym2-0000Cs-B8 for guix-patches@gnu.org; Sat, 09 Nov 2024 22:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74288] [PATCH] tests: Fix gremlin.scm for GCC 14 Resent-From: Ting-Wei Lan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Nov 2024 03:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74288 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74288@debbugs.gnu.org Cc: Ting-Wei Lan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1731209878780 (code B ref -1); Sun, 10 Nov 2024 03:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2024 03:37:58 +0000 Received: from localhost ([127.0.0.1]:55136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ylx-0000CV-Q9 for submit@debbugs.gnu.org; Sat, 09 Nov 2024 22:37:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:48164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ylw-0000CO-Ix for submit@debbugs.gnu.org; Sat, 09 Nov 2024 22:37:57 -0500 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 1t9yjp-0007It-Bt for guix-patches@gnu.org; Sat, 09 Nov 2024 22:35:45 -0500 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9yjn-0008Md-Kk for guix-patches@gnu.org; Sat, 09 Nov 2024 22:35:45 -0500 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-720be27db27so2780855b3a.2 for ; Sat, 09 Nov 2024 19:35:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731209741; x=1731814541; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hIb9a+7C8btw9agDJVhT9RDdqsM74x0PPoEqBhyUXNA=; b=giZwyznzncfv3xLxy7Co7afPyoBh6UZvkJyS34I7OQbVVeM07KXsIVnOm8kEHiN5UW gepPmMcUMlyuHHujZsf/GCuDGIPr8dQTc3R8kZxFlqeZoQ5wMmd07aIJHsO0Ne8zrizU 5Gs7PWeQSwr/AqAmoN+CduF9Rvjt2yjCNtfNaGiPjlHCg6rB/iun4w3+oJUq2+TGPQUw GTCASCEI4X9AafW2dtUnxaNYMMMK6N2s3qY+wC9Ab6qdNeKhrKkrZnEFJO0tiakTrWu7 zV9GmMwMJjAkWKXeERXDAmN4/MpsMFLkJKXfEs1ZtnY8kVO7uiRurrq1XqoUztpVysro ojBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731209741; x=1731814541; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hIb9a+7C8btw9agDJVhT9RDdqsM74x0PPoEqBhyUXNA=; b=hCvVAHtAxtPg1elH9FXCZ9fDUQ0lTKvpMySJlCn7H3IsqPSMKCZXZwBk8Rjj0Y9lSL qqta6bU536r8/4kQ+KDzudv+BvdblZpnskl0K9UBfTLWUFVmhmn8FRQh3G2ffWkcD0M6 RrIXdKySGVUUDcqEoMgEdOcBqts5sbKT78Mx8qHVSCVBgUQ2wf54BM4GlCh1MeSrTLeu pJjpQXi8QqnOoafBvu3cw1Fvx7gvrzktD/f6eFsM/M7FkE2X/gc2294sn3NDUb0LZDiY +C20uKePf8fzzkKIHzSX+uZuV9afPEMFUhzqc6gOoWkQ/fElkpYhM151ul+npRBaXcjD u+9Q== X-Gm-Message-State: AOJu0Yw73NuP3v11s0DtbZhuWU2K7s/559mkauttXM1ypPRyItYAED8e AeYv88uuaHqkqOPenNV+duu4tAWllHcaVEv2YCXTbAlriqE6ctNOIFMNeiWo X-Google-Smtp-Source: AGHT+IFukkiOBkhF2vg0KfEmUK6JELjpGn1AVYtN6qJgXc+u9KaIHiu0dx+w6CvAh2ILiLiRJ+pHNg== X-Received: by 2002:a05:6a00:14d3:b0:71d:feb7:37f4 with SMTP id d2e1a72fcca58-724132a0015mr12501489b3a.6.1731209741251; Sat, 09 Nov 2024 19:35:41 -0800 (PST) Received: from localhost.localdomain ([106.104.151.171]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72407a56a3esm6321775b3a.176.2024.11.09.19.35.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Nov 2024 19:35:40 -0800 (PST) From: Ting-Wei Lan Date: Sun, 10 Nov 2024 11:31:57 +0800 Message-ID: <20241110033204.214979-1-lantw44@gmail.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=lantw44@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * tests/gremlin.scm: Include stdio.h before using puts since GCC 14 no longer allows implicit declarations. --- tests/gremlin.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/gremlin.scm b/tests/gremlin.scm index 3dbb8d3643..280b1d8819 100644 --- a/tests/gremlin.scm +++ b/tests/gremlin.scm @@ -136,6 +136,7 @@ (define ground-truth (with-directory-excursion directory (call-with-output-file "t.c" (lambda (port) + (display "#include \n" port) (display "int main () { puts(\"hello\"); }" port))) (invoke c-compiler "t.c" "-Wl,--enable-new-dtags" "-Wl,-rpath=/foo" "-Wl,-rpath=/bar") @@ -164,6 +165,7 @@ (define ground-truth (with-directory-excursion directory (call-with-output-file "t.c" (lambda (port) + (display "#include \n" port) (display "int main () { puts(\"hello\"); }" port))) (invoke c-compiler "t.c"