From nobody Sun Jul 07 10:17:11 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WH38S3DkVz5Qp0N for ; Sun, 07 Jul 2024 10:17:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WH38S0Xtsz4QCm for ; Sun, 7 Jul 2024 10:17:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720347432; a=rsa-sha256; cv=none; b=a9RKYVUAEJ4FAe2oJVGzmGq6uyHJQCWNYWh5OSfBaVr7SWeRxG+XrRecz/8ZxiRjmgIWe+ mkwf3T5YhuYpHanCfomBdhq/xkynPrcSU9mu0V/Udrk9BV/+SzgU017ZF47Ocnn30qRn2E V3PrYtrxUSwY2mpgHnqQqbiWNyxCjoJ6H8KQwWPBVm+wSbpnBqHU9rAJQNbkCln24WJL0m Dz68Wi0aGjoIaLkJPmabWRRSeT0h2DNPTVw7NZHUSf4yV6dLC+QYbLj8slEgdrRPnY70tV jKNuZQGzxKvhy5X2yopa9MsP7bZgXFMjrVmfdTBGg8J1CZlT+HgDfYdT7yeYWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720347432; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=trzTkHxe3mpl2AGaHwvf69102opTVAz9TqboHyUosUc=; b=ESxzt3bPHnwSCdFOyVt3OwGC7DesrOGgaoDy58HHCvE5hLoJSjdyexrp5bES6mKDsUviAr ocgN4hiDoJb7NzEyO0yaYfmavlVvBvLJv8qxwZA4rzfH25c1/AjpqDwtHVsgNN8fT/9kPx WSTN8xzWJd8xgGhEu++Vcip5nbP3q+KOTdoWaPvAFMUhFNtpnP//S67L+P1/kwnAix/KWm m6VF8NUpfXDKRPCIzdVfmD6ZDGbr6H7hVWnSFBKdmr+EJVny6hRoBXinhQRbWqMES1vZvs MkQy67PB00Du+vy0sw/3DD60JKYsJNMj4jQvXd3vRO1P4+GgilyUwibEM+4Bdg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WH38S04jPz1Jks for ; Sun, 7 Jul 2024 10:17:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 467AHBbO075463 for ; Sun, 7 Jul 2024 10:17:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 467AHBC6075459 for bugs@FreeBSD.org; Sun, 7 Jul 2024 10:17:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280170] FreeBSD clang over sshfs changes date of input files, causing always-recompile Date: Sun, 07 Jul 2024 10:17:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avuai@gmx.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280170 Bug ID: 280170 Summary: FreeBSD clang over sshfs changes date of input files, causing always-recompile Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: avuai@gmx.de To reproduce: go into a directory that was mounted with sshfs echo "int a;" > my.c (empty file is not affected) note its modification date with ls -l wait until next minute or set a past timestamp using touch -m clang -c my.c note that my.c's modification date was changed by clang This causes a Makefile to always recompile I don't know whether the root cause is Clang or sshfs but it does not occur when nano opens my.c It does not occur on Linux when I reverse the sshfs direction between my machines, but see version differences below FreeBSD clang version 18.1.5 FreeBSD: sshfs --version SSHFS version 3.7.3 FUSE library version 3.16.2 using FUSE kernel interface version 7.38 mount_fusefs [fuse4bsd] version: 0.3.9-pre1 Linux clang: Ubuntu clang version 14.0.0-1ubuntu1.1 Linux: sshfs --version SSHFS version 3.7.1 FUSE library version 3.10.5 using FUSE kernel interface version 7.31 fusermount3 version: 3.10.5 --=20 You are receiving this mail because: You are the assignee for the bug.=