Subject: Re: pkgsrc NetBSD 1.6.2/i386 bulk build results 2005-03-04
To: None <pkgsrc-bulk@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: pkgsrc-bulk
Date: 03/05/2005 10:42:29
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
"Julio M. Merino Vidal" <jmmv84@gmail.com> wrote:
> On Sat, 2005-03-05 at 13:20 +0100, Thomas Klausner wrote:
> > On Sat, Mar 05, 2005 at 12:49:48AM +0100, Krister Walfridsson wrote:
>=20
> > 133a131
> > > net/tsocks 1 jmmv@NetBSD.org
> >=20
> > ld -Wl,-R/usr/pkg/lib -I. -nostdlib -shared -o libtsocks.so.1.7 tso=
cks.so common.o parser.o
> > /usr/bin/ld: unrecognized option '-R/usr/pkg/lib'
> > /usr/bin/ld: use the --help option for usage information
>=20
> Jan, this seems to be caused by your latest changes; could you please
> take a look at this? I'm not sure how to solve it without breaking
> what you previously fixed.
Hmm, works on 2.0, and I thought I had tested it on 1.6.2, too. My
1.6.2 machine is offline at the moment, I'll test it on Monday.
> (The problem is that now the program uses ld directly during the link,
> rather than cc, so the -Wl prefixes in LDFLAGS aren't recognised.)
Actually, the '-Wl' gets correctly stripped as the error message
indicates. I don't know where this flag comes from anyway, since the
Makefile runs
${LD} ${LDFLAGS} ${SPECIALLIBS} ${LIBS} ${INCLUDES} -nostdlib ....
and LDFLAGS, SPECIALLIBS and LIBS are empty.
We should be able to completely drop this altogether, as the library is
entirely self-sustained and doesn't need any other libraries to begin
with.
-Jan
--=20
42
--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFCKdNlfFtkr68iakwRAvAwAKCeFbVot37Su7pHFFVZvKCfbnDh7QCg+IJe
v8n99fPOtE3K7hCC3+xIRW0=
=a6pu
-----END PGP SIGNATURE-----
--3MwIy2ne0vdjdPXF--