From nobody Fri Nov 18 06:47:49 2022 X-Original-To: ports-bugs@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 4ND6mR6XhNz4hcFc for ; Fri, 18 Nov 2022 06:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ND6mR3tC2z4RdN for ; Fri, 18 Nov 2022 06:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668754071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G4F+wOHQJzloYVpROM6dzqpSZ1XTPatuj1HoT11/xwA=; b=SIi0HRbSRy4KeoX9aMfBvZBLQcUDM+Q1sY1Ec5aUzywlwgteOZHxTxS+kV96p39z32NEQ3 kl6nOLCofUYNOoQY6xXRuP3+0EygKkQoAnixxSAGsNsEoLc0lsiKmSVLXH2Pm96OS0uZ1i gsWUg8gJ/1wzd0oIEg/rb11506jZf+hSvDWmNiODv+srfn4A+ACbCYfCWOCUDb7DRY5jHt 2MpkMJDvYOD5YUDl69JMM1e1HXJgtRz2h8Uxw+5B5BgoYThNCzJHSV0h4pJRB0f/mpg82T EQJjP/5+pCzcnIIEdeoHPvGR0pzgawz9DQ5q1mRhDKceuFOVkWD0okFaaK1Q2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668754071; a=rsa-sha256; cv=none; b=qqOfWDwHkt8Yb8ZZulwt2Ac7uMk6XYMo9jVG7hMXeWdonmdDUmbTZZ/IheizfbVuNSdxb1 +pkLNqc85g+yfdE54vr48SsyKBDO60hI3EDlg4UtuC2HaUoP2Q8p3P5M9WDxfe3ru4F9ND jyWYbGBlR3/9zLCXewQhddB2hMryaLhN5A5o3ZoZl7at8yty7RNZ27SzWGntuclvq17AjK j7ESVHaq/ccu0/1LTgxUuM8o0pk/uW7Sn5OVhSqsXUOGRi0u2YumCMp44XEJ8ByIE2zSNP ffSRspzeKTfgWvl3XgqOL9MeTNJ4/LX/u4b/ZxmKAVwmcfH2XogTagqx0tkONw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ND6mR2yDVz1Bqw for ; Fri, 18 Nov 2022 06:47:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AI6loS6058662 for ; Fri, 18 Nov 2022 06:47:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AI6lolk058661 for ports-bugs@FreeBSD.org; Fri, 18 Nov 2022 06:47:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long') Date: Fri, 18 Nov 2022 06:47:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@sysctl.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267842 Bug ID: 267842 Summary: sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long') Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: uboot@FreeBSD.org Reporter: freebsd@sysctl.cz Assignee: uboot@FreeBSD.org Flags: maintainer-feedback?(uboot@FreeBSD.org) Hi, I have still issue with u-boot on a clean installation uname -a FreeBSD hades 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64 clang -v FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin /scripts/dtc/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -std=3Dgnu99 -I/usr/local/include -c -o tools/kwbimage.o tools/kwbimage.c In file included from tools/kwbimage.c:14: In file included from include/image.h:19: In file included from ./arch/sandbox/include/asm/byteorder.h:20: In file included from include/linux/byteorder/little_endian.h:13: /usr/local/include/linux/types.h:9:18: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long') typedef uint64_t __u64; ^ include/asm-generic/int-ll64.h:29:42: note: previous definition is here __extension__ typedef unsigned long long __u64; ^ In file included from tools/kwbimage.c:14: In file included from include/image.h:19: In file included from ./arch/sandbox/include/asm/byteorder.h:20: In file included from include/linux/byteorder/little_endian.h:13: /usr/local/include/linux/types.h:22:17: error: typedef redefinition with different types ('int64_t' (aka 'long') vs 'long long') typedef int64_t __s64; ^ include/asm-generic/int-ll64.h:28:44: note: previous definition is here __extension__ typedef __signed__ long long __s64; ^ In file included from tools/kwbimage.c:14: In file included from include/image.h:19: In file included from ./arch/sandbox/include/asm/byteorder.h:20: include/linux/byteorder/little_endian.h:45:15: error: unknown type name '__le64' static inline __le64 __cpu_to_le64p(const __u64 *p) ^ include/linux/byteorder/little_endian.h:47:18: error: use of undeclared identifier '__le64' return (__force __le64)*p; ^ include/linux/byteorder/little_endian.h:49:42: error: unknown type name '__le64' static inline __u64 __le64_to_cpup(const __le64 *p) ^ include/linux/byteorder/little_endian.h:53:15: error: unknown type name '__le32' static inline __le32 __cpu_to_le32p(const __u32 *p) ^ include/linux/byteorder/little_endian.h:55:18: error: use of undeclared identifier '__le32' return (__force __le32)*p; ^ include/linux/byteorder/little_endian.h:57:42: error: unknown type name '__le32' static inline __u32 __le32_to_cpup(const __le32 *p) ^ include/linux/byteorder/little_endian.h:61:15: error: unknown type name '__le16' static inline __le16 __cpu_to_le16p(const __u16 *p) ^ include/linux/byteorder/little_endian.h:63:18: error: use of undeclared identifier '__le16' return (__force __le16)*p; ^ include/linux/byteorder/little_endian.h:65:42: error: unknown type name '__le16' static inline __u16 __le16_to_cpup(const __le16 *p) ^ include/linux/byteorder/little_endian.h:69:15: error: unknown type name '__be64' static inline __be64 __cpu_to_be64p(const __u64 *p) ^ include/linux/byteorder/little_endian.h:71:18: error: use of undeclared identifier '__be64' return (__force __be64)__swab64p(p); ^ include/linux/byteorder/little_endian.h:73:42: error: unknown type name '__be64' static inline __u64 __be64_to_cpup(const __be64 *p) ^ include/linux/byteorder/little_endian.h:77:15: error: unknown type name '__be32' static inline __be32 __cpu_to_be32p(const __u32 *p) ^ include/linux/byteorder/little_endian.h:79:18: error: use of undeclared identifier '__be32' return (__force __be32)__swab32p(p); ^ include/linux/byteorder/little_endian.h:81:42: error: unknown type name '__be32' static inline __u32 __be32_to_cpup(const __be32 *p) ^ include/linux/byteorder/little_endian.h:85:15: error: unknown type name '__be16' static inline __be16 __cpu_to_be16p(const __u16 *p) ^ include/linux/byteorder/little_endian.h:87:18: error: use of undeclared identifier '__be16' return (__force __be16)__swab16p(p); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. gmake[2]: *** [scripts/Makefile.host:112: tools/kwbimage.o] Error 1 gmake[1]: *** [Makefile:1995: tools-only] Error 2 gmake[1]: Leaving directory '/usr/ports/sysutils/u-boot-tools/work/u-boot-2020.07' --=20 You are receiving this mail because: You are the assignee for the bug.=