Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 04:15:32 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   /usr/bin/ld: error: undefined symbol: main [r337834 -> r337903]
Message-ID:  <20180816111532.GY1190@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--QwVuF0T/sxuZ/Zeu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Running:

FreeBSD g1-215.catwhisker.org 12.0-ALPHA1 FreeBSD 12.0-ALPHA1 #80  r337834M=
/337834:1200077: Wed Aug 15 04:34:45 PDT 2018     root@g1-215.catwhisker.or=
g:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64

after updating working copy to r337903, I'm seeing:

=2E..
>>> stage 4.3: building everything
=2E..
--- ifconfig_make ---
Building /common/S4/obj/usr/src/amd64.amd64/rescue/rescue/usr/src/sbin/ifco=
nfig/af_inet6.o
--- all_subdir_secure ---
--- moduli ---
/usr/bin/ld: error: undefined symbol: main
>>> referenced by crt1.c
>>>               /common/S4/obj/usr/src/amd64.amd64/tmp/usr/lib/crt1.o:(_s=
tart)
/usr/bin/ld: error: undefined symbol: Fssh_error
=2E...
make[5]: stopped in /usr/src/secure/usr.sbin/sshd
=2EERROR_TARGET=3D'moduli'
=2EERROR_META_FILE=3D'/common/S4/obj/usr/src/amd64.amd64/secure/usr.sbin/ss=
hd/moduli.meta'
=2EMAKE.LEVEL=3D'5'
MAKEFILE=3D''
=2EMAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes =
verbose'
_ERROR_CMD=3D'cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/common/S4/=
obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bi=
n -O2 -pipe   -I/usr/src/crypto/openssh -include ssh_namespace.h -DHAVE_LDN=
S=3D1 -DUSE_BSM_AUDIT=3D1 -DHAVE_GETAUDIT_ADDR=3D1 -DUSE_BLACKLIST=3D1 -I/u=
sr/src/contrib/blacklist/include -include krb5_config.h -DLIBWRAP=3D1 -std=
=3Dgnu99 -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-st=
ring-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unu=
sed-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversi=
on -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno=
-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses  -Qunused-argumen=
ts   -L/common/S4/obj/usr/src/amd64.amd64/lib/libblacklist  /usr/src/crypto=
/openssh/moduli.c  -o moduli; ;'
=2ECURDIR=3D'/usr/src/secure/usr.sbin/sshd'
=2EMAKE=3D'make'
=2EOBJDIR=3D'/common/S4/obj/usr/src/amd64.amd64/secure/usr.sbin/sshd'
=2ETARGETS=3D'all'
DESTDIR=3D'/common/S4/obj/usr/src/amd64.amd64/tmp'
=2E...

(on both the laptop and the build machine).

I have copied the .ERROR_META_FILE to
<http://www.catwhisker.org/~david/FreeBSD/head/r337903/moduli.meta and
a typescript of the attempted build to
<http://www.catwhisker.org/~david/FreeBSD/head/r337903/typescript>.

Additional information (previous day's verbose dmesg.bot, etc.) may
be found at <http://www.catwhisker.org/~david/FreeBSD/history/>.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Trump is gaslighting us: https://www.bbc.com/news/world-us-canada-44959300

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--QwVuF0T/sxuZ/Zeu
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlt1XNRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND
QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ
7hf8yggAnyT603Bd/n/7YygTj+yt3REbAfQ1v8bdVjYdaMteS187WzmDipyQmdev
KSdeR9n0+OT+i3gY2i4QtYy5OuTW75Wjf8pRyo3Hn3PQ3ZjBs4Z5Ltnj5da4ALAl
ZaGSNnym4fVvoO49aj9gyWEF1V4AwEH30KfzSibH6QVL1aN1L0F4rAcs+5zZ0VQE
TvWINLVeEAHuTU/hHgVOnMRWT55XeseLtp3CP7Mm/KlvWBERXK5e7RHoGesQANki
x5QbIO7TLZzfpS1OoG76ZjcaqpnJ9RCG4iwy+gg6l19+9ee0E+t7gtkrJQkZwv4z
G9tQm1AO0mp2a7LlyhMlbex+vMMElQ==
=sy14
-----END PGP SIGNATURE-----

--QwVuF0T/sxuZ/Zeu--



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