From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WDkkDqcqMGdorgAAqHPOHw:P1 (envelope-from ) for ; Sun, 10 Nov 2024 03:38:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WDkkDqcqMGdorgAAqHPOHw (envelope-from ) for ; Sun, 10 Nov 2024 04:38:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=H+3tR0tJ; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=giZwyznz; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731209894; a=rsa-sha256; cv=none; b=QzgPGAOefA3iMgRi9E6wN8PvtSJAYL9TIT0wsZo8uH+vxqvMPLLNFvBjXa8IglTYjmC8fZ 8KtGQHhdzfTPNHxBe/KN4+Azdv9eADeuuFmbbb8TajKUMSkntid4IxdU3j67ShRih/K79p 5GMHWKsoyO3hFB9FWH4nqOYGmcEfcfDq78VXuJqLxHlP5xNbQZf7Q0pCMn0y0VnWxwvVTm VSC2/oKDrOAcWOuCnC2KNBN4knCynHd7Vm3YgBddOZgrW3ZkHYoU40U7Wqd0k0xroBrYyO 55Yj4dqJEcuUODZa17xdDiQssEeZIevFFNlr4x+UcxdBOrK2d/CiG7X9GOOyDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=H+3tR0tJ; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=giZwyznz; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731209894; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hIb9a+7C8btw9agDJVhT9RDdqsM74x0PPoEqBhyUXNA=; b=tzI6uPjwtk89VhyoKDZwIX6jNoxnuFaVuPaBT4XuBccFk24zy8C9zwpLke9xZCQi/IIzfB uBVy0ypmztzO/JuD6Z4T7FNMKUjjwED/c3JUFZHJBFeAwY8jeSSUCyH0+Uh2Wzj9tMWzpz qmHqYN6lnpcUsvlaCwOfz8Uswl09wpp7tSuPLAiTLBMuOQGbWYP2BHPmEVpezKIOwX+Zfi e5ZirwFdFjnPG/7/c8PhAbkG/ZTm43c4mb6EvNZu3cbqHS+XHeaOTbyB9t9BdGBy/JyUfX WqUTrfEdmvYxUHtE1aLiVFT7qFYzvFZqhWOKYKi+u2Ux5R+nMLUzEHxxSc8sEg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BED928622D for ; Sun, 10 Nov 2024 04:38:14 +0100 (CET) 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.15 X-Spam-Score: 0.15 X-Migadu-Queue-Id: BED928622D X-Migadu-Scanner: mx12.migadu.com X-TUID: lydnNR4Jhm5o * 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" -- 2.47.0