Date: Thu, 16 Aug 2018 11:53:37 -0500 From: Larry Rosenman <ler@lerctr.org> To: Charlie Li <ml@vishwin.info> Cc: current@freebsd.org Subject: Re: /usr/bin/ld: error: undefined symbol: main [r337834 -> r337903] Message-ID: <20180816165337.n4uxpkbpn52mewfa@ler-imac.local> In-Reply-To: <d1c8c48c-333e-f3a6-1105-ba74a0a43719@vishwin.info> References: <20180816111532.GY1190@albert.catwhisker.org> <CAGMYy3tJk7iKM89K8j-57YbRAUu7UqOysPGXNP92-uT5XroM3A@mail.gmail.com> <1534436769.312158.1476422048.77F4DB62@webmail.messagingengine.com> <d1c8c48c-333e-f3a6-1105-ba74a0a43719@vishwin.info>
next in thread | previous in thread | raw e-mail | index | archive | help
--dhdv4r42yvl3da6j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 16, 2018 at 12:43:42PM -0400, Charlie Li wrote: > On 16/08/2018 12:26, Brad Davis wrote: > > On Thu, Aug 16, 2018, at 10:13 AM, Xin LI wrote: > >> This was caused by r337852, but I didn't investigated further. > >> > >> The problem is that we have a source file called 'moduli.c' in > >> crypto/openssh/ while the build target was moduli, and bmake seen > >> 'moduli' in source tree as older than moduli.c, and decided to rebuild > >> it from source, while the two files are unrelated. > >=20 > > Hi Xin, > >=20 > > I don't see how that could be the case as I didn't move the file around= , I just moved how it gets installed. > >=20 > > I have done many many builds with this change in and haven't seen this = problem.. > >=20 > I've found this one intermittent at best. I'll run a buildworld on > anything newer than r337852, get the linker error, update to even the > next newer revision that changes completely unrelated files, build > succeeds. Case in point, r337835 to r337863 failed, but r337863 to > r337865 succeeded. >=20 > This is all with META_MODE, so could be a bug with that. I've seen the same thing with meta-mode. A svn up after the failure restores the missing moduli file, and a re-run will succeed. borg.lerctr.org /usr/src $ sudo svn up Updating '.': Restored 'crypto/openssh/moduli' At revision 337914. borg.lerctr.org /usr/src $ >=20 > --=20 > Charlie Li > Can't think of a witty .sigline today=E2=80=A6 >=20 > (This email address is for mailing list use only; replace local-part > with vishwin for off-list communication) >=20 --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 --dhdv4r42yvl3da6j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHABAABCgCqFiEEHjgknedhWzvJgwVzaXyZsatIp30FAlt1rBEsFIAAAAAAFQAO cGthLWFkZHJlc3NAZ251cGcub3JnbGVyQGxlcmN0ci5vcmdfFIAAAAAALgAoaXNz dWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDFFMzgy NDlERTc2MTVCM0JDOTgzMDU3MzY5N0M5OUIxQUI0OEE3N0QACgkQaXyZsatIp32q GAf+MJyDkOP+C96LQWF54aud1+hcWGMELssKceDMt5Xz3J91L1+vtBFgKoJHJ35R 2eK3JevfnMeqi9/4xVVrq18/JT0Nw32wpFLUtjNeO7MS1pFD2616aKMiw2/Vmr1F ZDQPaAjLJalndZATNNGRD9KaA1VneARdyMKpdruw20BshossaXQD5k8zyV4MpUEC Hb+AcRtXz/E32LjD963INpHr9G5BmdVPGpShoOnE5V9J7f3EhAwqn25myY1Jqdy/ 0eOxGmIPlv3SFi3H6JmFjhy7dLQvuVuAi8m2SZv3Qs0WhfCSeA0PtiYNRuOlUgAJ ew0wvKdNgaUtGQG5b3mPmUXgOQ== =xjmB -----END PGP SIGNATURE----- --dhdv4r42yvl3da6j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180816165337.n4uxpkbpn52mewfa>