pkgsrc-Bugs archive

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

Re: pkg/57077: cwrappers can't handle -Wl,-rpath,/usr/X11R7/lib while normal wrappers can



The following reply was made to PR pkg/57077; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/57077: cwrappers can't handle -Wl,-rpath,/usr/X11R7/lib
 while normal wrappers can
Date: Sun, 13 Nov 2022 19:37:18 +0000

 On Tue, Nov 01, 2022 at 05:15:01PM +0000, Joerg Sonnenberger wrote:
  >  > When testing to build x11/clisp-gtk2 it fails with:
  >  > ld: unrecognised option: -rpath,/usr/X11R7/lib
  >  
  >  That's correct behavior because the correct command line is
  >    -rpath /usr/X11R7/lib
 
 Sort of. I mean, it's an invalid argument for ld, but it seems like
 either it should (a) pass it through unchanged in case it's something
 we didn't know about, (b) reject it directly or drop it because it's
 something we don't know about that contains a path, or (c) convert it
 from the form (notionally) cc understands to the form ld understands.
 
 Apparently the old wrappers did (c), and I agree that's questionable,
 but it seems like now what we get is _part_ of (c) and that seems
 wrong.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index