[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#163892: marked as done (xfree86: define SharedDepCplusplusLibraryTarget in bsdLib.rules for Debian GNU/NetBSD)



Your message dated Mon, 25 Nov 2002 00:02:17 -0500
with message-id <20021125050217.GJ945@apocalypse.deadbeast.net>
and subject line closing old bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Oct 2002 03:14:50 +0000
>From lucifer@lightbearer.com Tue Oct 08 22:14:50 2002
Return-path: <lucifer@lightbearer.com>
Received: from dogma.lightbearer.com (deargod.lightbearer.com) [216.150.202.131] (qmailr)
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 17z7JC-0002dJ-00; Tue, 08 Oct 2002 22:14:50 -0500
Received: (qmail 7108 invoked by uid 1000); 9 Oct 2002 03:14:48 -0000
From: "Joel Baker" <lucifer@lightbearer.com>
Date: Tue, 8 Oct 2002 21:14:48 -0600
To: submit@bugs.debian.org
Cc: lucifer@lightbearer.com
Subject: C++ support in libGLU (patch, upstream problem)
Message-ID: <20021009031448.GA6955@lightbearer.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="jI8keyz6grp/JLjh"
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: submit@bugs.debian.org


--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: xfree86
Version: 4.2.1-1
Severity: normal

This patch defines a SharedDepCplusplusLibraryTarget for FreeBSD and
NetBSD. While the ELF section in bsdLib.rules is noted as having been
copied from the Linux version, this clearly predated the addition of C++
code and support, and the target appears to have never been added to the
BSD ruleset, making it impossible to compile cleanly using GCC 3.x (libGLU
is linked without a dependancy on libstdc++, and any attempt to compile a
normal C program which calls libGLU will fail).

Patch authored by Joel Baker <lucifer@lightbearer.com>, based on the rules
already present in lnxLib.rules.
-- 
***************************************************************************
Joel Baker                           System Administrator - lightbearer.com
lucifer@lightbearer.com              http://users.lightbearer.com/lucifer/

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="999_bsdLib.rules"

This patch defines a SharedDepCplusplusLibraryTarget for FreeBSD and
NetBSD. While the ELF section in bsdLib.rules is noted as having been
copied from the Linux version, this clearly predated the addition of C++
code and support, and the target appears to have never been added to the
BSD ruleset, making it impossible to compile cleanly using GCC 3.x (libGLU
is linked without a dependancy on libstdc++, and any attempt to compile a
normal C program which calls libGLU will fail).

Patch authored by Joel Baker <lucifer@lightbearer.com>, based on the rules
already present in lnxLib.rules.

diff -ur xc-dist/config/cf/bsdLib.rules xc/config/cf/bsdLib.rules
--- xc-dist/config/cf/bsdLib.rules	2002-01-17 23:29:05.000000000 +0000
+++ xc/config/cf/bsdLib.rules	2002-10-09 01:26:13.000000000 +0000
@@ -306,6 +306,34 @@
 
 #endif /* SharedDepLibraryTarget */
 
+/*
+ * SharedDepCplusplusLibraryTarget - generate rules to create a shared library.
+ */
+#ifndef SharedDepCplusplusLibraryTarget
+#define SharedDepCplusplusLibraryTarget(libname,rev,deplist,solist,down,up)	@@\
+AllTarget(Concat(lib,libname.so.rev))					@@\
+									@@\
+Concat(lib,libname.so.rev):  deplist					@@\
+	$(RM) $@~							@@\
+	@SONAME=`echo $@ | sed 's/\.[^\.]*$$//'`; set -x; \		@@\
+		(cd down; $(CXX) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME solist $(REQUIREDLIBS) BaseShLibReqs); \ @@\
+		$(RM) $$SONAME; $(LN) $@ $$SONAME; \			@@\
+		LinkBuildSonameLibrary($$SONAME)			@@\
+	$(RM) $@							@@\
+	$(MV) $@~ $@							@@\
+	$(RM) Concat(lib,libname.so)					@@\
+	$(LN) $@ Concat(lib,libname.so)					@@\
+	LinkBuildLibrary($@)						@@\
+	LinkBuildLibrary(Concat(lib,libname.so))			@@\
+									@@\
+clean::									@@\
+	@SONAME=`echo Concat(lib,libname.so.rev) | sed 's/\.[^\.]*$$//'`; \ @@\
+	set -x; $(RM) $$SONAME						@@\
+	$(RM) Concat(lib,libname.so)					@@\
+	$(RM) Concat(lib,libname.so.rev)
+
+#endif /* SharedDepCplusplusLibraryTarget */
+
 #ifndef SharedDepModuleTarget
 #define SharedDepModuleTarget(name,deps,solist)				@@\
 AllTarget(name)								@@\

--jI8keyz6grp/JLjh--

---------------------------------------
Received: (at 163892-done) by bugs.debian.org; 25 Nov 2002 05:02:48 +0000
>From branden@deadbeast.net Sun Nov 24 23:02:48 2002
Return-path: <branden@deadbeast.net>
Received: from pcp942041pcs.cstltn01.in.comcast.net (apocalypse.deadbeast.net) [68.57.244.226] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18GBOS-0007wq-00; Sun, 24 Nov 2002 23:02:48 -0600
Received: by apocalypse.deadbeast.net (Postfix, from userid 1000)
	id 9F8703DA3; Mon, 25 Nov 2002 00:02:17 -0500 (EST)
Date: Mon, 25 Nov 2002 00:02:17 -0500
From: Branden Robinson <branden@debian.org>
To: 163892-done@bugs.debian.org
Subject: closing old bug
Message-ID: <20021125050217.GJ945@apocalypse.deadbeast.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="liqSWPDvh3eyfZ9k"
Content-Disposition: inline
User-Agent: Mutt/1.4i
Mail-Copies-To: nobody
X-No-CC: I subscribe to this list; do not CC me on replies.
Delivered-To: 163892-done@bugs.debian.org
X-Spam-Status: No, hits=-7.1 required=5.0
	tests=PGP_SIGNATURE_2,SPAM_PHRASE_01_02,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 


--liqSWPDvh3eyfZ9k
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This issue was rectified in XFree86 4.2.1-3.

--=20
G. Branden Robinson                |    I am sorry, but what you have
Debian GNU/Linux                   |    mistaken for malicious intent is
branden@debian.org                 |    nothing more than sheer
http://people.debian.org/~branden/ |    incompetence!     -- J. L. Rizzo II

--liqSWPDvh3eyfZ9k
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iEYEARECAAYFAj3hrtkACgkQ6kxmHytGonzgxgCgqUd2pIyWoZiNLDbXWGPy9m/7
AYEAniW6bjH+xgC3eLvazb/ws0g9VBh6
=Sdbl
-----END PGP SIGNATURE-----

--liqSWPDvh3eyfZ9k--



Reply to: