From nobody Sat Nov 27 14:04:48 2021 X-Original-To: freebsd-ports@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 2495018C0E1B for ; Sat, 27 Nov 2021 14:05:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-21.consmr.mail.gq1.yahoo.com (sonic301-21.consmr.mail.gq1.yahoo.com [98.137.64.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J1YK74H85z3mwc for ; Sat, 27 Nov 2021 14:04:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638021892; bh=hePBZkUIVtHuebHnGseUfMXTRiNX8CSzunVjTIl7f7o=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=IMqq5LPwsHF+tBE+m8eA45oeaUHcaGAnmiAv9oYsDASvoOyV7VOePwXNOXiO+pBHRU7OGXXlfV7hcoeGUyzLUV/UTOwaqAzMYBJoO7fr36f+RVWMJlc33yfXzS3qtEkEYzCmM9nvLqql9KabpzSJhuGdRvesb3Am/ejmvqTHg/94BGlwbIspo/PMCPhcTetHqHGNKeXTo0ArjHvp73pZ9QfKjIUUyrcPa/nhVW1crlrb0RhZ7pTSAO4PdZXWoPiHB/Kqsc3OxEwthN2daIMObiDxRMo7evo23/Wuh39zkmnXVDcTbIpCHZPPprjC+gRRQU0d9ebtXCxy3i7u0R6cIQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638021892; bh=X4aQX7WeDfmGCl5aN7sKtJN8QOBwcCJJQEI6cGpKRhs=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=EvUHFI+V0LZN70gydf4eowfUj3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uUxN4DMgI4ysnPW8AfM4pJZBB3K7JDeUSHhHjMuqHmqV N98sg5S3julYrW.Dzu2TrwnyFFCXhtyITMT2mjXFZ0NnQly4QxFLQSM4LgykRD4P4ggper9s2y9K ft3TvLo34hS0UNL57ZgUZyUE.U8u7vSa9Kvd_Nfc.KPQC.tCSB49wM__5CXz50zsdjckoCs5FEUf J2A74fl05RHctD2ltLWBCYdQ8QsC4Srkh66QSDTipajlW8g.jf5.N93NdrkTrmqVYbadtGSY4Xkl rQ7mafoLEFAN5daG0G6YhqHaD11SpA4HTon62hmT25vXDDMJqu4Q6agTmWssoI_CygWIXs70.lcy WdhVe6gvo2KefHQSU7tjuCMBoMhfMf2yAPIhKIAhew_c3eV0VHzNwmeJGHlLBpU9sWJ90Vwoubt8 a1csDsAic_4NkbPfjnqPkUCqWm7y9Q6tWwklGaI6pGwhpFhGV4PebBQiRIYcDUonpb6aS0T_SOs5 pEGREnITnGs6NOV.4o33slg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Sat, 27 Nov 2021 14:04:52 +0000 Received: by kubenode524.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 38c267f17ec5e24b63104d685d1b0505; Sat, 27 Nov 2021 14:04:49 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: armv7 main [so: 14] targeting via poudriere bulk builds: iperf3 fails to build: iperf_api.c:4460:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? Message-Id: <2E8E8E81-A29F-47AB-A14D-8B60811FE7EE@yahoo.com> Date: Sat, 27 Nov 2021 06:04:48 -0800 To: "bmah@freebsd.org" , freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.3654.120.0.1.13) References: <2E8E8E81-A29F-47AB-A14D-8B60811FE7EE.ref@yahoo.com> X-Rspamd-Queue-Id: 4J1YK74H85z3mwc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=IMqq5LPw; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.40 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.900]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.147:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.147:from]; RCVD_COUNT_TWO(0.00)[2] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-ports X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N Notably amd64 targeting did not have this problem. I've not tried aarch64 targeting yet. Still, it looks like iperf3 needs the #define _WITH_CPU_SET_T opt-in someplace: --- iperf_api.lo --- iperf_api.c:4460:5: error: unknown type name 'cpu_set_t'; did you mean = 'cpuset_t'? cpu_set_t cpu_set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ iperf_api.c:4464:9: warning: implicit declaration of function = 'sched_setaffinity' is invalid in C99 [-Wimplicit-function-declaration] if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) !=3D 0) { ^ iperf_api.c:4464:37: error: use of undeclared identifier 'cpu_set_t'; = did you mean 'cpuset'? if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) !=3D 0) { ^~~~~~~~~ cpuset /usr/include/sys/cpuset.h:156:5: note: 'cpuset' declared here int cpuset(cpusetid_t *); ^ iperf_api.c:4506:5: error: unknown type name 'cpu_set_t'; did you mean = 'cpuset_t'? cpu_set_t cpu_set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ iperf_api.c:4512:9: warning: implicit declaration of function = 'sched_setaffinity' is invalid in C99 [-Wimplicit-function-declaration] if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) !=3D 0) { ^ iperf_api.c:4512:37: error: use of undeclared identifier 'cpu_set_t'; = did you mean 'cpuset'? if (sched_setaffinity(0, sizeof(cpu_set_t), &cpu_set) !=3D 0) { ^~~~~~~~~ cpuset /usr/include/sys/cpuset.h:156:5: note: 'cpuset' declared here int cpuset(cpusetid_t *); ^ 2 warnings and 4 errors generated. *** [iperf_api.lo] Error code 1 make[3]: stopped in = /wrkdirs/usr/ports/benchmarks/iperf3/work/iperf-3.10.1/src For reference: # uname -apKU FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #22 = main-n250972-319e9fc642a1-dirty: Tue Nov 23 12:25:36 PST 2021 = root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6= 4.aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1400042 1400042 # poudriere jail -jmain-CA7 -i Jail name: main-CA7 Jail version: 14.0-CURRENT Jail arch: arm.armv7 Jail method: null Jail mount: /usr/obj/DESTDIRs/main-CA7-poud Jail fs: =20 Jail updated: 2021-06-27 17:58:33 Jail pkgbase: disabled # uname -apKU FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #22 = main-n250972-319e9fc642a1-dirty: Tue Nov 23 12:25:36 PST 2021 = root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6= 4.aarch64/sys/GENERIC-NODBG-CA72 arm armv7 1400042 1400042 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)