pkgsrc-Bugs archive

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

Re: pkg/37228: pkgsrc reorders -l<lib> relative to -Wl,-Bstatic / -Wl,-Bdynamic



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

From: Havard Eidnes <he%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/37228: pkgsrc reorders -l<lib> relative to -Wl,-Bstatic /
 -Wl,-Bdynamic
Date: Thu, 08 Nov 2007 14:54:50 +0100 (CET)

 Hi,
 
 some further context information on this case:
 
 The mk/wrapper/wrapper.sh script contains
 
 reorder=3D${WRAPPER_REORDER-no}
 
 which appears to imply that reordering of the command arguments
 is by default disabled ("set to no"), and I've verified that
 WRAPPER_REORDER is indeed unset in my case, so we end up with
 "reorder=3Dno".
 
 However, the mk/wrapper/buildcmd script will still reorders many
 of the arguments, among them putting all the libraries at the end
 of the command line, and thus exposing the problem documented in
 this PR, irrespective of the value of "reorder" at the point
 where it's used.
 
 It is not evident what the intention is here, i.e. whether the
 arguments should not have been reordered if "reorder=3Dno", but the
 current behaviour appears to be somewhat internally inconsistent.
 
 Regards,
 
 - H=E5vard
 



Home | Main Index | Thread Index | Old Index