From nobody Wed Nov 15 23:46:43 2023 X-Original-To: dev-commits-src-all@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 4SW0F01l9Jz50tW1; Wed, 15 Nov 2023 23:46:44 +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 4SW0F00yNXz3W9J; Wed, 15 Nov 2023 23:46:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700092004; 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=YXPuieZseHIvLvFdt5w/J6sqHgi9MLTVh0ZtMKAgF60=; b=mfoyURLTGgn3nXOnsv2WKfmREhACsucFGKlFxKPn9T30mfSSoH+CX86+yjM/jcfPgfaBkx nP8A8avqTzBn4Rp9qIw3UI6cCNStcg5exKNq6lnehpaZ3g00oFqEodY1DJj0JgN/0oOnfY XJ1AqBtoQKaxrk7e2O/rSaMVynzk9JkjpFnKid2PZERpD5H1K5P2PfXWWM6YG+PA1O+/gc fhRUcEya2MSj74G06zIdXA0z6bQWwOAZ7b5t17L1XH3JYRWnMfcKaBaobnDVWpmdcP94Yu mPNI77UJCCFPmeanQj1w1APIQNp1O4nOvPd/VMYu2QoY1t1zD2UxENeJmz/UFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700092004; 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=YXPuieZseHIvLvFdt5w/J6sqHgi9MLTVh0ZtMKAgF60=; b=cFGEt/gGX6/P8MC/4A1rDiZ+JBpGTqb0c9yLo0eQ/ukSi96i6BZFpaGs8hdc3KKfRuLp4i STh8KIC9Ns/NoA2jIiamoRSdkWfylybePeWs7j9C2VBXCfk5UddRWzKfodkLkBTE9JpnyD R9Krqw+23p54ZtZEp6m9m77kBUU5do2mn91PlhXKt6lNUogHGMyQIuIbhXUGjxme8oNett ROoAwcvzmP+LM+K1a8Uuplqaq6qlj0T4upl8SDi/r8HCMgnPVTO4nqoM8tOMQwDpedXCL0 bgNLRt7EMJgsceyriO6SjrPKdGDdyno6xJR0GZGZMHtGx7DbROQ23oPkQCH7og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700092004; a=rsa-sha256; cv=none; b=kiXU2thXLgZQS3da5hvFS0zvJ/vEFXAkOVuDXLVG8jzIB8JVplANmeuxuCTJf6LDVQCgVB iAiLhyOzd4o2/rgfqgtJHUcU8CfsBfzoTCbSyrqYYqeXAhnFkChELhAAqPSb0M82J8zsrb Q5WOXkxTaUMPLN+CFSdVeHM+d5H+Yb8kcW26VvGmm1oiXk6PbyP+/adQqR39LMGbxwYw/Q QGIsd08xaZ976hYlwdQsWjA/LcTQiTWaWLyhlVrZhGJSKQbWOLkP139eXWjdEnZm7lPwN9 CQR8e64ONqI38ag6KPwlYqMrollE4gN5RXboWpAjh7aYVZ99sR178XwHYTj4uw== 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 4SW0Dz6sGGzd1B; Wed, 15 Nov 2023 23:46:43 +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 3AFNkhNk031743; Wed, 15 Nov 2023 23:46:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AFNkhk1031740; Wed, 15 Nov 2023 23:46:43 GMT (envelope-from git) Date: Wed, 15 Nov 2023 23:46:43 GMT Message-Id: <202311152346.3AFNkhk1031740@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: e3e9c205ff54 - main - lib{c,lzma,z}: remove -DSYMBOL_VERSIONING from CFLAGS List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: e3e9c205ff54aac287309e03a808d9e9ec5c49eb Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=e3e9c205ff54aac287309e03a808d9e9ec5c49eb commit e3e9c205ff54aac287309e03a808d9e9ec5c49eb Author: Brooks Davis AuthorDate: 2023-11-15 23:39:46 +0000 Commit: Brooks Davis CommitDate: 2023-11-15 23:39:46 +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 --- 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 9ab588c618cd..928477b47380 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -147,7 +147,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