From owner-freebsd-java@freebsd.org Thu Jan 11 23:44:09 2018 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84F0FE5C71B for ; Thu, 11 Jan 2018 23:44:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6515D6B832 for ; Thu, 11 Jan 2018 23:44:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 619F3E5C719; Thu, 11 Jan 2018 23:44:09 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61495E5C718 for ; Thu, 11 Jan 2018 23:44:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C506B831 for ; Thu, 11 Jan 2018 23:44:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2469A5ED2 for ; Thu, 11 Jan 2018 23:44:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0BNi9Hn093211 for ; Thu, 11 Jan 2018 23:44:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0BNi90C093210 for java@FreeBSD.org; Thu, 11 Jan 2018 23:44:09 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: java@FreeBSD.org Subject: [Bug 225054] java/openjdk* : fails to build with clang 6.0 (blocks 571 ports) Date: Thu, 11 Jan 2018 23:44:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 23:44:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #8 from Jan Beich --- Dimitry, does openjdk8 actually work for you? Clang 6 probably misoptimizes= it. $ gdb -q /usr/local/openjdk8/bin/java Reading symbols from /usr/local/openjdk8/bin/java...(no debugging symbols found)...done. (gdb) r Starting program: /usr/local/openjdk8/bin/java Program received signal SIGSEGV, Segmentation fault. 0x00000008023c7896 in NativeCallStack::NativeCallStack(int, bool) () from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so (gdb) bt #0 0x00000008023c7896 in NativeCallStack::NativeCallStack(int, bool) () from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so #1 0x0000000802382f4e in MemTracker::init_tracking_level() () from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so #2 0x0000000801ebccb2 in ResourceObj::operator new(unsigned long, ResourceObj::allocation_type, MemoryType) () from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so #3 0x000000080245bb2a in _GLOBAL__sub_I_reflectionUtils.cpp () from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so #4 0x0000000802588ff2 in __do_global_ctors_aux () from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so #5 0x0000000801df331e in _init () from /usr/local/openjdk8/jre/lib/amd64/server/libjvm.so #6 0x00007fffffffd110 in ?? () #7 0x00000008006056ba in objlist_call_init (list=3D, lockstate=3D) at /usr/src/libexec/rtld-elf/rtld.c:2672 #8 0x0000000800609e39 in dlopen_object (name=3D0x800629400 "z\270P\325", fd=3D, refobj=3D, lo_flags=3D2, mode=3D258, lockstate=3D0x2) at /usr/src/libexec/rtld-elf/rtld.c:3391 #9 0x0000000800606836 in rtld_dlopen ( name=3D0x7fffffffe6d0 "/usr/local/openjdk8/jre/lib/amd64/server/libjvm.= so", fd=3D-1, mode=3D) at /usr/src/libexec/rtld-elf/rtld.c:3266 #10 0x00000008008293fe in LoadJavaVM () from /usr/local/openjdk8/bin/../lib/amd64/jli/libjli.so #11 0x0000000800824d88 in JLI_Launch () from /usr/local/openjdk8/bin/../lib/amd64/jli/libjli.so #12 0x00000000004008ab in main () --=20 You are receiving this mail because: You are the assignee for the bug.=