From nobody Wed Dec 13 22:29:48 2023 X-Original-To: dev-commits-src-branches@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 4Sr9CJ3pV8z54Q7W; Wed, 13 Dec 2023 22:29:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sr9CJ2wNlz3SQs; Wed, 13 Dec 2023 22:29:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702506588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kxgieUQAWasFS/cl2Lf2aDQ0Y5l18wJlUpKfBa2UibI=; b=h0CqffmaCZHvHZD9vvUcg6N6qZ3jOXDuS/3b5ZU/SDMWMc+2IUwym3k6w+PGWMPO4YsGZi 4uIBZZy1Ask9n/1LcraJ1H0Wj7/SDDlzqSOJY9a4wrYl78EZYst75kt/bzKRXfNYeZ6Ze6 UZpnsUltu4Gz5SiLaQZVYYNF8c2W/U0o4w/dpIYiCwzrikjiFdF64Frw+pYHdYC9pSozhF H0TMn2Fa8n6V6s1a1dXIZKJ05QgKbayXf+ZhRhCFrjP/MBIAmqUwTxrGBKHIMviyfjb3rN l71EJxqu8FAy/YNZ/CyCiX+94ryKy7vi+cDwglh4C6MOEseD9mkJZnpNGOVvug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702506588; a=rsa-sha256; cv=none; b=VzTHHJKlXNyUyHBlU3T8C+96Lq+baglatCeYDzbTlblN8mbCDs77dINwahmYuvSfvSydMs 7sreniQ3076n+/fzXYBXoWTlM7hI6GGbgBEML7IbdNawllzhqRPSzpyTTQWOWcBLa8KVfp jEshQoKsrq9efCfuS84j0V88Yy/Twdy8UEIpL9hitRPCws1xTMXMdZxFM3AGCKXwkW0c8e ds2ikgEQoZVSDedXo8zGts7RBj/k22HA1YXn9TQdBxR5RBWHs7tXQZRtNcyisQ3KotqHHv xxJ3rnvXDfqSi7Afr8rCLYIl094aWguqB35+pUGkmVJ5b+fzrsD4OwWU46LVVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702506588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kxgieUQAWasFS/cl2Lf2aDQ0Y5l18wJlUpKfBa2UibI=; b=pe5Vb2qGzUT+DT1Zeu9paz1PSXIRaYzn/G+GhouW/lxIiUfko/33Qut7Ia+tWSwT2PG6Hr Sv5T+f6utoy5ohbyBu+Wgze1pIjWIIVwDd1+q0f7IwI1CcPyPqpW75fScHRrYCvt1o9o/S eSfEU5MBQyJ7m7QjWv+sKr6PMlIF9sKtLxSmm/kQMbBFc+PHIcO+Jk7e1i5j2yqYz84bVk E0CJztlZhnrHpEnpgJvI9rgzZjr0qN+iGB091JPDW8cjTw0ku1Zqkev3xSNpbI99eFBI24 l2ck0Wj38V6o88RoaFlqtArAdQUtJaPG/QLI2xYwQLWVn29bEVoi3KvDnNLq/Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sr9CJ1l0pz1Fvs; Wed, 13 Dec 2023 22:29:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BDMTmsX024480; Wed, 13 Dec 2023 22:29:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BDMTmYi024477; Wed, 13 Dec 2023 22:29:48 GMT (envelope-from git) Date: Wed, 13 Dec 2023 22:29:48 GMT Message-Id: <202312132229.3BDMTmYi024477@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Brooks Davis Subject: git: e0f6b29f6a6c - stable/14 - lib{c,lzma,z}: remove -DSYMBOL_VERSIONING from CFLAGS List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e0f6b29f6a6cb38b46318818db60ff5e7bfbb2c1 Auto-Submitted: auto-generated The branch stable/14 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=e0f6b29f6a6cb38b46318818db60ff5e7bfbb2c1 commit e0f6b29f6a6cb38b46318818db60ff5e7bfbb2c1 Author: Brooks Davis AuthorDate: 2023-11-15 23:39:46 +0000 Commit: Brooks Davis CommitDate: 2023-12-13 22:08:13 +0000 lib{c,lzma,z}: remove -DSYMBOL_VERSIONING from CFLAGS This was part of a libkse and libpthread transition aide when libc gained symbol versions in e62165c8b0f7d6452c0033127a0fd8ad1d9e34d3 (March 2006). The code that cared about this macro was removed in commit 00fb440c1a145b56b6c75fd405d80071aef2aab1 (May 2007) when symbol versioning was enabled by default and libthr became the default threading library. For unknown reasons, it stayed in libc (which seemingly never used it) and seems to have been copied to liblzma and libz. Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42613 (cherry picked from commit e3e9c205ff54aac287309e03a808d9e9ec5c49eb) --- lib/libc/Makefile | 1 - lib/liblzma/Makefile | 1 - lib/libz/Makefile | 1 - 3 files changed, 3 deletions(-) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 7540eb8c21ad..fbfd6619784d 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -151,7 +151,6 @@ STATICOBJS+=${LIBC_NONSHARED_SRCS:S/.c$/.o/} VERSION_DEF=${LIBC_SRCTOP}/Versions.def SYMBOL_MAPS=${SYM_MAPS} -CFLAGS+= -DSYMBOL_VERSIONING # If there are no machine dependent sources, append all the # machine-independent sources: diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index 9e228d277896..85e7b87bbbf0 100644 --- a/lib/liblzma/Makefile +++ b/lib/liblzma/Makefile @@ -156,7 +156,6 @@ LIBADD+= md pthread VERSION_DEF= ${.CURDIR}/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map -CFLAGS+= -DSYMBOL_VERSIONING CLEANFILES+= liblzma.pc diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 7dd1204c5435..6a135158e134 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -51,7 +51,6 @@ CFLAGS+= -DUNALIGNED_OK VERSION_DEF= ${.CURDIR}/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map -CFLAGS+= -DSYMBOL_VERSIONING INCS= zconf.h zlib.h