Date: Sun, 19 Jul 2020 13:24:24 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 248104] java/openjdk8: [patch] fix compilation on arm (armv6) Message-ID: <bug-248104-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248104 Bug ID: 248104 Summary: java/openjdk8: [patch] fix compilation on arm (armv6) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: d8zNeCFG@aon.at Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) Created attachment 216573 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216573&action= =3Dedit patch to apply in /usr/ports for enabling building of java/openjdk8 on arm Scenario: - latest ports - using qemu-arm-static top compile java/openjdk8 in an ARMv6 chroot installation Result: - Build fails with Compiling /usr/tmp/auto/z/SRC/FreeBSD-ports/head/java/openjdk8/work/openjdk-jdk8u-jdk= 8u262-b10.1/hotspot/src/os/bsd/vm/os_perf_bsd.cpp=20 warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 In file included from /usr/tmp/auto/z/SRC/FreeBSD-ports/head/java/openjdk8/work/openjdk-jdk8u-jdk= 8u262-b10.1/hotspot/src/os/bsd/vm/os_perf_bsd.cpp:46:=20 In file included from /usr/include/sys/user.h:40:=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 In file included from /usr/include/machine/pcb.h:43:=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/include/machine/frame.h:133:8: error: redefinition of 'frame'=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 struct frame {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/tmp/auto/z/SRC/FreeBSD-ports/head/java/openjdk8/work/openjdk-jdk8u-jdk= 8u262-b10.1/hotspot/src/share/vm/runtime/frame.hpp:65:7: note: previous definition is here=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 class frame VALUE_OBJ_CLASS_SPEC {=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 Fix: - Quite brutally get rid of the offending declaration in machine/pcb.h (whi= ch is not needed) --=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-248104-7788>