[Bug 251057] graphics/s2: fails to build on aarch64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 11 18:50:00 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251057
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 at FreeBSD.org
Reporter: mikael at FreeBSD.org
Assignee: sunpoet at FreeBSD.org
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Created attachment 219571
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219571&action=edit
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
-isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC
-Wno-attributes -Wno-deprecated-declarations -std=c++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:25:
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:23:
/usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/third_party/absl/base/internal/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:25:
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:23:
/usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/third_party/absl/base/internal/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:25:
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:23:
/usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/third_party/absl/base/internal/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/unaligned_access.h#L114
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list