From owner-freebsd-java@freebsd.org Wed Jan 10 16:09:50 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 120B7E64E26 for ; Wed, 10 Jan 2018 16:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E76327C2FC for ; Wed, 10 Jan 2018 16:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E39CAE64E25; Wed, 10 Jan 2018 16:09:49 +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 E24DFE64E24 for ; Wed, 10 Jan 2018 16:09:49 +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 C92027C2FB for ; Wed, 10 Jan 2018 16:09:49 +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 BCE4E1CF3E for ; Wed, 10 Jan 2018 16:09:49 +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 w0AG9nun052139 for ; Wed, 10 Jan 2018 16:09:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AG9n66052138 for java@FreeBSD.org; Wed, 10 Jan 2018 16:09:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 225054] java/openjdk* : fails to build with clang 6.0 (blocks 571 ports) Date: Wed, 10 Jan 2018 16:09:47 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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: Wed, 10 Jan 2018 16:09:50 -0000 Jan Beich has reassigned Bugzilla Automation 's request for maintainer-feedback to java@FreeBSD.or= g: Bug 225054: java/openjdk* : fails to build with clang 6.0 (blocks 571 ports) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Description --- FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing th= is port failed to build. In file included from hotspot/src/share/vm/utilities/accessFlags.cpp:26: In file included from hotspot/src/share/vm/oops/oop.inline.hpp:28: In file included from hotspot/src/share/vm/gc_implementation/shared/ageTable.hpp:30: In file included from hotspot/src/share/vm/runtime/perfData.hpp:28: In file included from hotspot/src/share/vm/memory/allocation.inline.hpp:28: In file included from hotspot/src/share/vm/runtime/atomic.inline.hpp:70: hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:95:21: error: unkno= wn token in expression __asm__ volatile (LOCK_IF_MP(%4) "cmpxchgl %1,(%3)" ^ hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:48:24: note: expand= ed from macro 'LOCK_IF_MP' #define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: " ^ :1:30: note: instantiated into assembly here cmp $0, %esi; je 1f; lock; 1: cmpxchgl %ecx,(%edi) ^ To reproduce: $ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m svn+https $ poudriere bulk -Ctj clang6-amd64 java/openjdk6 java/openjdk7 java/openjdk8 http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-10_= 07h0 0m34s/logs/errors/openjdk6-b44,1.log http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-10_= 07h0 0m34s/logs/errors/openjdk8-8.152.16_2.log http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_2= 1h45 m33s/logs/errors/openjdk6-b44,1.log http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_2= 1h45 m33s/logs/errors/openjdk8-8.152.16_2.log From owner-freebsd-java@freebsd.org Wed Jan 10 16:09:50 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 5F97BE64E2D for ; Wed, 10 Jan 2018 16:09:50 +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 3DF647C2FF for ; Wed, 10 Jan 2018 16:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 35437E64E2A; Wed, 10 Jan 2018 16:09:50 +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 34EDFE64E29 for ; Wed, 10 Jan 2018 16:09:50 +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 1B6A47C2FD for ; Wed, 10 Jan 2018 16:09:50 +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 EC9301CF3F for ; Wed, 10 Jan 2018 16:09:49 +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 w0AG9nrs052144 for ; Wed, 10 Jan 2018 16:09:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AG9nxV052143 for java@FreeBSD.org; Wed, 10 Jan 2018 16:09:49 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: Wed, 10 Jan 2018 16:09:47 +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: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter blocked 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 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: Wed, 10 Jan 2018 16:09:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 Bug ID: 225054 Summary: java/openjdk* : fails to build with clang 6.0 (blocks 571 ports) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: jbeich@FreeBSD.org Blocks: 224669 Flags: maintainer-feedback?(java@FreeBSD.org) FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing th= is port failed to build. In file included from hotspot/src/share/vm/utilities/accessFlags.cpp:26: In file included from hotspot/src/share/vm/oops/oop.inline.hpp:28: In file included from hotspot/src/share/vm/gc_implementation/shared/ageTable.hpp:30: In file included from hotspot/src/share/vm/runtime/perfData.hpp:28: In file included from hotspot/src/share/vm/memory/allocation.inline.hpp:28: In file included from hotspot/src/share/vm/runtime/atomic.inline.hpp:70: hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:95:21: error: unkno= wn token in expression __asm__ volatile (LOCK_IF_MP(%4) "cmpxchgl %1,(%3)" ^ hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:48:24: note: expand= ed from macro 'LOCK_IF_MP' #define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: " ^ :1:30: note: instantiated into assembly here cmp $0, %esi; je 1f; lock; 1: cmpxchgl %ecx,(%edi) ^ To reproduce: $ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m svn+https $ poudriere bulk -Ctj clang6-amd64 java/openjdk6 java/openjdk7 java/openjdk8 http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-10_= 07h00m34s/logs/errors/openjdk6-b44,1.log http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-10_= 07h00m34s/logs/errors/openjdk8-8.152.16_2.log http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_2= 1h45m33s/logs/errors/openjdk6-b44,1.log http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_2= 1h45m33s/logs/errors/openjdk8-8.152.16_2.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224669 [Bug 224669] [exp-run] Against projects/clang600-import branch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 16:35:51 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 3AC2AE66401 for ; Wed, 10 Jan 2018 16:35:51 +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 159AF7D43A for ; Wed, 10 Jan 2018 16:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 11D15E66400; Wed, 10 Jan 2018 16:35:51 +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 11704E663FE for ; Wed, 10 Jan 2018 16:35:51 +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 EC1C67D439 for ; Wed, 10 Jan 2018 16:35:50 +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 DCEE61D375 for ; Wed, 10 Jan 2018 16:35:50 +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 w0AGZorJ018413 for ; Wed, 10 Jan 2018 16:35:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AGZofb018412 for java@FreeBSD.org; Wed, 10 Jan 2018 16:35: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: java@FreeBSD.org Subject: [Bug 225054] java/openjdk* : fails to build with clang 6.0 (blocks 571 ports) Date: Wed, 10 Jan 2018 16:35:50 +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: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created 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: Wed, 10 Jan 2018 16:35:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #1 from Jan Beich --- Created attachment 189594 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189594&action= =3Dedit blind fix: use "lock" as prefix My guess, Clang integrated assembler no longer accepts "lock" as standalone instruction. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 16:36:07 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 AE2FDE6646B for ; Wed, 10 Jan 2018 16:36:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7E17D47D for ; Wed, 10 Jan 2018 16:36:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8BE81E6646A; Wed, 10 Jan 2018 16:36:07 +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 8AAD8E66469 for ; Wed, 10 Jan 2018 16:36:07 +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 699EF7D47C for ; Wed, 10 Jan 2018 16:36:07 +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 5EC931D376 for ; Wed, 10 Jan 2018 16:36:07 +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 w0AGa7RM018765 for ; Wed, 10 Jan 2018 16:36:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AGa7LV018763 for java@FreeBSD.org; Wed, 10 Jan 2018 16:36:07 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: Wed, 10 Jan 2018 16:36:07 +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: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: keywords 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: Wed, 10 Jan 2018 16:36:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-patch |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 18:47:55 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 C60BAE6EA60 for ; Wed, 10 Jan 2018 18:47:55 +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 A18CC10D1 for ; Wed, 10 Jan 2018 18:47:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A0DF1E6EA5F; Wed, 10 Jan 2018 18:47:55 +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 A083BE6EA5D for ; Wed, 10 Jan 2018 18:47:55 +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 87E1410D0 for ; Wed, 10 Jan 2018 18:47:55 +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 7D2081E59D for ; Wed, 10 Jan 2018 18:47:55 +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 w0AIltHT003827 for ; Wed, 10 Jan 2018 18:47:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AIltrX003826 for java@FreeBSD.org; Wed, 10 Jan 2018 18:47:55 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: Wed, 10 Jan 2018 18:47:55 +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: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jkim@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: cc bug_status 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: Wed, 10 Jan 2018 18:47:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 Jung-uk Kim changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkim@FreeBSD.org Status|New |Open --- Comment #2 from Jung-uk Kim --- This patch does not look good. The previous inline assembly should generate something like this: je .Ltmp0 lock .Ltmp0: cmpxchgl %ecx, (%edi) Assembled: 4: 0f 84 01 00 00 00 je b a: f0 67 0f b1 0f lock addr32 cmpxchg %ecx,(%edi) Your patch will generate something like this: je .Ltmp0 .Ltmp0: lock cmpxchgl %ecx, (%edi) Assembled: 4: 0f 84 00 00 00 00 je a a: f0 67 0f b1 0f lock addr32 cmpxchg %ecx,(%edi) As you can see, this patch *always* adds the prefix for cmpxchg. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 18:53:49 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 0D230E6F189 for ; Wed, 10 Jan 2018 18:53:49 +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 E055C196C for ; Wed, 10 Jan 2018 18:53:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DCB08E6F187; Wed, 10 Jan 2018 18:53:48 +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 DC567E6F186 for ; Wed, 10 Jan 2018 18:53:48 +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 C1A271969 for ; Wed, 10 Jan 2018 18:53:48 +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 B6B311E6FE for ; Wed, 10 Jan 2018 18:53:48 +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 w0AIrmGI020797 for ; Wed, 10 Jan 2018 18:53:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AIrmsf020795 for java@FreeBSD.org; Wed, 10 Jan 2018 18:53:48 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: Wed, 10 Jan 2018 18:53:48 +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: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jkim@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: Wed, 10 Jan 2018 18:53:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #3 from Jung-uk Kim --- Can you please try something like this? +-#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: " ++#define LOCK_IF_MP(mp) "cmp $0, " #mp "\nje 1f\nlock\n1: " --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 19:32:49 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 90EB1E71A12 for ; Wed, 10 Jan 2018 19:32:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 70F1D3FA4 for ; Wed, 10 Jan 2018 19:32:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 70444E71A11; Wed, 10 Jan 2018 19:32:49 +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 6FE71E71A10 for ; Wed, 10 Jan 2018 19:32:49 +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 56CF63FA2 for ; Wed, 10 Jan 2018 19:32:49 +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 33A8A1ECC9 for ; Wed, 10 Jan 2018 19:32:49 +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 w0AJWnZA019438 for ; Wed, 10 Jan 2018 19:32:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AJWnYM019437 for java@FreeBSD.org; Wed, 10 Jan 2018 19:32:49 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: Wed, 10 Jan 2018 19:32:49 +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: 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: Wed, 10 Jan 2018 19:32:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #4 from Jan Beich --- No joy with \n In file included from hotspot/src/share/vm/runtime/atomic.inline.hpp:70: hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:95:21: error: unkno= wn token in expression __asm__ volatile (LOCK_IF_MP(%4) "cmpxchgl %1,(%3)" ^ hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:48:55: note: expand= ed from macro 'LOCK_IF_MP' #define LOCK_IF_MP(mp) "cmp $0, " #mp "\nje 1f\nlock\n1: " ^ :4:2: note: instantiated into assembly here 1: cmpxchgl %ecx,(%rdi) ^ openjdk6 - https://ptpb.pw/6chE openjdk8 - https://ptpb.pw/CXbx openjdk7 is also affected by In file included from hotspot/src/share/vm/precompiled/precompiled.hpp:259: In file included from hotspot/src/share/vm/opto/addnode.hpp:28: In file included from hotspot/src/share/vm/opto/node.hpp:30: In file included from hotspot/src/share/vm/opto/compile.hpp:44: In file included from hotspot/src/share/vm/trace/tracing.hpp:28: In file included from ../generated/tracefiles/traceEventClasses.hpp:18: hotspot/src/share/vm/trace/traceStream.hpp:44:22: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] _st.print("%s =3D "UINT32_FORMAT, label, val); ^ hotspot/src/share/vm/trace/traceStream.hpp:48:22: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] _st.print("%s =3D "UINT32_FORMAT, label, val); ^ hotspot/src/share/vm/trace/traceStream.hpp:52:22: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] _st.print("%s =3D "INT32_FORMAT, label, val); ^ hotspot/src/share/vm/trace/traceStream.hpp:56:22: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] _st.print("%s =3D "UINT32_FORMAT, label, val); ^ http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-07_2= 2h53m03s/logs/errors/openjdk-7.151.01,1.log --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 19:34:02 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 D29B3E71B45 for ; Wed, 10 Jan 2018 19:34:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B2014633A9 for ; Wed, 10 Jan 2018 19:34:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B141EE71B44; Wed, 10 Jan 2018 19:34:02 +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 B0E25E71B42 for ; Wed, 10 Jan 2018 19:34:02 +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 98078633A8 for ; Wed, 10 Jan 2018 19:34:02 +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 8D3A81ECCD for ; Wed, 10 Jan 2018 19:34:02 +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 w0AJY2gD021094 for ; Wed, 10 Jan 2018 19:34:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AJY206021092 for java@FreeBSD.org; Wed, 10 Jan 2018 19:34:02 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: Wed, 10 Jan 2018 19:34:02 +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: 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: attachments.isobsolete 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: Wed, 10 Jan 2018 19:34:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189594|0 |1 is obsolete| | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 19:34:12 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 06660E71B82 for ; Wed, 10 Jan 2018 19:34:12 +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 D9D1D633C8 for ; Wed, 10 Jan 2018 19:34:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D93E0E71B77; Wed, 10 Jan 2018 19:34:11 +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 D8F0FE71B76 for ; Wed, 10 Jan 2018 19:34:11 +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 BEFC4633C6 for ; Wed, 10 Jan 2018 19:34:11 +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 B46951ECCE for ; Wed, 10 Jan 2018 19:34:11 +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 w0AJYBxI021304 for ; Wed, 10 Jan 2018 19:34:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AJYB6K021303 for java@FreeBSD.org; Wed, 10 Jan 2018 19:34:11 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: Wed, 10 Jan 2018 19:34:11 +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: keywords 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: Wed, 10 Jan 2018 19:34:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch |needs-patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 19:36:32 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 A30A2E71DCE for ; Wed, 10 Jan 2018 19:36:32 +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 83F7663607 for ; Wed, 10 Jan 2018 19:36:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 80391E71DCD; Wed, 10 Jan 2018 19:36:32 +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 7FC4BE71DCC for ; Wed, 10 Jan 2018 19:36:32 +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 6740B63606 for ; Wed, 10 Jan 2018 19:36:32 +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 5AD7D1ECD3 for ; Wed, 10 Jan 2018 19:36:32 +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 w0AJaWUS024656 for ; Wed, 10 Jan 2018 19:36:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AJaW7G024655 for java@FreeBSD.org; Wed, 10 Jan 2018 19:36:32 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: Wed, 10 Jan 2018 19:36:32 +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: cc 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: Wed, 10 Jan 2018 19:36:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #5 from Jan Beich --- Dimitry, can you find Clang commit that changed integrated assembler in ord= er for us to better understand the rationale? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 19:40:35 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 9EDBCE7207C for ; Wed, 10 Jan 2018 19:40:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB8A63870 for ; Wed, 10 Jan 2018 19:40:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7BD0CE7207B; Wed, 10 Jan 2018 19:40:35 +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 7B77FE7207A for ; Wed, 10 Jan 2018 19:40:35 +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 61FDD6386F for ; Wed, 10 Jan 2018 19:40:35 +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 557171ECE0 for ; Wed, 10 Jan 2018 19:40:35 +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 w0AJeZT9030396 for ; Wed, 10 Jan 2018 19:40:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AJeZq0030395 for java@FreeBSD.org; Wed, 10 Jan 2018 19:40:35 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: Wed, 10 Jan 2018 19:40:35 +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: jkim@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: Wed, 10 Jan 2018 19:40:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #6 from Jung-uk Kim --- (In reply to Jan Beich from comment #4) That's bad. :-( Then, I guess we have no choice but to do something like this: +-#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: " ++#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; .byte 0xf0; 1: " --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 19:48:50 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 96A8DE72A0D for ; Wed, 10 Jan 2018 19:48:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 75BE068460 for ; Wed, 10 Jan 2018 19:48:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6FC4FE72A0C; Wed, 10 Jan 2018 19:48:50 +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 6B187E72A0B for ; Wed, 10 Jan 2018 19:48:50 +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 51D8D6845E for ; Wed, 10 Jan 2018 19:48:50 +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 40DC71EE51 for ; Wed, 10 Jan 2018 19:48:50 +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 w0AJmoIL054369 for ; Wed, 10 Jan 2018 19:48:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0AJmohK054368 for java@FreeBSD.org; Wed, 10 Jan 2018 19:48: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: java@FreeBSD.org Subject: [Bug 225054] java/openjdk* : fails to build with clang 6.0 (blocks 571 ports) Date: Wed, 10 Jan 2018 19:48:50 +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: dim@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: Wed, 10 Jan 2018 19:48:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #7 from Dimitry Andric --- (In reply to Jan Beich from comment #5) > Dimitry, can you find Clang commit that changed integrated assembler in > order for us to better understand the rationale? Yes, this was caused by https://reviews.llvm.org/rL315899; the changes were= for "better" rep/lock prefix support, but I filed several severe regression bug= s, after noticing these during world and ports builds, see: * https://bugs.llvm.org/show_bug.cgi?id=3D35741 (comments after x86 prefixes cause errors ) * https://bugs.llvm.org/show_bug.cgi?id=3D35749 (.byte directives after x86 prefixes cause errors) * https://bugs.llvm.org/show_bug.cgi?id=3D35831 (labels after x86 prefixes = cause errors) The first bug was fixed fairly quickly, but there has been no movement on t= he other two, and I think it is likely that more edge cases exist. I asked in PR35749 whether the release manager will consider reverting the upstream change in the 6.0.0 branch, since this regressed so much. I will = ask again. > (In reply to Jung-uk Kim from comment #6) > (In reply to Jan Beich from comment #4) >=20 > That's bad. :-( >=20 > Then, I guess we have no choice but to do something like this: >=20 > +-#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: " > ++#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; .byte 0xf0; 1: " Yes, that is the workaround I put in my local ports tree too. But I hate i= t :( --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Wed Jan 10 19:58:43 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 C4558E73413 for ; Wed, 10 Jan 2018 19:58:43 +0000 (UTC) (envelope-from r.c.g@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B49B68C71 for ; Wed, 10 Jan 2018 19:58:42 +0000 (UTC) (envelope-from r.c.g@gmx.de) Received: from [10.0.0.85] ([92.193.39.64]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MJGFi-1eb1Tu0AKA-002p14; Wed, 10 Jan 2018 20:58:40 +0100 Subject: Re: Update JOGL to 2.3.2 (for Running SweetHome3D) To: Johannes Dieterich Cc: "freebsd-java@FreeBSD.org" References: From: Ruediger Gad Message-ID: <8166fee5-ebfe-74ee-36ba-4d807f0ade51@gmx.de> Date: Wed, 10 Jan 2018 20:58:52 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Br0kLzrqEmotVSo3E1aLp4jZ01Q4NvRPvqLnxoNBwXeKslimu0P YkliqTkmAVDaQTN3uLgjF2DOTyN9ZH6cKQdZYYRdNug6KzjyZ3t4BzU+E6cdvPqaWdYDIuC wUfSBzBB4e1xUM71OfFvZlfNTPnb/48GFBz3uDV/vJ9sSkYk0Ozn/edYZvTS48+DnMnaE0b 1LtA7p3YgrEBut/sr6ifg== X-UI-Out-Filterresults: notjunk:1;V01:K0:xPLWYcAi6rY=:LANFT4Jqk33Rii84SFHbHQ vm+lzrfeOkai8rYEIh8DhJLTidDdF7nhyzAU+/IYTznovwk3bwI7GqffGMbT8XbafffW1Ph+x 72Rj8F+DKyBouSE6iCOJl5+u7kEZJ9Af8PEcx/rg0TPJ5v7JeGQ9K88Xmx1r5nRGpypLlgU7p k15KMgRAqN1sRXvMGKvBbpZkMO1xUba9YL4gmN9V51nM526maEzLZbZJCcbVFBWaiqjtPNLzk 2OukJEehw/rr/zokTT3xOb1/SWnzik4FRnZhiO9DVDUl7uQkHf8Cn6wSUsMjgDxr3nd2WXAIP nOAQi150i8OPdnJI/q4ypU7tkw2zEP9lGGxJVMK3EvDhgX+55xekAEPdEVlge12cmj3dvYCtq 1bx7eR2G5tKO9C5NzVk9ycUDoY5H0cPUEFgXXfiT592CjReh7cdWvix93sqV63tnf4cVQy4a3 hjjxmgYKYZcFfODMjJzZATF5Y66X0pLl3ssDjYToPlqJYsgPYVFqsmcx0af3pBFOUmNkO/vgH Mq5VdoKTUwPp08fULsUyV9UduuLWhttxjvT7CqqrmyxRalmP+q0oYiIRg6vNog2dm6capF05G eZYyOGQUB1iBfcM+uJZk2cdkNCYqbwu5Sgd5ORVJhVrvk0HtdYMaxVYi+mMqI72iE2KtcRtQ/ fbrod+TxEduD90prIBtrINHG39cWmOT0Jevvot3ZwZi48MDF3Fl+BNvuGxjnm8anwt4BZ5RY5 TbZKsUHu5EY2cXAAlzP5EHXntIbXmbKcG/qCOiDfm0AgDRxPnJ4aTIBO9pnEzDfVvNBhiEJCt 4HWh/FQBOkuhhTeNZtBJisXt7NkabNN3ZC/Lr5XgkwoVE94Nbs= 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: Wed, 10 Jan 2018 19:58:43 -0000 Dear Johannes, thank you very much for your reply. Just to let you know, I created a corresponding bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225058 Thanks again and best regards, Ruediger On 01/04/18 17:59, Johannes Dieterich wrote: > Dear Ruediger, > > thanks for your email! > > On Mon, Jan 1, 2018 at 8:27 AM, Ruediger Gad wrote: >> Hi, >> >> I am sending this in hope it is helpful for others. >> >> For running SweetHome3D (http://www.sweethome3d.com), I had to use JOGL >> 2.3.2. >> For updating JOGL to 2.3.2, I modified jogamp-jogl from the ports tree. >> >> Just bumping the version was not sufficient as some more things had to be >> adjusted. >> Attached, I send a diff against the original version that shows the >> modifications. >> >> Just in case, I also include the modified start script for SweetHome3D. >> >> If it is helpful, I could also prepare a pull request or so to include the >> modifications in the ports tree. >> Unfortunately, I am new to FreeBSD and do not know the processes etc. > Go to https://bugs.freebsd.org/bugzilla and file a bug with your patch > attached. The process will guide you through the steps. Ultimately, > the maintainer of the port (peterj) will receive your patch and can > test it, provide feedback there, and ultimately integrate it to the > tree. In the unlikely event that peterj does not respond, you can CC > my FreeBSD account (jmd@) and I can do the testing. > > Thanks! > > Johannes > > >> Cheers, >> >> Ruediger >> >> >> >> >> -- >> https://ruedigergad.com/ >> >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >> -- https://ruedigergad.com/ 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.= From owner-freebsd-java@freebsd.org Fri Jan 12 00:48:06 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 160EBE633B3 for ; Fri, 12 Jan 2018 00:48:06 +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 F0A056E159 for ; Fri, 12 Jan 2018 00:48:05 +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 E4FA16738 for ; Fri, 12 Jan 2018 00:48:05 +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 w0C0m5ZA019515 for ; Fri, 12 Jan 2018 00:48:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0C0m5vK019514 for freebsd-java@FreeBSD.org; Fri, 12 Jan 2018 00:48:05 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: freebsd-java@FreeBSD.org Subject: [Bug 164941] [UPDATE] [NEW PORTS] java/classpath-initial, including rework of java/classpath Date: Fri, 12 Jan 2018 00:48:06 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: w.schwarzenfeld@utanet.at X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Fri, 12 Jan 2018 00:48:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D164941 w.schwarzenfeld@utanet.at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |w.schwarzenfeld@utanet.at --- Comment #8 from w.schwarzenfeld@utanet.at --- A port javavm with version 1.5.4_2 is in the portstree. I think this could = be closed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri Jan 12 04:28:11 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 CBAB9E6FEF9 for ; Fri, 12 Jan 2018 04:28:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ABCAF75E1D for ; Fri, 12 Jan 2018 04:28:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AB136E6FEF8; Fri, 12 Jan 2018 04:28:11 +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 AABBFE6FEF7 for ; Fri, 12 Jan 2018 04:28:11 +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 91FC175E1C for ; Fri, 12 Jan 2018 04:28:11 +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 806E810712 for ; Fri, 12 Jan 2018 04:28:11 +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 w0C4SBT0050727 for ; Fri, 12 Jan 2018 04:28:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0C4SBpD050726 for java@FreeBSD.org; Fri, 12 Jan 2018 04:28:11 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 191147] Building java/openjdk6 on FreeBSD CURRENT (amd64) fails Date: Fri, 12 Jan 2018 04:28:11 +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: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: w.schwarzenfeld@utanet.at X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Fri, 12 Jan 2018 04:28:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191147 w.schwarzenfeld@utanet.at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |w.schwarzenfeld@utanet.at --- Comment #6 from w.schwarzenfeld@utanet.at --- Is this still relevant or could it be closed? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri Jan 12 20:50:30 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 81168E7B511 for ; Fri, 12 Jan 2018 20:50:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 60D6B7F3DE for ; Fri, 12 Jan 2018 20:50:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5CFCCE7B510; Fri, 12 Jan 2018 20:50:30 +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 5C9F8E7B50F for ; Fri, 12 Jan 2018 20:50:30 +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 418EE7F3DD for ; Fri, 12 Jan 2018 20:50:30 +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 35DBF19261 for ; Fri, 12 Jan 2018 20:50:30 +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 w0CKoUqL039370 for ; Fri, 12 Jan 2018 20:50:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0CKoUEv039369 for java@FreeBSD.org; Fri, 12 Jan 2018 20:50:30 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: Fri, 12 Jan 2018 20:50:30 +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: dim@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: Fri, 12 Jan 2018 20:50:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #9 from Dimitry Andric --- (In reply to Jan Beich from comment #8) > Dimitry, does openjdk8 actually work for you? Clang 6 probably misoptimiz= es > it. Not sure about misoptimizing, but it does indeed crash: Program received signal SIGSEGV, Segmentation fault. NativeCallStack::NativeCallStack (this=3D0x800e6a7a0 , toSkip=3D0, fillStack=3Dfalse) at /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/ut= ilities/nativeCallStack.cpp:33 33 _hash_value(0) { (gdb) bt #0 NativeCallStack::NativeCallStack (this=3D0x800e6a7a0 , toSkip=3D0, fillStack=3Dfalse) at /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/ut= ilities/nativeCallStack.cpp:33 #1 0x0000000801732d7e in MemTracker::init_tracking_level () at /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/se= rvices/memTracker.cpp:72 #2 0x000000080126cb62 in MemTracker::tracking_level () at /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/se= rvices/memTracker.hpp:118 #3 ResourceObj::operator new (size=3D32, type=3DResourceObj::STACK_OR_EMBE= DDED, flags=3DmtInternal) at /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/me= mory/allocation.cpp:89 #4 0x000000080180b93a in _GLOBAL__sub_I_reflectionUtils.cpp () at /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/ru= ntime/reflectionUtils.cpp:72 #5 0x0000000801939182 in __do_global_ctors_aux () from /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal= -server-release/jdk/lib/amd64/server/libjvm.so #6 0x00000008019391a6 in _init () from /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal= -server-release/jdk/lib/amd64/server/libjvm.so #7 0x00007fffffffc8f0 in ?? () #8 0x000000080020d06a in objlist_call_init (list=3D, lockstate=3D) at /usr/src/libexec/rtld-elf/rtld.c:2672 #9 0x00000008002117e9 in dlopen_object (name=3D0x80022f800 "z\270P\325", fd=3D, refobj=3D, lo_flags=3D2, mode=3D258, lockstate=3D0x772f386b00000002) at /usr/src/libexec/rtld-elf/rtld.c:3391 #10 0x000000080020e1e6 in rtld_dlopen (name=3D0x7fffffffdeb0 "/wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-norma= l-server-release/jdk/lib/amd64/server/libjvm.so", fd=3D-1, mode=3D) at /usr/src/libexec/rtld-elf/rtld.c:3266 #11 0x000000080025136e in LoadJavaVM () from /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal= -server-release/jdk/bin/../lib/amd64/jli/libjli.so #12 0x000000080024ccf8 in JLI_Launch () from /wrkdirs/share/dim/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal= -server-release/jdk/bin/../lib/amd64/jli/libjli.so #13 0x000000000020130b in main () (gdb) print *this $2 =3D { =3D {}, static EMPTY_STACK =3D { =3D {}, static EMPTY_STACK =3D , _stack =3D {0x0, 0x0, 0x0, 0x0}, _hash_value =3D 0}, _stack =3D {0x0, 0x0, 0x0, 0x0}, _hash_value =3D 0} (gdb) disassemble Dump of assembler code for function NativeCallStack::NativeCallStack(int, bool): 0x00000008017776c0 <+0>: push %rbp 0x00000008017776c1 <+1>: mov %rsp,%rbp 0x00000008017776c4 <+4>: mov %esi,%eax =3D> 0x00000008017776c6 <+6>: movl $0x0,0x20(%rdi) 0x00000008017776cd <+13>: test %edx,%edx 0x00000008017776cf <+15>: je 0x8017776de 0x00000008017776d1 <+17>: mov $0x4,%esi 0x00000008017776d6 <+22>: mov %eax,%edx 0x00000008017776d8 <+24>: pop %rbp 0x00000008017776d9 <+25>: jmpq 0x8017aa290 0x00000008017776de <+30>: xorps %xmm0,%xmm0 0x00000008017776e1 <+33>: movups %xmm0,0x10(%rdi) 0x00000008017776e5 <+37>: movups %xmm0,(%rdi) 0x00000008017776e8 <+40>: pop %rbp 0x00000008017776e9 <+41>: retq End of assembler dump. (gdb) print &this->_hash_value $4 =3D (int *) 0x800e6a7c0 (gdb) info registers rax 0x0 0 rbx 0x0 0 rcx 0x0 0 rdx 0x0 0 rsi 0x0 0 rdi 0x800e6a7a0 34374854560 rbp 0x7fffffffc320 0x7fffffffc320 rsp 0x7fffffffc320 0x7fffffffc320 r8 0xfffffff5 4294967285 r9 0xffffffff81c1b688 -2118011256 r10 0x800e72e5c 34374889052 r11 0x7fffffffc0c8 140737488339144 r12 0x80022f9f0 34362030576 r13 0x2 2 r14 0x7fffffffc370 140737488339824 r15 0x8006a8a40 34366720576 rip 0x8017776c6 0x8017776c6 eflags 0x10246 [ PF ZF IF RF ] cs 0x43 67 ss 0x3b 59 ds es fs gs fs_base 0x8002318b0 34362038448 gs_base 0x0 0 So the address of the _hash_value field is OK, apparently. As to why this gives a segfault, no idea yet. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri Jan 12 21:20:07 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 D29C8E7CB44 for ; Fri, 12 Jan 2018 21:20:07 +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 AF2088063B for ; Fri, 12 Jan 2018 21:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AE83FE7CB41; Fri, 12 Jan 2018 21:20:07 +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 AE33AE7CB40 for ; Fri, 12 Jan 2018 21:20:07 +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 94DF580637 for ; Fri, 12 Jan 2018 21:20:07 +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 8A1D7196C6 for ; Fri, 12 Jan 2018 21:20:07 +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 w0CLK7Va077794 for ; Fri, 12 Jan 2018 21:20:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0CLK7JU077793 for java@FreeBSD.org; Fri, 12 Jan 2018 21:20:07 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: Fri, 12 Jan 2018 21:20:07 +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: dim@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: Fri, 12 Jan 2018 21:20:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #10 from Dimitry Andric --- (In reply to Dimitry Andric from comment #9) > So the address of the _hash_value field is OK, apparently. As to why this > gives a segfault, no idea yet. Actually, it is quite clear: the memory is read-only.=20 openjdk/hotspot/src/share/vm/utilities/nativeCallStack.cpp has: 28 #include "utilities/nativeCallStack.hpp" 29 30 const NativeCallStack NativeCallStack::EMPTY_STACK(0, false); 31 32 NativeCallStack::NativeCallStack(int toSkip, bool fillStack) : 33 _hash_value(0) { 34 I.e. NativeCallStack::EMPTY_STACK is const, and placed into .rodata. Then openjdk/hotspot/src/share/vm/services/memTracker.cpp has: 70 // Construct NativeCallStack::EMPTY_STACK. It may get constructed twice, 71 // but it is benign, the results are the same. 72 ::new ((void*)&NativeCallStack::EMPTY_STACK) NativeCallStack(0, false); This new invocation cannot work, because it tries to re-initialize a const object. Why this worked in previous clang, or in any other compiler, I don= 't know. :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Fri Jan 12 21:36:52 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 D52BAE7D967 for ; Fri, 12 Jan 2018 21:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B4F4481289 for ; Fri, 12 Jan 2018 21:36:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B1147E7D966; Fri, 12 Jan 2018 21:36:52 +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 B0B23E7D965 for ; Fri, 12 Jan 2018 21:36:52 +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 9799B81288 for ; Fri, 12 Jan 2018 21:36:52 +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 8BF4019994 for ; Fri, 12 Jan 2018 21:36:52 +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 w0CLaqb5017931 for ; Fri, 12 Jan 2018 21:36:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0CLaq5d017930 for java@FreeBSD.org; Fri, 12 Jan 2018 21:36:52 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: Fri, 12 Jan 2018 21:36:52 +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: dim@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: Fri, 12 Jan 2018 21:36:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #11 from Dimitry Andric --- The upstream commit that causes this problem is here: http://hg.openjdk.java.net/jdk/hs/rev/35e11b657728 They apparently used to have a r/w emptyStack variable in their memTracker.= cpp, but due to some issue with a "minimal build" (whatever that is), they start= ed explicitly initializing it using placement new. However, they also moved the variable into the NativeCallStack class, but a= s a static const member! That simply cannot be right in any way. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Sat Jan 13 00:15:54 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 B0ECDE60C01 for ; Sat, 13 Jan 2018 00:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8DAA863B7D for ; Sat, 13 Jan 2018 00:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8D00FE60C00; Sat, 13 Jan 2018 00:15:54 +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 8CAE1E60BFF for ; Sat, 13 Jan 2018 00:15:54 +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 73BE963B7C for ; Sat, 13 Jan 2018 00:15:54 +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 68F0D1B10A for ; Sat, 13 Jan 2018 00:15:54 +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 w0D0Fshh071971 for ; Sat, 13 Jan 2018 00:15:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0D0Fsqa071963 for java@FreeBSD.org; Sat, 13 Jan 2018 00:15:54 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: Sat, 13 Jan 2018 00:15:54 +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: dim@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: attachments.created 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: Sat, 13 Jan 2018 00:15:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054 --- Comment #12 from Dimitry Andric --- Created attachment 189672 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189672&action= =3Dedit clang 6 fixes for openjdk8 With the attached patch, I can build and run openjdk8. I have built a few openjdk8-dependent ports, and ran them with light testing, all seems to work fine. 1) patch-hotspot_src_os__cpu_bsd__x86_vm_atomic__bsd__x86.inline.hpp: repla= ces a lock prefix before a label with a .byte directive 2) patch-hotspot_src_os__cpu_bsd__x86_vm_bsd__x86__32.s: idem 3) patch-hotspot_src_share_vm_services_memTracker.cpp: removes the placement new that tries to reinitialize a static const object --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Sat Jan 13 13:32: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 B62E8E6520F for ; Sat, 13 Jan 2018 13:32: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 95A7B1DA7 for ; Sat, 13 Jan 2018 13:32:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 90B91E65206; Sat, 13 Jan 2018 13:32: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 90699E65205 for ; Sat, 13 Jan 2018 13:32: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 76D861DA3 for ; Sat, 13 Jan 2018 13:32: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 6C02322241 for ; Sat, 13 Jan 2018 13:32: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 w0DDW91K009363 for ; Sat, 13 Jan 2018 13:32:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0DDW99s009362 for java@FreeBSD.org; Sat, 13 Jan 2018 13:32: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 224079] java/openjdk8: Elasticsearch won't start after OpenJDK upgrade Date: Sat, 13 Jan 2018 13:32:08 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: New 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: Sat, 13 Jan 2018 13:32:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224079 --- Comment #11 from John W. O'Brien --- (In reply to Greg Lewis from comment #9) I have received no response to my OCA inquiry. How do you suggest I proceed? --=20 You are receiving this mail because: You are the assignee for the bug.=