From nobody Fri May 24 18:55:27 2024 X-Original-To: freebsd-current@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 4VmDl21cX1z5LhhZ for ; Fri, 24 May 2024 18:55:42 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (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 4VmDl16txXz4NbT; Fri, 24 May 2024 18:55:41 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-f42.google.com with SMTP id ca18e2360f4ac-7e1c8692c2dso429241439f.1; Fri, 24 May 2024 11:55:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716576939; x=1717181739; h=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=bLyOjWSK4RMlFqqqW6ebbE1zVHJF1v99oOlMv9hOKOg=; b=d8UEOGxKOqE6oEgSS6f6FV+CIZAX9xidiLHV+hgX7v2TL+QHtrg81u5bx3XJ37RIH0 P3CVBbXwvdE9Wh2ZzZba6QOOlnVN/SXlOUaYAl5inam1LDp5XZFzwMSgX9b/ln0p38nd R60EbJf6cLzOeOJWyNWX8R0gkNWOHbNjLbXxKPM9zHebeWUCVV4IGMh3X1JGJlh3W9bZ PM8wJuLw2cWNAcatA0LuMy7S3sYBF2EkkFlOIIq9LtGDYe4+ePEI5p/hqO5lSnN27Mcw +JQZCWH+YCmtjkqp9+B8l4DR0dis6RHctS7MgGYpSFFzroBFisQidAcV7k1fMyXfxW2e CBKw== X-Forwarded-Encrypted: i=1; AJvYcCUCbeLohmimMlY5zA08m18ZN8e+dxLEGe+69aQdCdgjCezLIpnZX6QHL8p9kpB9w9LvD//P3//PxvK9EbG+67do/FHFNF95Q8tFBA4= X-Gm-Message-State: AOJu0YzRHFezgEqrVUfRcUXvZAiJJhWGlyJLdOE2Y8rQBalJ6cE1ZmXd L0hSHHla2Cy6u6/G0bTgiV6XJIwnXRQmKbtwhsfw9E6ht59M14D6H+8l+OfP+CnsROLAJ3uixs4 k23z3QEAl7dgo5W++pBcK3Wa7Boh7llrN X-Google-Smtp-Source: AGHT+IEzadaW2TYMcwVqrdhZl6oOOwgIeo4wdnEkbFUlUx4zeXnrpHC8egJDcKDYPcwdn2hPoXKgQN+wb6BaTv0r6pM= X-Received: by 2002:a5d:9304:0:b0:7e1:8255:93c with SMTP id ca18e2360f4ac-7e8c46167b9mr433035639f.1.1716576939606; Fri, 24 May 2024 11:55:39 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Fri, 24 May 2024 14:55:27 -0400 Message-ID: Subject: Re: build of main broken? (ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_...' failed: symbol not defined) To: Matteo Riondato Cc: Dimitry Andric , freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" 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)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4VmDl16txXz4NbT On Fri, 24 May 2024 at 11:28, Matteo Riondato wrote: > > > In lib/libc/rpc/Symbol.map there is: > > > > /* From yp_xdr.c (generated by rpcgen - include/rpcsvc/yp.x) */ > > xdr_domainname; > > xdr_keydat; > > > > so maybe the rpcgen step went wrong somehow? Do you have WITHOUT_NIS enabled? > > Yes, I do have WITHOUT_NIS=y in src.conf peterj reported this in PR279270 as well and I've opened a review in https://reviews.freebsd.org/D45347 to move these symbols to lib/libc/yp/Symbol.map. Can you give that a try? I originally proposed augmenting Version.map generation to pass CFLAGS to CPP in D45346 and adding #ifdef YP in D45345, before finding Peter PR and discovering that lib/libc/yp/Symbol.map already exists.