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 D119F44F62 for ; Mon, 12 Dec 2022 21:02:12 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 572A268BE06; Mon, 12 Dec 2022 23:02:09 +0200 (EET) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 14D2A68BDEB for ; Mon, 12 Dec 2022 23:02:03 +0200 (EET) Received: by mail-pg1-f169.google.com with SMTP id h33so9056848pgm.9 for ; Mon, 12 Dec 2022 13:02:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=rWLBh0nbU/fM7NZN513FbBwVVTWKdeUM8ex3RQdEoWE=; b=hmuI8PxSvS5oRBvAIHoAJ1SPcDOTbf0FFlZFpVEuZXoRGDQWSVGnX+6qDFeRqXQpiO kv2eT9oq1ozrYAOl2lYp/Gw5tMIUJ/bnVDIwqp0kdfrCMo4UCkSScc+1p5SyiVjEauEJ Vls7fx1k73nRlRsGWvot/RiIK3FWeOa12BUIZALSMX3mmGGD2TUpkLREVg6O37Nzjf9A Z2DJP+i1YeQJa596fsRANJ0VHegfyl88sbp7XOxGxgszbBNzSJ9JJ13Gop2LJvzRJ/tw Zlv5oxmJqKDdDfMkx22vzlNElcPqjwNXK+/9ABb5IDs7Buyq7DQXFwdbC3zpffuEGKmr otQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rWLBh0nbU/fM7NZN513FbBwVVTWKdeUM8ex3RQdEoWE=; b=J1LTIWSuWZJSx0AhFww1/ajty3xMhZBgo6P7lQBxzMp2TUU3lbViQaO6ntQ9KHCwYu x/RSbXLmmhv2Io6OkrO+0vdih8n1E550iHog5UDzDx3mPr7tBnE0vRkMib59HA7F3QUS axBHElkpfnZEU7RGVm8b0xFRiMKzPRErT5LajKI09DjbR2DAYqG8k5MxRwrB6c682ypk CHuFgN3elx3n1YvAypf3N0nvc0HLmpTcEM/dVoVSvHgcSx8yLlxefBXTljaHk2cIub5Y mG+gkkSzyMQUvRa5wbVc6189AbCKTeBhlxG78hWwYGlT1yQyUhpsTxIc6TsBhsciML4z QWnA== X-Gm-Message-State: ANoB5pkN4wmF5foNcpCBSneQEzhSn4o9S1xcgTSIf8m5jxzZcMXjWGRI DbTX7BxfURdojsnP65ADNJSMjQNmf67Bus07OQZSDMOp X-Google-Smtp-Source: AA0mqf5wdavNjGDdb74YOIRv/bRJvOuDzefssJ3q9C17ID6x5KcDkce/r1EJgvl23WQB0H5ZBlq2v+09vP/4KJPog1c= X-Received: by 2002:a65:6904:0:b0:479:52c0:2e7a with SMTP id s4-20020a656904000000b0047952c02e7amr183764pgq.51.1670878920728; Mon, 12 Dec 2022 13:02:00 -0800 (PST) MIME-Version: 1.0 References: <185cfb01d90e57$c22e5420$468afc60$@gmail.com> In-Reply-To: From: Thomson Tan Date: Mon, 12 Dec 2022 13:01:49 -0800 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH] configure: Change _cflags_noopt for MSVC to -Od 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-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: I built the latest FFmpeg with WSL2+MSVC on Windows. Tried configure with --disable-optimizations, but still got an optimized build which makes it hard to set breakpoint on hot functions (likely inlined). On Mon, Dec 12, 2022 at 12:49 PM Carl Eugen Hoyos wrote: > Am Mo., 12. Dez. 2022 um 19:30 Uhr schrieb : > > > > Currently -O1 is set to _cflags_noopt, but -O1 is actually for size > > optimization instead of no-opt which causes size optimized binaries > > been built with --disable-optimizations. > > > > Signed-off-by: Thomson Tan > > --- > > configure | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/configure b/configure > > index f4eedfc207..388d518345 100755 > > --- a/configure > > +++ b/configure > > @@ -4825,7 +4825,7 @@ probe_cc(){ > > _DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -showIncludes -Zs' > > _cflags_speed="-O2" > > _cflags_size="-O1" > > - _cflags_noopt="-O1" > > + _cflags_noopt="-Od" > > I am curious: > How did you test this patch? > > Thank you, Carl Eugen > _______________________________________________ > 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".