From nobody Thu Jan 27 09:03:05 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6DAE91978780; Thu, 27 Jan 2022 09:03:12 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jkvkk59B2z4pYF; Thu, 27 Jan 2022 09:03:10 +0000 (UTC) (envelope-from ronald-lists@klop.ws) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klop.ws; s=mail; h=Content-Transfer-Encoding:Content-Type:Subject:From:To:MIME-Version :Date:Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=tF+t5PtVWsNxDd0zjWAi6qXEIcKRGFz47xQQ3L5ek1M=; b=t+iSbMtvt5cdbTON6b5yqrIMU+ PYnJqVO2tZF0Xpaa92zRNNBdZyVx2kNRqpU8WOcuChbsa/io8Q71lrZGFfaHphAQ3+e9VVClxoTO9 Xe8npYqH3BIO33HItaSLUsws/yUFXvBKz8uBGZIc6jY9E5GHrfVRJoba16bDLccTTrbk=; Message-ID: <2aff3ce6-b8d6-33f6-e9d2-1cff75158baf@klop.ws> Date: Thu, 27 Jan 2022 10:03:05 +0100 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: freebsd-arm@freebsd.org, freebsd-java@freebsd.org From: Ronald Klop Subject: openjdk8 crash on aarch64; guarantee(val < (1U << nbits)) failed: Field too big for insn Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.greenhost.nl X-Spam-Level: - X-Spam-Score: -1.2 X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=disabled version=3.4.2 X-Scan-Signature: 0ccaee305be983877c9e38c09cbf8ec4 X-Rspamd-Queue-Id: 4Jkvkk59B2z4pYF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=mail header.b=t+iSbMtv; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[klop.ws:s=mail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[195.190.28.88:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MLMMJ_DEST(0.00)[freebsd-arm,freebsd-java]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[195.190.28.88:from] X-ThisMailContainsUnwantedMimeParts: N Hi, A lot of java ports are failing in the build cluster since about a week (or two) on arm64. Example output: http://ampere2.nyi.freebsd.org/data/main-arm64-default/pd8f8cc3a8823_s4f0e50b293/logs/errors/jacop-4.8.0.log (ipv6) =================================================== ===> Building for jacop-4.8.0 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (assembler_aarch64.hpp:237), pid=89536, tid=0x00000000000a9630 # guarantee(val < (1U << nbits)) failed: Field too big for insn # # JRE version: (8.0_312-b07) (build ) # Java VM: OpenJDK 64-Bit Server VM (25.312-b07 mixed mode bsd-aarch64 compressed oops) # Core dump written. Default location: /wrkdirs/usr/ports/math/jacop/work/jacop-4.8.0/java.core # # An error report file with more information is saved as: # /wrkdirs/usr/ports/math/jacop/work/jacop-4.8.0/hs_err_pid89536.log # # If you would like to submit a bug report, please visit: # https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/openjdk8%3A%20 # *** Signal 6 I can reproduce this on my rpi4 and it is "fixed" if I compile openjdk8 using llvm12 from ports instead of llvm13 from base. Is anybody looking into this? Should I file a PR? Regards, Ronald.