Subject: pkg/32203: pkgsrc gcc wrapper does not handle -Wl,-R/path1,-R/path2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kristerw@netbsd.org>
List: pkgsrc-bugs
Date: 11/30/2005 22:32:00
>Number:         32203
>Category:       pkg
>Synopsis:       pkgsrc gcc wrapper does not handle -Wl,-R/path1,-R/path2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 30 22:32:00 +0000 2005
>Originator:     Krister Walfridsson
>Release:        pkgsrc as of Nov 30 2005
>Organization:
	
>Environment:
	
	
System: NetBSD homeworld.netbsd.org 2.0.2_STABLE NetBSD 2.0.2_STABLE (NBMAIL) #0: Fri Jul 22 20:47:54 UTC 2005 root@ADMIN:/usr/src/sys/arch/i386/compile/NBMAIL i386
Architecture: i386
Machine: i386
>Description:
gcc accepts multiple comma-separated arguments to the -Wl flag, such as

   -Wl,-R/path1,-R/path2

which are sent to the linker as 

   -R/path1 -R/path2

The pkgsrc gcc wrapper does however transform it to

   ,-R/path2


See for example

  ftp://ftp.netbsd.org/pub/pkgsrc/misc/kristerw/pkgstat/Darwin/20051129.1546/graphics/blender/.broken.html 

for a package that fails from this problem.

>How-To-Repeat:
	
>Fix:
	

>Unformatted: