From nobody Wed Jan 10 07:53:38 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T90Rj2pd7z56LZs for ; Wed, 10 Jan 2024 07:53:53 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-vk1-f169.google.com (mail-vk1-f169.google.com [209.85.221.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T90Rh5pB8z4sZG; Wed, 10 Jan 2024 07:53:52 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vk1-f169.google.com with SMTP id 71dfb90a1353d-4b743ca0597so826107e0c.1; Tue, 09 Jan 2024 23:53:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704873231; x=1705478031; 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=oigOSO14k3tH3P1XQB4vgM6LK+1h7g4Aav4rFW0gS6U=; b=ca6scBGL+SZilktvBj40VDPc05I81VDzsSZ5LMpbG9dZiT0LhuO5UIkQgw9LPthUGR vieB4XaS21hGruNyWSr5FCnq208C+T5+lu0cQl4oU4V1RZdIsSCvhRx34lXzX8bGUVdV lWXC6lwYxfXs2+w0jOU+wAgZehErdJ1qNfdNreXQ/sgXCHxYqUXlEfOXceEEJcF5CF/m 9DWY1fp7eeDNUSXPYpGWqiaUc7hInuzgnyGa27pj4c8qVYFqC8VAgSV+ZPvI/jpxEylj GyXliyf7fDqO/ZRqaYNKqgPSSGFzcG+jW8EAg+kAG6akHmWALdz0DO3+m6qII3v7fbkR xNnQ== X-Gm-Message-State: AOJu0YzDblOe/oTMOMnfF9DjlF3kVY4qlyTprpKXlVHoczWBuPdSfg/E n0yWMskHrgrikAgK23tl+VTH+j0dm/m1ruSDuQc= X-Google-Smtp-Source: AGHT+IHcTo5t9C28qu5/HfYMB9n7YBb2QgFZH7oHjdBhDv1QVcUvxnZO/D/OHqH3w2mNJ+V1HnbO8YAsWZmuFkDFXAI= X-Received: by 2002:a05:6122:305:b0:4b6:d9d4:7516 with SMTP id c5-20020a056122030500b004b6d9d47516mr283363vko.17.1704873231441; Tue, 09 Jan 2024 23:53:51 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <06381879-c328-4051-bb2f-9c3620d90fa0@sentex.net> <4a0db68d-bb13-4238-a251-74d02ff14a17@sentex.net> <04837a47-a39c-40c5-a045-2d27fb3893ac@sentex.net> In-Reply-To: <04837a47-a39c-40c5-a045-2d27fb3893ac@sentex.net> From: Antoine Brodin Date: Wed, 10 Jan 2024 08:53:38 +0100 Message-ID: Subject: Re: clang 17 and ports fallout To: mike tancsa Cc: Dimitry Andric , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4T90Rh5pB8z4sZG X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] On Tue, Jan 9, 2024 at 2:19=E2=80=AFPM mike tancsa wrote: > > On 1/8/2024 5:50 PM, Dimitry Andric wrote: > > I fixed a lot of ports in the run-up to merging llvm-17 in 15-CURRENT, > but I could not get them all. > > The preferred way is fixing the port by removing the undefined symbols > from the linker version script in the port, but if that is not possible > or difficult, add -Wl,--undefined-version to the linker flags suppresses > the error. E.g. in the port Makefile: > > LDFLAGS+=3D -Wl,--undefined-version > > For an example, see: > > https://github.com/freebsd/freebsd-ports/commit/37790b26cbda11cd4bb6f237b= 86cd94739c4059c > > Thanks very much! That did indeed fix databases/rrdtool and and sysutils= /flashrom builds. What is the best way to flag any such issues ? Just ope= n a PR for each individual port ? Hello, databases/rrdtool builds fine on stable/13 here: https://pkg-status.freebsd.org/gohan04/data/stable13amd64-default-foo/2024-= 01-09_21h18m24s/logs/rrdtool-1.8.0_2.log Antoine