Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1shTJT-0025VA-UI for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Aug 2024 12:22:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1shTJS-00CiFt-2P for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Aug 2024 12:22:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1shTJR-00CiFY-OL for pgsql-hackers@lists.postgresql.org; Fri, 23 Aug 2024 12:22:42 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1shTJP-0013gp-8p for pgsql-hackers@postgresql.org; Fri, 23 Aug 2024 12:22:40 +0000 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5bef295a2b4so3140915a12.0 for ; Fri, 23 Aug 2024 05:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; t=1724415757; x=1725020557; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TxRGpKg+NKzhZ6qyx399SDB65DFcrFX8Vdptb/vANX8=; b=g0cQo0GmH7ndspHIy5YSqI5pa3VMs/L5d+YRRmLE7fuE3TOlwYloX+S9qCfqhOMW90 NVB9FZ2ILZ/Lj8TZd/RZeR7Lius5cN9nyxqnsx7Ln9FRn8fFJ2HoxUxq21646g0GDR01 7D2lahc8/ULaEyrfDF04IERktoWwvTfZr6CHQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724415757; x=1725020557; h=content-transfer-encoding:cc: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=TxRGpKg+NKzhZ6qyx399SDB65DFcrFX8Vdptb/vANX8=; b=cFrN/hrmKCN8Ph1/+d16YHUb9sy+/y6C037CKOFadmT/NsruaTdylyBFqa4pmeJ6xW M2Xqx/Mr9p8zPNva8I7lG8lQNTuWlvHvfCXqPhxUcawpm46Xy6sUuqfbiGs8OVzcHGQi CNgni+kXSI5TgikLNjQV1IUvzuoXQDIkQ8xmvKpyO/vWqarpRjcWDkeJptocIAcGtrXl D3qIdDS/kMYwjHxbdqs6OEp75beqBEFyOOBuP2re7/FFezGMkbR6+Te2YOkCsaIcu8le Ik0lx1TTp3PkmwoPD3cqgOvJft59R3UU1pwpglHPHwibFKD2TRJlf4qBreMHk66Bv/Bl yNXg== X-Gm-Message-State: AOJu0Ywy7P+O6DYJXUT2qyzfMec+hI0wsLEh3IHeHXZziBG6njTFsbxV mlKCDGdsLVZOBJsFVaqwmhMpdu4LMFVPdoDjPmnJE8YKbyeAfUpBdljSuua5Uktpr3j5HYzzqGV //YaGpoiCnMbvfxtmL+UC0VZhYqtlUPfNfkCQjg== X-Google-Smtp-Source: AGHT+IF6swZX/kvhMMpn9J50IzpWZ75+4YXbPBzvl8XOKn4gR2sBwZhx/qgCzrBbhwJC0RFv3G/qAkG8UG8qO72umMo= X-Received: by 2002:a05:6402:2345:b0:5be:e9f8:9ba4 with SMTP id 4fb4d7f45d1cf-5c088114571mr2560494a12.4.1724415757035; Fri, 23 Aug 2024 05:22:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Anthonin Bonnefoy Date: Fri, 23 Aug 2024 14:22:25 +0200 Message-ID: Subject: Re: Segfault in jit tuple deforming on arm64 due to LLVM issue To: Thomas Munro Cc: PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Aug 22, 2024 at 12:33=E2=80=AFPM Thomas Munro wrote: > I fear that back-porting, for the LLVM project, would mean "we fix it > in main/20.x, and also back-port it to 19.x". Do distros back-port > further? That's also my fear, I'm not familiar with distros back-port policy but eyeballing ubuntu package changelog[1], it seems to be mostly build fixes. Given that there's no visible way to fix the relocation issue, I wonder if jit shouldn't be disabled for arm64 until either the RuntimeDyld fix is merged or the switch to JITLink is done. Disabling jit tuple deforming may be enough but I'm not confident the issue won't happen in a different part. [1] https://launchpad.net/ubuntu/+source/llvm-toolchain-16/+changelog