Date: Thu, 16 Aug 2018 12:43:42 -0400 From: Charlie Li <ml@vishwin.info> To: current@freebsd.org Subject: Re: /usr/bin/ld: error: undefined symbol: main [r337834 -> r337903] Message-ID: <d1c8c48c-333e-f3a6-1105-ba74a0a43719@vishwin.info> In-Reply-To: <1534436769.312158.1476422048.77F4DB62@webmail.messagingengine.com> References: <20180816111532.GY1190@albert.catwhisker.org> <CAGMYy3tJk7iKM89K8j-57YbRAUu7UqOysPGXNP92-uT5XroM3A@mail.gmail.com> <1534436769.312158.1476422048.77F4DB62@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fcGsCu4DkwAkmEI7QogYEnmPyGF6VKy94 Content-Type: multipart/mixed; boundary="ZPGA2ptRTpY1LBudAyG9UN72WNEo6AvM5"; protected-headers="v1" From: Charlie Li <ml@vishwin.info> To: current@freebsd.org Message-ID: <d1c8c48c-333e-f3a6-1105-ba74a0a43719@vishwin.info> Subject: Re: /usr/bin/ld: error: undefined symbol: main [r337834 -> r337903] References: <20180816111532.GY1190@albert.catwhisker.org> <CAGMYy3tJk7iKM89K8j-57YbRAUu7UqOysPGXNP92-uT5XroM3A@mail.gmail.com> <1534436769.312158.1476422048.77F4DB62@webmail.messagingengine.com> In-Reply-To: <1534436769.312158.1476422048.77F4DB62@webmail.messagingengine.com> --ZPGA2ptRTpY1LBudAyG9UN72WNEo6AvM5 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB-large Content-Transfer-Encoding: quoted-printable 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. This is all with META_MODE, so could be a bug with that. --=20 Charlie Li Can't think of a witty .sigline today=E2=80=A6 (This email address is for mailing list use only; replace local-part with vishwin for off-list communication) --ZPGA2ptRTpY1LBudAyG9UN72WNEo6AvM5-- --fcGsCu4DkwAkmEI7QogYEnmPyGF6VKy94 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/RdyC3Asy49czZEGtQ4IJhNZSS0FAlt1qcgACgkQtQ4IJhNZ SS3nnw//TwizEWTK1QGowhmvQ+hwgIrPvAC6W8z3uh0pcJmtDlzTC/4dZ923C3Q7 IWQdB8QYrGMREBgE+n3a3m27HXA7pymJi/1qM0flRpqq6RWepElhAIBM0p32H/Dz yyT5idWiTBqt9uylMdF6aOSgVniJgXXKgbtBPMkwmH0HCkGU7TTlKdFkPQ4r7fGe AtqiY+SID86J3fMOVTlp9Uu56+c5nAALYbOgj6hfkMRRbKwg3QYGksq9PBqxU4FQ iVzP/C0KgT4CFC+q1jsshwiswPnkVJEOvLX6RBLxJj3geyxdQnWpm7wmsjgVYlNM PFK5bziEmXUcFb4axHRKe03CYspGyhFWJyVICo3JC15lOneB1NMVEL33LOT1TIih e0wYRsWxWmaSku4bxSqH0xVnKTLn8il9AYP6893UlHIHQnW94FtQunr6uAhqPU3b WgQqdTRH/pWp7zDeXOmG8kpB0Phcoh9tvY1xDzuMag8zG/AbLV3hTVjQFZz7jXKJ 6Btkuf5I9NNnOfu3Up9Mv0DrgEqGdsEhSD49YGNGrnnJENoQG69ih4glnuXePZrU MSGGDEEfW+jecUrr9czUSdMhiLyDeYtqpIx7HqTIYboLzoAnlHDpH2CQfBUZGAYV 3WQNgEM7EVoU8pYnAQRi9sdBDJZSit6R4lOWIb7vyu/PmExT/oU= =f1hK -----END PGP SIGNATURE----- --fcGsCu4DkwAkmEI7QogYEnmPyGF6VKy94--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1c8c48c-333e-f3a6-1105-ba74a0a43719>