From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 17 Dec 2021 11:46:06 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1myAkY-009NG5-D7 for lore@lore.pengutronix.de; Fri, 17 Dec 2021 11:46:06 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1myAkX-0007oH-Ec; Fri, 17 Dec 2021 11:46:05 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myAjp-0007nv-Am; Fri, 17 Dec 2021 11:45:21 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1myAjp-0050de-AV; Fri, 17 Dec 2021 11:45:20 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1myAjn-00DKvY-TN; Fri, 17 Dec 2021 11:45:19 +0100 Date: Fri, 17 Dec 2021 11:45:19 +0100 From: Michael Olbrich To: Roland Hieber , ptxdist@pengutronix.de Message-ID: Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de References: <20211205004208.2306245-1-rhi@pengutronix.de> <20211205004208.2306245-13-rhi@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211205004208.2306245-13-rhi@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH v2 13/13] binutils: add license information X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Sun, Dec 05, 2021 at 01:42:08AM +0100, Roland Hieber wrote: > Only readelf and objdump are installed to the target, but they are > statically linked to the provided zlib and libiberty, latter of which > includes a confusing mix of LGPL, GPL, and exceptions unknown to SPDX. This is not quite correct. libbfd.a, libiberty.a and libopcodes.a are available as static and may be used by other packages. e.g. perf from the kernel package uses all of them, afaik. Michael > In particular: > > - binutils/readelf.c, binutils/objdump.c: GPL-3.0-or-later > - ./COPYING3: GPL-3.0 license text > - libiberty/regex.c: LGPL-2.1-or-later > - libiberty/COPYING.LIB: LGPL-2.1 license text > - libiberty/snprintf.c: GPL-2.0-or-later with SPDX-unknown linking exception > - ./COPYING: GPL-2.0 license text > - zlib/README: Zlib license text > > Reported-by: Felicitas Jung > Signed-off-by: Roland Hieber > --- > PATCH v2: > - use "custom-exception" instead of "unknown" > - rebase to current master, review and adapt MD5 sums accordingly > > PULL v1: https://lore.ptxdist.org/ptxdist/20200527112204.ll7ij44ahllid6ip@pengutronix.de > --- > rules/binutils.make | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/rules/binutils.make b/rules/binutils.make > index ca1080bc811d..b5dd820327d2 100644 > --- a/rules/binutils.make > +++ b/rules/binutils.make > @@ -22,6 +22,17 @@ BINUTILS_SUFFIX := tar.bz2 > BINUTILS_URL := $(call ptx/mirror, GNU, binutils/$(BINUTILS).$(BINUTILS_SUFFIX)) > BINUTILS_SOURCE := $(SRCDIR)/$(BINUTILS).$(BINUTILS_SUFFIX) > BINUTILS_DIR := $(BUILDDIR)/$(BINUTILS) > +BINUTILS_LICENSE := GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later WITH custom-exception AND Zlib > +# note: only readelf and objdump are installed to the target for now > +BINUTILS_LICENSE_FILES := \ > + file://binutils/readelf.c;startline=2;endline=17;md5=64a1741cc837a4693ebc82cab284a8dd \ > + file://binutils/objdump.c;startline=2;endline=14;md5=bbe991698d559a2ac1ac1232bf5e44dc \ > + file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ > + file://libiberty/regex.c;startline=9;endline=22;md5=cf0f678ecac74768b21623c63522ac75 \ > + file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \ > + file://libiberty/snprintf.c;startline=5;endline=24;md5=f6842a5a6f45af438cd99132b4fcc9a5 \ > + file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ > + file://zlib/README;startline=92;endline=109;md5=5377232268e952e9ef63bc555f7aa6c0 \ > > # ---------------------------------------------------------------------------- > # Prepare > -- > 2.30.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de