/usr/bin/ld: error: undefined symbol: main [r337834 -> r337903]

David Wolfskill david at catwhisker.org
Thu Aug 16 11:15:36 UTC 2018


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 at g1-215.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64

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

...
>>> stage 4.3: building everything
...
--- ifconfig_make ---
Building /common/S4/obj/usr/src/amd64.amd64/rescue/rescue/usr/src/sbin/ifconfig/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:(_start)
/usr/bin/ld: error: undefined symbol: Fssh_error
....
make[5]: stopped in /usr/src/secure/usr.sbin/sshd
.ERROR_TARGET='moduli'
.ERROR_META_FILE='/common/S4/obj/usr/src/amd64.amd64/secure/usr.sbin/sshd/moduli.meta'
.MAKE.LEVEL='5'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='cc -target x86_64-unknown-freebsd12.0 --sysroot=/common/S4/obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe   -I/usr/src/crypto/openssh -include ssh_namespace.h -DHAVE_LDNS=1 -DUSE_BSM_AUDIT=1 -DHAVE_GETAUDIT_ADDR=1 -DUSE_BLACKLIST=1 -I/usr/src/contrib/blacklist/include -include krb5_config.h -DLIBWRAP=1 -std=gnu99 -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses  -Qunused-arguments   -L/common/S4/obj/usr/src/amd64.amd64/lib/libblacklist  /usr/src/crypto/openssh/moduli.c  -o moduli; ;'
.CURDIR='/usr/src/secure/usr.sbin/sshd'
.MAKE='make'
.OBJDIR='/common/S4/obj/usr/src/amd64.amd64/secure/usr.sbin/sshd'
.TARGETS='all'
DESTDIR='/common/S4/obj/usr/src/amd64.amd64/tmp'
....

(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
-- 
David H. Wolfskill				david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180816/1ffda070/attachment.sig>


More information about the freebsd-current mailing list