From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cNbsDuLKBmZuAhsAWB0awg (envelope-from ) for ; Fri, 29 Mar 2024 10:06:26 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=qVgXFKZi; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2B1D61E0C0; Fri, 29 Mar 2024 10:06:26 -0400 (EDT) Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id AA0411E030 for ; Fri, 29 Mar 2024 10:06:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1711721183; bh=nvp9eWXj+I+yQmSO7MJ/jFKkvaxvmSQGGEGYkWsTORY=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=qVgXFKZiKchQhL1/rTWGYJhT2ifBxbSoQIRh3cHOamUexXdvehKioFjy0IgRznumO 9EafAmP0BDbsL9ContX+PqfpZUB4s1Two0Y98cJmE7mJVG+NmXl5Kbdth9g4ESRSzl Cxl868uk9fXGG1Z29NClMTOjPbaldgHzFNEvy+uZMCru9TA6vu44uF+12KwkPFkegu ZV6Asp35WRGwPFju5GYSSETpjS1dvQCBC1Rf+/dxIwxMq9Yip3ipBAdZKyrE3mWjho p8fawcRpF+sJvOdT3QHWLtIZihOn1ow2sve81Q5zbnEyh5RqSm7H3q0e3h0lKXQrDi LJJDk3nTtvOtA== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4V5hz30zc6z2YBb; Fri, 29 Mar 2024 10:06:23 -0400 (EDT) Received: from smtpfb1-g21.free.fr (smtpfb1-g21.free.fr [212.27.42.9]) by lists.lttng.org (Postfix) with ESMTP id 4V5hz05WpNz2XqT for ; Fri, 29 Mar 2024 10:06:20 -0400 (EDT) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by smtpfb1-g21.free.fr (Postfix) with ESMTP id E232683400A for ; Fri, 29 Mar 2024 15:06:17 +0100 (CET) Received: from [IPV6:2a01:e0a:255:1000:d488:d48:eaf6:3074] (unknown [IPv6:2a01:e0a:255:1000:d488:d48:eaf6:3074]) (Authenticated sender: duncan.sands@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 616D1200590 for ; Fri, 29 Mar 2024 15:06:05 +0100 (CET) Message-ID: Date: Fri, 29 Mar 2024 15:06:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: lttng-dev Subject: [lttng-dev] Compile fix for urcu-bp.c X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Duncan Sands via lttng-dev Reply-To: Duncan Sands Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --- src/urcu-bp.c +++ src/urcu-bp.c @@ -409,7 +409,7 @@ void expand_arena(struct registry_arena *arena) new_chunk_size_bytes, 0); if (new_chunk != MAP_FAILED) { /* Should not have moved. */ - assert(new_chunk == last_chunk); + urcu_posix_assert(new_chunk == last_chunk); memset((char *) last_chunk + old_chunk_size_bytes, 0, new_chunk_size_bytes - old_chunk_size_bytes); last_chunk->capacity = new_capacity; _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev