From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 533204CC20 for ; Wed, 28 May 2025 05:54:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 0A11468CAE0; Wed, 28 May 2025 08:54:49 +0300 (EEST) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 916EA68C23D for ; Wed, 28 May 2025 08:54:42 +0300 (EEST) Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-553280c345cso1784032e87.0 for ; Tue, 27 May 2025 22:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1748411681; x=1749016481; darn=ffmpeg.org; h=mime-version:references:message-id:in-reply-to:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=XncQA/Vpt9BG9EqcxsAWi22Ypg+Jn8hmB0hAiWE0UDo=; b=SlDoLiMtmu1HpRwTeWfB/L1bx7nw6d7v+F61CdyuNqStWYtTuLmOhcq+p4oHYSGiNP yKkeaBWPaxs7AB7aiH/tNU614HYNuAuvwRhIL+Prt74EBB10K6XWkJgEb8Kz4cu02Guj QsZs21kOLKYuzPRMqkRLANMY2kr2rtJ4dIhRfRJ6OjzNdYQzTKQhFmrfWw+Cv2FH809q B2m3fb5BGqU2go+8U91wJH5kXr3txP7i2uxir/7mIi9hotDs7BaJ9J1VjRtBAvpBcMTe bo0C+kvrgZH9ceXJH4LAN0PtXuRSU0rj/5VQgYs8uGGgYtMjxvIUZDOjuOEEVQN+eVCG EVeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748411681; x=1749016481; h=mime-version:references:message-id:in-reply-to:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XncQA/Vpt9BG9EqcxsAWi22Ypg+Jn8hmB0hAiWE0UDo=; b=NlXktUrIuSDZsFhjNilVIkP0Tr8GeSdyCTLOzlcQZ5mjPDyV2vAm7VCW8xxXNG6QJE e985zD8YQmwdcvCAITj9WyFvCTjvO41J9PoEXtiH34CtcN5YaaY06PuY9Z8QljNAYDCf jBZlGI/DgTjb5/mVNuJKRq6NgMobtJzSEZdzpcHtdMsaB9UupmqEs/cVHHrD93k+VF7n byFyw4TwqlV0Pe1p+xQLRORR9Q9jmhOmx2tXS5x3OszvXz6WiBvwLcsYcwlAolUjmf1v G4Sc4alw4788+Tym3yKDO/Ae+1OxTiq1T4h1DhrNlK2Xqn/9OFzbnvycLXqrYweG8bI4 epOQ== X-Gm-Message-State: AOJu0YynhEW6g+ol9CPqtvEHduEh85MxcttpDn8su1vUGiUqdy03eCPp 10kqI4DWHe/4itR7oB5NDxufbNwFJlMemHLDlAEdfVRJWdodVy0PlUyxeHmqfGl7CvluwDcUdGZ fX/nBoQ== X-Gm-Gg: ASbGncu6BKvazYcsyQzTepxAUZlOThNtGp4GWMMUkUZ6xEhQsngu6TIM64XZz38PsvL TGyk23cGuhcM8xfJhgIiqwVqIhpjAQIilV4yR5LIXnOLsDmD6oZMGZqdN+Z7/e3Z6pprPYG8aG+ Wx+bCfcw6lX/YRSa7vZUlrvm2H/BqEgfulE4cQ0+ZFtWZu5y8nuwfZXljUjp2pmAf/Jbh9TX6oQ qtOY42DZxM4445uDDXW1FE2aK53aTa8vljLCgr4+9r3qeVboFovxpA1kfGE87DfOE5YlvJ3lEsA Q3NzygJRbV3Ltlvxm5FdaPHIqYz53B5SgBXn0TzPvXd9gScoSrV0G2VF79Jq9trXNyvB+Y2l9BK FfntRMsn3sEDekuy/0i9i1TDsgwdzb7SPX7DBjRoAZKn6QBw= X-Google-Smtp-Source: AGHT+IHJ8tfYc0Ik6UkjohDIbMdBYj7bpbAPEGhMs0tjcNMC3nAALbNRdg5b54ZGZFQtO3fd8yBstg== X-Received: by 2002:a05:6512:68f:b0:54f:cc4e:a9ef with SMTP id 2adb3069b0e04-5521cba987cmr5131006e87.43.1748411681086; Tue, 27 May 2025 22:54:41 -0700 (PDT) Received: from tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net (tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:11::2]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5532f6b5596sm121449e87.232.2025.05.27.22.54.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 May 2025 22:54:40 -0700 (PDT) Date: Wed, 28 May 2025 08:54:37 +0300 (EEST) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: FFmpeg development discussions and patches In-Reply-To: Message-ID: <6efef34-9a72-536a-9112-67646471e1f7@martin.st> References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] Building for Mac x86 with GCC & NASM 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, 27 May 2025, softworkz . wrote: > Hi, > > I have an issue with the CI builds for Mac in a way that it prints > tons of lines like this: > > ld: warning: no platform load command found in 'libavcodec/libavcodec.a[1008](sao_10bit.o)', assuming: macOS > ld: warning: no platform load command found in 'libavcodec/libavcodec.a[1009](hpeldsp.o)', assuming: macOS > ld: warning: no platform load command found in 'libavcodec/libavcodec.a[1011](huffyuvdsp.o)', assuming: macOS > ld: warning: no platform load command found in 'libavcodec/libavcodec.a[1013](huffyuvencdsp.o)', assuming: macOS > > > These are all about X86AM output. I've had those lines for all .o files > before and was able to get rid of them by adding flags like below. > > Does anybody know how I can avoid those lines for the X86ASM output as well? > (don't know much about building for Apple) These warnings appeared since the new linker in Xcode 15.0, 1.5 years ago. I'm not aware of a flag for silencing these warnings; the only way I'm aware of is to force using the old linker by passing -Wl,-ld_classic. These warnings would go away of nasm could produce the right platform load commands; this is https://github.com/netwide-assembler/nasm/pull/13, but there hasn't been much progress on it. (And since the macOS ecossytem mostly is moving away from x86, I guess there's progressively less effort on it as well.) // Martin _______________________________________________ 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".