Opened 5 days ago

Last modified 5 days ago

#71016 new defect

openjdk8 error: conflicting types for '_Copy_conjoint_jshorts_atomic'

Reported by: ashterenli Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: openjdk8

Description

` :info:build 245 | sprintf(buf, fmt, sig, info->si_addr); :info:build | :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/jdk8u-jdk8u372-ga/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp:384:8: error: conflicting types for '_Copy_conjoint_jshorts_atomic' `

despite the error, the binary got installed somehow:

` /Library/Java/JavaVirtualMachines/openjdk11-bootstrap/Contents/Home/bin/java /Library/Java/JavaVirtualMachines/openjdk8-bootstrap/Contents/Home/jre/bin/java /Library/Java/JavaVirtualMachines/openjdk8-bootstrap/Contents/Home/bin/java `

(same for openjdk11 - will open a separate ticket for that)

Attachments (1)

main.log (254.1 KB) - added by ashterenli 5 days ago.
build log

Download all attachments as: .zip

Change History (2)

Changed 5 days ago by ashterenli

Attachment: main.log added

build log

comment:1 Changed 5 days ago by ashterenli

because the port failed to install, "uninstall" does not do anything. Shall I remove the multiple java binaries by hand?

The whole java runtime installation is confusing. In the end, I managed to install java on sequoia 15.0 directly from https://www.java.com/en/download/help/mac_install.html

but the default binary is still from ports:

 % which java
/usr/bin/java
 % java --version
openjdk 11.0.10 2021-01-19 LTS
OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)
OpenJDK 64-Bit Server VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode)
Note: See TracTickets for help on using tickets.