From nobody Mon Jun 06 10:16:44 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 988971BF6977 for ; Mon, 6 Jun 2022 10:16:52 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LGqCm0b4Xz4klJ; Mon, 6 Jun 2022 10:16:52 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654510612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X3+UAPex0bxBMkbOgQER7n7KrL7e1SsEgDHJpriZhYg=; b=kvZUsllKOXc9wu6kwoi48A3MxblD9hbZjUxoxKfz6pZ++/LC+DMpth1g7O1EVEedhUPEsX VeOHFcRRpbSkKyTgZag7Fv1pQxPRZ5QA2XsQGUA0F1bQGJ2YNeSNSw/vBK4pcqDm0LMnkJ wfx6sltpL37mEgd/EkEsz2nGKdR0XUpTpBIwTKWAlJUP76s1Wsn0CC8Cjmk5QcKsxGaFC9 0o1qxa4BgPj/QT9XbtCnfkkylptTiz90Y4x6QdumX5MJekhfvwncGHNIPuH43BOJymhSip OH2pTA6erhhuf5CUAG6PGnaIvvRcxxxcsVfWnJ8P6/aw976zsE6ds45cvvVcqg== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id A8E0775F9; Mon, 6 Jun 2022 10:16:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 13B3842E9E; Mon, 6 Jun 2022 12:16:49 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_FC031E41-3ECE-4BFA-9A79-2135E56E7574"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: buildworld fail: ld: error: undefined symbol: test_no_kevents From: Dimitry Andric X-Priority: 3 (Normal) In-Reply-To: <172777947.19.1654509576898@localhost> Date: Mon, 6 Jun 2022 12:16:44 +0200 Cc: freebsd-current , Mark Johnston Message-Id: <15688335-6503-4120-985A-34A7BF3FBEA7@FreeBSD.org> References: <172777947.19.1654509576898@localhost> To: Ronald Klop X-Mailer: Apple Mail (2.3696.100.31) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654510612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X3+UAPex0bxBMkbOgQER7n7KrL7e1SsEgDHJpriZhYg=; b=aNHPsJVx+QOp04cAnj8gIm/Twm9NdM4k0UppIhnRWF9gVLHwBdhqeEjFuUX2/bZ9/DCteT VaZ+hDoaEEwEaBEO77CEVekr7aSudjNcVBXZcd1zibTxh+ShOOnFTLF7Sumo88zTowd+ji RTf7pUc8RR612JV8a9W+Uv0MFlK/8at+hq08h/7v2tjGC5++7iW4b0SQhuHw5Vej6DjZTx xwaRKLlK2shh7DHlxS5mk+2QD5uMESheRkMg74o/FnGIrCovkQkGxE/OBptH8NOlqeiaPL SZluZ4VHWBR9txcWkZuCBaX54mOs/XzfpmO03BlucgOSBPrvJt9BgcUXYY5SbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654510612; a=rsa-sha256; cv=none; b=tkvbAHothRh28DO0zFbhAMZ96pSOfQePMIPBGZ1pTpjP8m/GTbUdRSMRvizvoM1YQGfXJR fIPY9BnH/PZS+78giYujMmAyThonI6EQztCJxHF179QfCg7YNolPOMEkomdBuKNTemMAhK g2sY5q8yfXhwBZgTrAX7maJgWmZkY5iW1jaL74aidZQvGE/qfiH1M4W9bitNgfu476orLE 2zYfs+clLddbwLLpTA5wK/8J8EiEewYs8v+5EiXpXVC9Lh1XowCYOXo9OGUkCpHUsyweC4 6pRNnEekSgfDh9L7CMLwwmkDgRXnhK/nP7j//J2LyIyf6+UX7Ant6/odlYUQDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_FC031E41-3ECE-4BFA-9A79-2135E56E7574 Content-Type: multipart/alternative; boundary="Apple-Mail=_0C76B5A0-363E-4083-BBA8-EF5CDCA8C939" --Apple-Mail=_0C76B5A0-363E-4083-BBA8-EF5CDCA8C939 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Looks like it might be using an old version of = tests/sys/kqueue/libkqueue/common.h, after = https://cgit.freebsd.org/src/commit/?id=3Dc728c56c870abe230e45cee5c477f0d8= 90ebacef ? Without seeing how the .o files have been compiled, specifically with = which -I flags, it is impossible to see what is going wrong, though. -Dimitry > On 6 Jun 2022, at 11:59, Ronald Klop wrote: >=20 > Hi, >=20 > Building on aarch64/14-CURRENT fails with this error on my rpi4. > It failed on incremental build and tried a clean build today. >=20 > First failure was on "World build started on Sun May 29 00:25:17 UTC = 2022". >=20 > This weekend it still fails (I'm building weekly in Jenkins). > 10:04:44 =3D=3D=3D> tests/sys/kqueue/libkqueue (all) > 10:04:44 --- kqueue_test --- > 10:04:44 (cd /usr/src/tests/sys/kqueue/libkqueue && = DEPENDFILE=3D.depend.kqueue_test NO_SUBDIR=3D1 /usr/bin/make -f = /usr/src/tests/sys/kqueue/libkqueue/Makefile _RECURSING_PROGS=3Dt = PROG=3Dkqueue_test ) > 10:04:44 --- kqueue_test.full --- > 10:04:44 cc -target aarch64-unknown-freebsd14.0 = --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp = -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -fno-common -fPIE = -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length = -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k = -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch = -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts = -Wnested-externs -Wold-style-definition -Wno-pointer-sign = -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-error=3Dunused-but-set-variable -Qunused-arguments -pie -o = kqueue_test.full main.o read.o timer.o vnode.o proc.o signal.o user.o > 10:04:44 ld: error: undefined symbol: test_no_kevents > 10:04:45 >>> referenced by read.c:169 = (/usr/src/tests/sys/kqueue/libkqueue/read.c:169) > 10:04:45 >>> read.o:(test_evfilt_read) > 10:04:45 >>> referenced by read.c:75 = (/usr/src/tests/sys/kqueue/libkqueue/read.c:75) > 10:04:45 >>> read.o:(test_evfilt_read) > 10:04:45 >>> referenced by read.c:137 = (/usr/src/tests/sys/kqueue/libkqueue/read.c:137) > 10:04:45 >>> read.o:(test_evfilt_read) > 10:04:45 >>> referenced 31 more times > 10:04:45 >>> did you mean: _test_no_kevents > 10:04:45 >>> defined in: main.o > 10:04:45 > 10:04:45 ld: error: undefined symbol: kevent_cmp > 10:04:45 >>> referenced by read.c:72 = (/usr/src/tests/sys/kqueue/libkqueue/read.c:72) > 10:04:45 >>> read.o:(test_evfilt_read) > 10:04:45 >>> referenced by read.c:145 = (/usr/src/tests/sys/kqueue/libkqueue/read.c:145) > 10:04:45 >>> read.o:(test_evfilt_read) > 10:04:45 >>> referenced by read.c:193 = (/usr/src/tests/sys/kqueue/libkqueue/read.c:193) > 10:04:45 >>> read.o:(test_evfilt_read) > 10:04:45 >>> referenced 14 more times > 10:04:45 >>> did you mean: _kevent_cmp > 10:04:45 >>> defined in: main.o > 10:04:45 cc: error: linker command failed with exit code 1 (use -v to = see invocation) > 10:04:45 668.58 real 125.97 user 62.12 sys > 10:04:45 > 10:04:45 make[1]: stopped in /usr/src > 10:04:45 > 10:04:45 make: stopped in /usr/src > 10:04:45 Build step 'Execute shell' marked build as failure > 10:04:46 Skipped archiving because build is not successful > 10:04:46 Sending e-mails to: xxxx@yyyy.zzz > 10:04:47 Finished: FAILURE >=20 > Any thoughts? Similar experience? >=20 > Regards, > Ronald. >=20 >=20 --Apple-Mail=_0C76B5A0-363E-4083-BBA8-EF5CDCA8C939 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Looks like it might be using an old version of = tests/sys/kqueue/libkqueue/common.h, after https://cgit.freebsd.org/src/commit/?id=3Dc728c56c870abe230e45c= ee5c477f0d890ebacef ?

Without seeing how the .o files have been compiled, = specifically with which -I flags, it is impossible to see what is going = wrong, though.

-Dimitry

On 6 Jun 2022, at 11:59, Ronald Klop <ronald-lists@klop.ws> wrote:

Hi,
Building on aarch64/14-CURRENT fails with this error on my rpi4.
It failed on incremental build and tried a clean build today.

First failure was on "World build started on Sun May 29 00:25:17 UTC = 2022".

This weekend it still fails (I'm building weekly in Jenkins).
10:04:44 =3D=3D=3D> tests/sys/kqueue/libkqueue =
(all)
10:04:44 --- =
kqueue_test ---
10:04:44 (cd =
/usr/src/tests/sys/kqueue/libkqueue &&  =
DEPENDFILE=3D.depend.kqueue_test  NO_SUBDIR=3D1 /usr/bin/make -f =
/usr/src/tests/sys/kqueue/libkqueue/Makefile _RECURSING_PROGS=3Dt  =
PROG=3Dkqueue_test )
10:04:44 --- =
kqueue_test.full ---
10:04:44 cc -target =
aarch64-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp=
 -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -fno-common =
-fPIE -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length =
-fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k =
-W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts =
-Wnested-externs -Wold-style-definition -Wno-pointer-sign =
-Wmissing-variable-declarations -Wthread-safety -Wno-empty-body =
-Wno-string-plus-int -Wno-unused-const-variable =
-Wno-error=3Dunused-but-set-variable -Qunused-arguments  -pie  -o =
kqueue_test.full main.o read.o timer.o vnode.o proc.o signal.o user.o =20=

10:04:44 ld: error: =
undefined symbol: test_no_kevents
10:04:45 >>> =
referenced by read.c:169 =
(/usr/src/tests/sys/kqueue/libkqueue/read.c:169)
10:04:45 >>> =
              read.o:(test_evfilt_read)
10:04:45 >>> =
referenced by read.c:75 (/usr/src/tests/sys/kqueue/libkqueue/read.c:75)
10:04:45 >>> =
              read.o:(test_evfilt_read)
10:04:45 >>> =
referenced by read.c:137 =
(/usr/src/tests/sys/kqueue/libkqueue/read.c:137)
10:04:45 >>> =
              read.o:(test_evfilt_read)
10:04:45 >>> =
referenced 31 more times
10:04:45 >>> =
did you mean: _test_no_kevents
10:04:45 >>> =
defined in: main.o
10:04:45 
10:04:45 ld: error: =
undefined symbol: kevent_cmp
10:04:45 >>> =
referenced by read.c:72 (/usr/src/tests/sys/kqueue/libkqueue/read.c:72)
10:04:45 >>> =
              read.o:(test_evfilt_read)
10:04:45 >>> =
referenced by read.c:145 =
(/usr/src/tests/sys/kqueue/libkqueue/read.c:145)
10:04:45 >>> =
              read.o:(test_evfilt_read)
10:04:45 >>> =
referenced by read.c:193 =
(/usr/src/tests/sys/kqueue/libkqueue/read.c:193)
10:04:45 >>> =
              read.o:(test_evfilt_read)
10:04:45 >>> =
referenced 14 more times
10:04:45 >>> =
did you mean: _kevent_cmp
10:04:45 >>> =
defined in: main.o
10:04:45 cc: error: =
linker command failed with exit code 1 (use -v to see invocation)
10:04:45       668.58 =
real       125.97 user        62.12 sys
10:04:45 
10:04:45 make[1]: =
stopped in /usr/src
10:04:45 
10:04:45 make: =
stopped in /usr/src
10:04:45 Build step =
'Execute shell' marked build as failure
10:04:46 Skipped =
archiving because build is not successful
10:04:46 Sending =
e-mails to: xxxx@yyyy.zzz
10:04:47 Finished: =
FAILURE

Any thoughts? Similar experience?

Regards,
Ronald.

 

= --Apple-Mail=_0C76B5A0-363E-4083-BBA8-EF5CDCA8C939-- --Apple-Mail=_FC031E41-3ECE-4BFA-9A79-2135E56E7574 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYp3UDAAKCRCwXqMKLiCW o1I2AJwJMW3SfAwL4GUN7oQO8/XNLyBf+QCfQwoMeDLapJBvjIkv1+BC+2NUseQ= =U2JT -----END PGP SIGNATURE----- --Apple-Mail=_FC031E41-3ECE-4BFA-9A79-2135E56E7574--