Subject: pkg/28961: pkgsrc/graphics/tiff: program is subdirectory tools must link with CXX
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <shannonjr@NetBSD.org>
List: pkgsrc-bugs
Date: 01/14/2005 11:51:00
>Number:         28961
>Category:       pkg
>Synopsis:       The programs in the tools directory link against libstdc++. Therefore, they must link with CXX.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 14 11:51:00 +0000 2005
>Originator:     John R. Shannon
>Release:        NetBSD 2.99.14
>Organization:
NetBSD.org
>Environment:
System: NetBSD laptop.wifiNet1.johnrshannon.com 2.99.14 NetBSD 2.99.14 (KERNEL) #0: Thu Jan 13 14:05:52 MST 2005 builder@laptop.wifiNet1.johnrshannon.com:/usr/obj/usr/src/sys/arch/i386/compile/KERNEL i386
Architecture: i386
Machine: i386
Compiler: gcc version 3.4.3
>Description:
	The programs in the tools directory are linking against libstdc++; therefore, they must link with CXX.
	In view of the recent changes made to this package splitting out C++ support, I suspect that the correct
	fix is to rework tools/Makefile.* so that C++ is not required as these tools are all C code.
>How-To-Repeat:
	Try to build with gcc 3.4.3 (from lang/gcc34) and the link errors will be evident.
>Fix:
	Unsure of correct fix.