Java8を眺める2014/02/20 08:15

Buildしようとしたら、Gcc48 使って、さらに /usr/bin/gccと入れ替えないといけなさそうなので ソースだけ眺めるとこにした。
途中までのLOG
ーーーー
hg clone http://hg.openjdk.java.net/jdk8/jdk8
destination directory: jdk8
requesting all changes
adding changesets
adding manifests
adding file changes
added 939 changesets with 1306 changes to 136 files
updating to branch default
82 files updated, 0 files merged, 0 files removed, 0 files unresolved
Suzuki-Shigenori-no-MacBook-Pro:openjdk8_work butcher$ cd jdk8
Suzuki-Shigenori-no-MacBook-Pro:jdk8 butcher$ ls
ASSEMBLY_EXCEPTION README-builds.html get_source.sh
LICENSE THIRD_PARTY_README make
Makefile common test
README configure
Suzuki-Shigenori-no-MacBook-Pro:jdk8 butcher$ ./get_source.sh
-bash: ./get_source.sh: Permission denied
Suzuki-Shigenori-no-MacBook-Pro:jdk8 butcher$ ls -alg
total 736
drwxr-xr-x 17 staff 578 2 20 07:58 .
drwxr-xr-x 3 staff 102 2 20 07:58 ..
drwxr-xr-x 13 staff 442 2 20 07:58 .hg
-rw-r--r-- 1 staff 70 2 20 07:58 .hgignore
-rw-r--r-- 1 staff 12728 2 20 07:58 .hgtags
drwxr-xr-x 3 staff 102 2 20 07:58 .jcheck
-rw-r--r-- 1 staff 1503 2 20 07:58 ASSEMBLY_EXCEPTION
-rw-r--r-- 1 staff 19263 2 20 07:58 LICENSE
-rw-r--r-- 1 staff 6430 2 20 07:58 Makefile
-rw-r--r-- 1 staff 1549 2 20 07:58 README
-rw-r--r-- 1 staff 129333 2 20 07:58 README-builds.html
-rw-r--r-- 1 staff 178445 2 20 07:58 THIRD_PARTY_README
drwxr-xr-x 6 staff 204 2 20 07:58 common
-rw-r--r-- 1 staff 1235 2 20 07:58 configure
-rw-r--r-- 1 staff 1384 2 20 07:58 get_source.sh
drwxr-xr-x 12 staff 408 2 20 07:58 make
drwxr-xr-x 3 staff 102 2 20 07:58 test

bash ./configure
Running generated-configure.sh
configure: Configuration created at Thu Feb 20 08:05:53 JST 2014.
configure: configure script generated at timestamp 1389186094.
checking for basename... /usr/bin/basename
checking for bash... /usr/local/bin/bash
checking for cat... /bin/cat
checking for chmod... /bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /bin/cp
checking for cpio... /usr/bin/cpio
checking for cut... /usr/bin/cut
checking for date... /bin/date
checking for gdiff... no
checking for diff... /usr/bin/diff
checking for dirname... /usr/bin/dirname
checking for echo... /bin/echo
checking for expr... /bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /usr/bin/head
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for mkdir... /bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for printf... /usr/bin/printf
checking for rm... /bin/rm
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /usr/bin/wc
checking for which... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for nawk... no
checking for gawk... no
checking for awk... /usr/bin/awk
checking for cygpath... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for SetFile... /usr/bin/SetFile
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.0
checking target system type... x86_64-apple-darwin13.0.0
checking openjdk-build os-cpu... macosx-x86_64
checking openjdk-target os-cpu... macosx-x86_64
checking compilation type... native
checking for presence of closed sources... no
checking if closed source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which variants of the JVM to build... server
checking which debug level to use... release
checking what configuration name to use... macosx-x86_64-normal-server-release
checking for apt-get... no
checking for yum... no
checking for port... no
checking for pkgutil... pkgutil
checking for gmake... no
checking for make... /usr/bin/make
configure: Testing potential make at /usr/bin/make, found using make in PATH
configure: Resolving FOUND_MAKE (as /usr/bin/make) failed, using /usr/bin/make directly.
configure: Using GNU make 3.81 (or later) at /usr/bin/make (version: GNU Make 3.81)
checking if find supports -delete... yes
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for ldd... no
checking for otool... /usr/bin/otool
checking for readelf... no
checking for greadelf... no
checking for hg... /usr/local/bin/hg
checking for stat... /usr/bin/stat
checking for time... /usr/bin/time
checking for dsymutil... /usr/bin/dsymutil
checking for xattr... /usr/bin/xattr
checking for codesign... /usr/bin/codesign
checking if openjdk_codesign certificate is present... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for 7z... no
checking for unzip... unzip
checking for wget... wget
checking headful support... include support for both headful and headless
configure: Found potential Boot JDK using JAVA_HOME
checking for Boot JDK... /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
checking Boot JDK version... java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
checking for java in Boot JDK... ok
checking for javac in Boot JDK... ok
checking for javah in Boot JDK... ok
checking for javap in Boot JDK... ok
checking for jar in Boot JDK... ok
checking for rmic in Boot JDK... ok
checking for native2ascii in Boot JDK... ok
checking for jtreg... no
checking for gcc... /usr/bin/gcc
configure: Resolving CC (as /usr/bin/gcc) failed, using /usr/bin/gcc directly.
checking resolved symbolic links for CC... /usr/bin/gcc
checking if CC is disguised ccache... no, keeping CC
configure: The C compiler (located as /usr/bin/gcc) does not seem to be the required GCC compiler.
configure: The result from running with --version was: "Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1"
configure: error: GCC compiler is required. Try setting --with-tools-dir.
configure exiting with result code 1

ruby 2.1.1 macOS 10.9 rbenvだとsafe.oでエラー2014/02/25 23:07

調査中(2014/2/25)だと

rbenvで ruby 2.1.1 buildすると safe.oでエラー出して終わってしまう

ソース持ってきて 手作業でbuildすると makeは通った。

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make: *** [parse.o] Error 1
regcomp.c: In function ‘compile_quantifier_node’:
regcomp.c:1041: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make: *** [regcomp.o] Error 1

よくわかんないが rbenv で2.1.1 インストールできた2014/02/26 00:26

rebootして ウィルスバスター 落として、再度挑戦

何故か install出来た

ううーーん 何で成功したのか わからない????

ウィルスソフトがopensslを見ていたのか?