MacOS build tool selections for JDK8

David Chase david.r.chase at oracle.com
Sun May 12 15:04:12 UTC 2013


A problem with gcc-4.8 as installed by MacPorts, if we ever intended to build 32-bit binaries:

gcc-mp-4.8  -O -m32  -msse -mpclmul -mavx TryLoop.c -lz 
ld: warning: ignoring file /opt/local/lib/gcc48/libgcc_ext.10.5.dylib, missing required architecture i386 in file /opt/local/lib/gcc48/libgcc_ext.10.5.dylib (1 slices)
ld: warning: ignoring file /opt/local/lib/gcc48/gcc/x86_64-apple-darwin12/4.8.1/libgcc.a, file was built for archive which is not the architecture being linked (i386): /opt/local/lib/gcc48/gcc/x86_64-apple-darwin12/4.8.1/libgcc.a

clang handles both the shiny new intrinsics AND the -m32 correctly, and at the same time.

David




More information about the build-dev mailing list