Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2014 22:24:31 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Mark Johnston <markj@FreeBSD.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: CURRENT: buildworld fails to compile: cannot find -lctf cc: error: linker command failed [libproc.so.3]
Message-ID:  <20141004222431.5c58c4c0.ohartman@zedat.fu-berlin.de>
In-Reply-To: <20141004183337.GA22999@charmander.picturesperfect.net>
References:  <20141004194756.5c291180.ohartman@zedat.fu-berlin.de> <20141004183337.GA22999@charmander.picturesperfect.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/a8awB=aDpsY45j_+HcZ.rTF
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Sat, 4 Oct 2014 11:33:38 -0700
Mark Johnston <markj@FreeBSD.org> schrieb:

> On Sat, Oct 04, 2014 at 07:47:56PM +0200, O. Hartmann wrote:
> > Recent sources (Revision: 272529) fail to compile:
> >=20
> > [...]
> > cc -m32 -march=3Dnative -DCOMPAT_32BIT  -isystem /usr/obj/usr/src/lib32=
/usr/include/
> > -L/usr/obj/usr/src/lib32/usr/lib32  -B/usr/obj/usr/src/lib32/usr/lib32 =
 -O2 -pipe -O3
> > -O3 -pipe  -DYP -I/usr/obj/usr/src/lib32/usr/include/rpcsvc -std=3Dgnu99
> > -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty=
-body
> > -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compa=
re
> > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-e=
num-conversion
> > -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parenthes=
es
> > -Qunused-arguments -c /usr/src/lib/librpcsvc/yp_passwd.c -o yp_passwd.o=
 ---
> > all_subdir_libproc --- --- libproc.so.3 --- /usr/obj/usr/src/tmp/usr/bi=
n/ld: skipping
> > incompatible /usr/obj/usr/src/tmp/usr/lib/libctf.so when searching for
>=20
> I'm confused by this message. Are you building with -DNO_CLEAN? Do you
> have anything in make.conf or src.conf, especially anything that's
> changed since libctf was rebuilt?

I do not build with -DNO_CLEAN. I use a script which kills everything in /u=
sr/obj/ and
build then from scratch.=20

>=20
> You might try rebuilding libctf with
>=20
> $ cd /usr/src
> $ make -C cddl/lib/libctf clean all

I can build libctf.so that way, also installation is no problem, but next t=
ime when I
buildworld, I run into the same situation.

>=20
> but I'm not sure why ld is ignoring the existing libctf.so.

Me either.

>=20
> > -lctf /usr/obj/usr/src/tmp/usr/bin/ld: skipping
> > incompatible /usr/obj/usr/src/tmp/usr/lib/libctf.a when searching for
> > -lctf /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lctf cc: error: lin=
ker command
> > failed with exit code 1 (use -v to see invocation) *** [libproc.so.3] E=
rror code 1
> >=20
> > make[5]: stopped in /usr/src/lib/libproc
> > --- libproc.a ---
> > ranlib -D libproc.a
> > [...]
> >=20
> > oh



--Sig_/a8awB=aDpsY45j_+HcZ.rTF
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUMFeFAAoJEOgBcD7A/5N8BE8IAN9va3dCGwCv5h5P3+y4k3SV
Qj5pLF+PumCA6jKoguJHviH4KgNfPaVhhKoaxN5Lg+MStqE91vvATguRzu6Ay69A
z/Vufi2tnzIrz1Lr1kf0hzUZL+OqgPl+7z1EzmS4Z3VvX5bFE6UZ0icwFknKeQJU
a3O3sClu3QrbikTXt2dbDZgKegHgbR4n9TLG2RD8od4SohLGw3KZVJc0wfzYuAUx
Dnu6xtkBSN8wnCqZNHuF0R3ocEJ43vFFyf0qXJrut9VnGnvVvBG36+pJrOSiXpr/
KY1l/WzGUCd5a7/DCH1Z7FbMF16r/BS3rwVI3B4taSeoz+s5fxU2V/0EevePCWQ=
=g9FV
-----END PGP SIGNATURE-----

--Sig_/a8awB=aDpsY45j_+HcZ.rTF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141004222431.5c58c4c0.ohartman>