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



Hi,

some further context information on this case:

The mk/wrapper/wrapper.sh script contains

reorder=${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=no".

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=no", but the
current behaviour appears to be somewhat internally inconsistent.

Regards,

- Håvard



Home | Main Index | Thread Index | Old Index