From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 7CFDF404E5 for ; Tue, 21 Dec 2021 01:53:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E3DF168AFD4; Tue, 21 Dec 2021 03:53:00 +0200 (EET) Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com [209.85.222.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 834C168AFB4 for ; Tue, 21 Dec 2021 03:52:54 +0200 (EET) Received: by mail-ua1-f49.google.com with SMTP id u40so21030913uad.1 for ; Mon, 20 Dec 2021 17:52:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MfsQMPkpkw+9HWw0HxhLxxxqo0tJJLDmuY7i7gI82Ac=; b=O+HunMlGmaZrML3SWzYjKO2UzWLdRXCAoBHOzvYSGfw1PgmZ4CBIFX5qcdhcpoSiyh Yym+nKbHmhVmRfQTk9rzHQ4QFSWI5SDJSGA3mSYRSZ82Hds1+vn3uhOfVf/UKdC3/zmx IjaPPwQDz4cmC0+Nd+YsPtUPiAVpgtOO1JCZKItWVu8OnroU38/UWCwzW749sy3JFPem yDzns65Bg4iIAnAg6a2nAwpuHsaSDyI7ZwaUWBIDqDSd2m90tFHGF3R4XJ9tDdZkh5sk ZuIYiiOxq+XQXm4D8u5YQz3/ImYjVJIopbJsm9ihTJno+8bSnhDmhUi4umr0rm/LhIGe i7oQ== X-Gm-Message-State: AOAM530i4yCv2zX9XNBmPjJ2bNrY+Y40VcreWOxMNLaS4cmPP5qpOZON RDaKP5suxKgWIo7be+SwQ4QSt7hPOuXDS2C+lBc= X-Google-Smtp-Source: ABdhPJzG6Ia727/qck8R0FkYhPzGnMS+8PjxbyI9HQJ5+/NMtnqYVDOy8Ql6XAxfkbgIvtYqmLAT6tU3cuRUByxs7Bk= X-Received: by 2002:a67:d51e:: with SMTP id l30mr401159vsj.1.1640051573168; Mon, 20 Dec 2021 17:52:53 -0800 (PST) MIME-Version: 1.0 References: <5fb60616-5ded-1b3a-255c-14deb44924d9@evermeet.cx> In-Reply-To: From: Aman Karmani Date: Mon, 20 Dec 2021 17:52:42 -0800 Message-ID: To: Christopher Degawa X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] commits ecee6af8bd and 4ac869ca2a break build for macOS X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Mon, Dec 20, 2021 at 5:48 PM Christopher Degawa wrote: > > > On Mon, Dec 20, 2021 at 7:21 PM Aman Karmani wrote: > >> >> >> On Mon, Dec 20, 2021 at 5:03 PM Helmut K. C. Tessarek < >> tessarek@evermeet.cx> wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA512 >>> >>> On 2021-12-20 19:11, Christopher Degawa wrote: >>> > So I've exported "LIBRARY_PATH" to >>> >>> I'm sorry to say, this is a workaround but hardly a solution. >>> >> >> No one said this is the solution. We are just trying to figure out what >> is going on, and this added information is very helpful in that effort. >> >> >>> Before these 2 commits all worked perfectly. Now it doesn't. Tweaking the >>> build env is not a solution. >>> Next time someone commits something, are we supposed to tweak it again? >>> Where does it end? >>> >> >> I'm not sure what your point is. If you are having trouble with those >> commits, then you can use an older version? >> >> Or you can compile with `./configure --disable-metal` to disable the new >> feature. >> >> Obviously the code worked on both my and Ridley's computers. If it didn't >> work, we wouldn't have committed it. >> >> Once we figure out why some computers are using the wrong metal binary, >> then we can fix it and commit the fix to master as well. >> > > > Digging a bit into xcrun itself, looking at > https://real-world-systems.com/docs/xcrun.1.html, it says > > > The SDK which will be searched defaults to the most recent available SDK > > and > > xcodebuild -version -sdk | head > iPhoneOS14.3.sdk - iOS 14.3 (iphoneos14.3) > SDKVersion: 14.3 > Path: > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.3.sdk > PlatformVersion: 14.3 > > Which I'm guessing might be the reason, but still doesn't really make > logical sense and running > > xcrun --verbose metal -v > ... > xcrun: note: SDKROOT = > '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' > ... > xcrun: note: lookup resolved in > '/var/folders/yf/4yc0fdvx7zv1t17w41kxmr0r0000gn/T/xcrun_db' : > '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal' > Apple LLVM version 31001.43 (metalfe-31001.43) > Target: air64-apple-darwin19.6.0 > Thread model: posix > InstalledDir: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/ios/bin > > which also, doesn't make sense. > > exporting SDKROOT to `macosx` does make it show > > xcrun: note: SDKROOT = > '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk' > > xcrun: note: lookup resolved in > '/var/folders/yf/4yc0fdvx7zv1t17w41kxmr0r0000gn/T/xcrun_db' : > '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal' > Apple LLVM version 31001.143 (metalfe-31001.143) > Target: air64-apple-darwin19.6.0 > Thread model: posix > InstalledDir: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos/bin > > so, I'm not sure what conclusion to bring from this. > Thanks for digging in and documenting this behavior. It seems like a bug in Xcode to me. Perhaps it's fixed in newer XC, which is why we're not seeing it? It may be worth filing a radar either way. > > >> >>> >>> >>> - -- >>> regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 >>> Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 >>> >>> /* >>> Thou shalt not follow the NULL pointer for chaos and madness >>> await thee at its end. >>> */ >>> -----BEGIN PGP SIGNATURE----- >>> >>> iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAmHBJ/EACgkQvgmFNJ1E >>> 3QDsJg//WzTdNngpbNhCihB0foMLjtL687/1FWqZKPfsCx5pvvLZq/Xj8cd1G2G5 >>> XJOehG1YYkjKXE+I1oWBrRxxQ/1mkW49DjX6jyzGUFPvEV+e0yf6f6TUPrE9IYDw >>> nFkIq25rjJMo/+IPxklHw1bIuZxoqo4ohgYHfmcyYJWOPDBXRWCd93GJkbWJy3Cv >>> fRRp4/gIeQJJzlld1ISqGLP6GDIwrevtW7oUwUZbwIWvnJyl25UdnHLAMl82fQPu >>> QnCEuWgRODXI1eaYNXf15MwD6gGy39n7njon4AJ5C63678Yc2H0FfVh6wI9lIv1e >>> LR6WY942ziQx8uqr3y/2IV5wGDSvLZqyEvCMSh199xTcJdfL4WNEZlNS8hlWxN51 >>> TfLHBLpjJHqEq2i6+hyaYF4Y3M9ctRa/JVjv1EjciXFWzMx2Ddhehxv0TPu1tY0A >>> UxiQ0By0hJhZDDzOPxez9DgCs/ecmIcUxq4mKuk6KXLIBfJqFrNIN/Mzsn7hBOI7 >>> EPLui0+Jo+cWB3AsDRIGNO9UwN+gZAGKxGHt9U9//Af5rzzY0TQ09Z+To14BxD0V >>> lTqDp69JlsutJIpQfOywkPb5ExaFgX7vYZmXEb1f05zlIScIeBRdPxKJ9Sip2Cyo >>> AVzTsQIDTGkNM3KUJE8m3EgrX8V+gJOXKtfK+phUr5YvyhP5IpE= >>> =maKQ >>> -----END PGP SIGNATURE----- >>> _______________________________________________ >>> ffmpeg-devel mailing list >>> ffmpeg-devel@ffmpeg.org >>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel >>> >>> To unsubscribe, visit link above, or email >>> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". >>> >> _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".