From patchwork Wed Sep 11 21:09:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 51551 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:612c:14c:b0:48e:c0f8:d0de with SMTP id h12csp1222902vqi; Thu, 12 Sep 2024 15:44:14 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUwTJyw2e9T/CtsdTfyEA84TLuJo42dcgTD9oCilQ6gOOaBPyxPJCV5TxUOIk+sD2vYYE0c2d+9DkSbxDDxaAsZ@gmail.com X-Google-Smtp-Source: AGHT+IERYSBxhyQkgpJxeizOx3RjH9G9ez/BVMRTV+N6gX28rWJeInNCn5lsthYt4J7Vr5tK3cR5 X-Received: by 2002:a05:6512:3f01:b0:530:c239:6fad with SMTP id 2adb3069b0e04-53678f59688mr2814358e87.0.1726181054409; Thu, 12 Sep 2024 15:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726181054; cv=none; d=google.com; s=arc-20240605; b=Qru+MDaS5F20qV/i7nw199+DMhqrrjxM23J7HQ5c6QXzKyAlvBx1mxN5IF8eVMtpez IYLSarAFua2jE5V9gCz8DUzZ28hSTLu4iYsgk9f4vQhBgL3iHihoXD8CtDhKyv1ThWbx C9+xXdhk+Isg0DtY8s7pq2yFZdNoPbJMWER3DbAgoyq0rYF2juAGGK49+rX9fs2iKNy6 hFQ2QEoSTde69AWTk07xEmhWeMPxtD+Gj5zdwevaut//4wFPETBXz2sMYUfEigwqsRxK xfWdzmMLsozz3t5EC6+jpHIXna6VTTrrZ6nuQb6D6NJ669/c7yoOdFW8RHDExvVwLZNW KGjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:date:from:to:message-id:dkim-signature :delivered-to; bh=6bk0kstJpLbCGdY9bC4FFojFp/mkVVXV7DRZOcL9M+I=; fh=5IeVwzS1vbVKjIV8MP3mnmnRtZGb8uteQ9r4QD2keV0=; b=itVzl0huz2ObA5Z2otYZtu7EfiwS0mR4hTsq/cF5fGicxYc77pJBXh4A5HcxpcK+Gm BO0Xeji2gUyJ2qc32vPqPjNruvH4XbX/2yDQkuJJmJVlNDxY2NOEH1Tv00f01gJy7PIn 8ZkyBEI1/3Rn+hWa7OwcKqTMdGviy8ddowTFx4s2nBH/oOp+FJnhDHhR4BapmFNgKLbE iO8EzaIXuyXB1r3JYzAEqKxSC4MFC8wVA2NcPBYkAtmSRqQn5nYlkwPo+eHxUiEdNKCi Be4tmVpeblyEE2aM8jChizQGLkRUIJnyon5fuI5/xB9VIvXavD5YqwYF068yZuI2lSWF fhTg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=cXJ4FRHX; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a8d25d99ed1si929064366b.994.2024.09.12.15.44.14; Thu, 12 Sep 2024 15:44:14 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=cXJ4FRHX; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 424E768DDF8; Fri, 13 Sep 2024 00:48:48 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B100D68D51F for ; Fri, 13 Sep 2024 00:48:41 +0300 (EEST) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42cae4eb026so13831875e9.0 for ; Thu, 12 Sep 2024 14:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726177721; x=1726782521; darn=ffmpeg.org; h=subject:date:from:to:message-id:from:to:cc:subject:date:message-id :reply-to; bh=zmYp+HoMf6j9iQL1O4FGrnMg35hVhZqWobafXgIP1iw=; b=cXJ4FRHXwJxgyjzjIgpLaFZ8a/bzfNQ2TL9u22g+x20kwVVN/Q3SMD4B3ru4GxVT/4 Z2QYwStR8yyp+HW7Ay2Ufnff5qwDavfjl7ZyZrTre3WsHEjZ2GHKQATBt0usJJQqaZi3 nkQTjyYTmdmsIdu+0IWkRjFOd4s0soGnly3Fbuhxj5M2if7KN7Tujrb37m4WH0bprTZS TEoaOcSVJAXc8oZTywxO/RhViVNgkD8u6rkk0kutQ/meuJB8GibiphrwZrMeEVSUcp0V hE+0owJqHfx2Fwfz4NKsYZrBBbE+Gr1NvAmO6CNRMkhMO9zW+TBNEaEnRgxcjdTihxTl oNdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726177721; x=1726782521; h=subject:date:from:to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zmYp+HoMf6j9iQL1O4FGrnMg35hVhZqWobafXgIP1iw=; b=RzYoQgBTJoWA5tiI6LuZ1Vtz44OuM2bDDkO6dUdjRmMHNN5wy3CtD6vLE/SpvD/zaE v6sonIOUiiCH+/isQJ5UkROe0FnqOyJzUWWp8CyhD6FPaLVFH74z4vXVFAKo6QfbzLFy ORC3+tc1s9nLfSdt4muTHM6/Z9scPoZnppCrxLJdV4WpuLwGeCE8gc5pR62lyQMJ5wHD +EIcMkfh/1+4dDfb6lVw5VqZ5gyTWoMvRmPBJozphWno3W1Lrf/6Jnz/jkyEREuZxd61 y/wcmKWvky+88qqyz0xVKEb+Ye4VhCXMH7UvJJ1sHRUX1Vw/pD2/igCddqL/DAk8RVuG wNRQ== X-Gm-Message-State: AOJu0Yx7lXY3ku8DrT88jcFSiRsybriTi427+83q00eX+XuQVxV5/qKj Zq6St5XU0yuwJt+kxeReINxqLHjqa4NBjUSS4W3P6yf29yFH0jK77QWQHw== X-Received: by 2002:a5d:4e81:0:b0:378:90fe:f753 with SMTP id ffacd0b85a97d-378c2d11838mr2739888f8f.28.1726177720066; Thu, 12 Sep 2024 14:48:40 -0700 (PDT) Received: from localhost (p200300cccf026100499a02dfdfb9f5bd.dip0.t-ipconnect.de. [2003:cc:cf02:6100:499a:2df:dfb9:f5bd]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42d9b181866sm3706715e9.41.2024.09.12.14.48.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Sep 2024 14:48:39 -0700 (PDT) Message-Id: To: From: "Marvin Scholz" Date: Wed, 11 Sep 2024 23:09:34 +0200 Subject: [FFmpeg-devel] [PATCH v3 1/2] configure: fix symbol prefix detection 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: ddDDnHGNmik0 The symbol prefix check would incorrectly detect a bogus prefix in circumstances where sanitizers instrument the build, like when configuring with the clang-asan toolchain where it would detect the prefix as __odr_asan_gen_, which is obviously wrong. To fix this, adjust the prefix detection to only detect a one-character prefix, which is the only case that matters anywhere right now. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) base-commit: ca77fc21774daac141664818db871d9df493eb3a diff --git a/configure b/configure index d3bd46f382a..ad5bf6d6844 100755 --- a/configure +++ b/configure @@ -6131,13 +6131,15 @@ enable_weak_pic() { enabled pic && enable_weak_pic test_cc <