From nobody Sun Oct 17 10:24:50 2021 X-Original-To: dev-commits-ports-main@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 25CF117FC050; Sun, 17 Oct 2021 10:24:51 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HXGN30S8Wz4RsK; Sun, 17 Oct 2021 10:24:51 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1634466291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hAtq3P2Z9MclLvv/jdrjAHuXith/YfBpEpKa3RK4b6M=; b=Js6gFnM5RwrzTYsORYV+pfHwb96dbtC4pkDr3etJlkIlXBq+25JpswAZ5s7bRBsKXMwPif d8GBK+BlatJIK5UfS3E/AZmGrNUgxpO0A6FlZjECUes95DeaGJg4nNniaHnM5WswApTIcj bYYgwsyuSFoo+lyhlmC7UXLvlnEsY1NR7uw9nGD73Zi2q2OGsiHBsvmbZ96QHmJhagjA68 DBsley/bhnp/mrz9YCaucV3rlqv6ncgR54epbYMWBfHqJwsY7kCqz1WcxipxOZKOV4ejwv wT+h3aNZyeGUnBtIqDQC5pvyeYObeahliq+HLxegg1jpr5kXVg96XOSjKXbB5w== Received: by freefall.freebsd.org (Postfix, from userid 1033) id E1D7AA95C; Sun, 17 Oct 2021 10:24:50 +0000 (UTC) Date: Sun, 17 Oct 2021 10:24:50 +0000 From: Alexey Dokuchaev To: Vin??cius Zavam Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: b1fe2ae52311 - main - net-mgmt/mk-livestatus: fix "ld: error: duplicate symbol: g_mainthread_id" Message-ID: References: <202110170759.19H7xLet040280@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202110170759.19H7xLet040280@gitrepo.freebsd.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1634466291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hAtq3P2Z9MclLvv/jdrjAHuXith/YfBpEpKa3RK4b6M=; b=LpHSGsMIRnN1B+eIxzRZJ6wl60Z2aVcGljVJMYTNyJrqacuCZ4O48NzGFbz6AGFcEYc2nZ J71PXiH3Lg7tUvtoas27yhzBD2rjsn/tbFLVMxrF0Z5619u+0oeira8WqdL/J5t8p9G4cC E6Ww1uiwdlWVX9T6+DOsF3uUHA6iRDJurNbpTOeNSJum9sNmB/HTcwrpzcWBkeo4Ad42Xc 2vwv+vN32Y9X4z9VdnPQI+6LYzpfT6yejYw9RpiAYme7pCxqVn2Qa+WtbXZMzo2VSmaPFr 15Jy0E/U0/Sla55MuVKC+TeEXmKOdPYJYX4lWN1oFNtMrN/FsSeAhZj1yz02nA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1634466291; a=rsa-sha256; cv=none; b=WjPVOx4AwdrANGlGLq0hx5v0Zw1o49AfYMgAOpQsKsC+lMBAw5VnrYeLvsIhH2Hce6FZVI bArfzLuHBiFBlFXf91Jwdv5/+Wg5ngmHIr/G6ifFdrFHKDt9M8CGH2UqT3vurg97FNUUU0 Lh7tTsUUy729km+QOEoQHNDW2KefUc12IFBqzv47KPyfKXQpiTwdQsPC4imf9+gyBJI++R dqz9nDG8rdv+i45HG7JHu4gN4lqUjenKX7c6enZDKzSp+cM3S8W0w79Ikfut+jeNBlwWAn TmzKTZ9M1Hs5Ts6jS2+f7k+JSVnCJy9JM1FJBfD7/2lh+WKy7L7qik1pilbtjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Sun, Oct 17, 2021 at 07:59:21AM +0000, Vin??cius Zavam wrote: > commit b1fe2ae52311869265eb74a9940a1dd502bd1e74 > > net-mgmt/mk-livestatus: fix "ld: error: duplicate symbol: g_mainthread_id" > > - add '-fcommon' to our CFLAGS in order to build with clang 11; It's unclear from the commit log why forcing -fcommon had been preferred over fixing the code, which is what we usually do unless resulting patch becomes too big. Could you elaborate? ./danfe