Date: Wed, 11 Nov 2020 18:49:59 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251057] graphics/s2: fails to build on aarch64 Message-ID: <bug-251057-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251057 Bug ID: 251057 Summary: graphics/s2: fails to build on aarch64 Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: mikael@FreeBSD.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Created attachment 219571 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219571&action= =3Dedit v1 on aarch64 13-current, clang 11 /usr/local/libexec/ccache/c++ -DS2_USE_GFLAGS -DS2_USE_GLOG -Ds2_EXPORTS -I/usr/ports/graphics/s2/work/s2geometry-0.9.0/src -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20 -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC= =20=20 -Wno-attributes -Wno-deprecated-declarations -std=3Dc++11 -MD -MT CMakeFiles/s2.dir/src/s2/s2lax_polygon_shape.cc.o -MF CMakeFiles/s2.dir/src/s2/s2lax_polygon_shape.cc.o.d -o CMakeFiles/s2.dir/src/s2/s2lax_polygon_shape.cc.o -c /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/s2lax_polygon_shape.cc In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/s2lax_polygon_shape.cc:= 18: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/s2lax_polygon_shape.h:2= 5: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_s2point_vector.= h:23: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_string_vector.h= :25: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_uint_vector.h:2= 3: /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/third_party/absl/base/i= nternal/unaligned_access.h:289:8: error: unknown type name 'uint64'; did you mean 'uint64_t'? inline uint64 UnalignedLoad64(const void *p) { ^~~~~~ uint64_t /usr/include/sys/endian.h:54:20: note: 'uint64_t' declared here typedef __uint64_t uint64_t; ^ In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/s2lax_polygon_shape.cc:= 18: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/s2lax_polygon_shape.h:2= 5: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_s2point_vector.= h:23: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_string_vector.h= :25: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_uint_vector.h:2= 3: /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/third_party/absl/base/i= nternal/unaligned_access.h:290:3: error: unknown type name 'uint64'; did you mean 'uint64_t'? uint64 t; ^~~~~~ uint64_t /usr/include/sys/endian.h:54:20: note: 'uint64_t' declared here typedef __uint64_t uint64_t; ^ In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/s2lax_polygon_shape.cc:= 18: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/s2lax_polygon_shape.h:2= 5: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_s2point_vector.= h:23: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_string_vector.h= :25: In file included from /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/encoded_uint_vector.h:2= 3: /usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/third_party/absl/base/i= nternal/unaligned_access.h:299:39: error: unknown type name 'uint64'; did you mean 'uint64_t'? inline void UnalignedStore64(void *p, uint64 v) { memcpy(p, &v, sizeof v); } ^~~~~~ uint64_t /usr/include/sys/endian.h:54:20: note: 'uint64_t' declared here typedef __uint64_t uint64_t; upstream has the correct type: https://github.com/abseil/abseil-cpp/blob/master/absl/base/internal/unalign= ed_access.h#L114 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251057-7788>