Hi Erik,

Thanks, that's fine. As an FYI I swapped to using gcc and g++ compilers but
still get the same error so more digging is required, will update here
if/when I find the culprit

Cheers,
Martijn

On 15 December 2016 at 09:45, Erik Joelsson <erik.joels...@oracle.com>
wrote:

> Hello,
>
> I'm not a native Mac user so I only ever build for Mac using the
> officially picked toolchains at Oracle, which is currently Xcode 6.3. At
> the time when we made that choice, 7.0 was still in beta. Support for newer
> toolchains is a community effort and not something we in the build team are
> able to actively pursue.
>
> /Erik
>
>
>
> On 2016-12-15 10:29, Martijn Verburg wrote:
>
>> Hi all,
>>
>> I've updated my toolchain slightly and am now on XCode 8.2, Mac OS X
>> 10.12.2:
>>
>> ====================================================
>>
>> Configuration summary:
>> * Debug level:    release
>> * HS debug level: product
>> * JDK variant:    normal
>> * JVM variants:   server
>> * OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64
>> * Version string: 9-internal+0-adhoc.karianna.jdk9dev (9-internal)
>>
>> Tools summary:
>> * Boot JDK:       java version "1.8.0_112" Java(TM) SE Runtime Environment
>> (build 1.8.0_112-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16,
>> mixed mode)  (at
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home)
>> * Toolchain:      clang (clang/LLVM from Xcode 8.2)
>> * C Compiler:     Version 8.0.0 (at /usr/bin/clang)
>> * C++ Compiler:   Version 8.0.0 (at /usr/bin/clang++)
>>
>> Build performance summary:
>> * Cores to use:   8
>> * Memory limit:   16384 MB
>>
>> ====================================================
>>
>> The same build error as reported below still occurs.  Is it the case that
>> clang at this version is not yet supported?
>>
>>
>> Cheers,
>> Martijn
>>
>> On 8 December 2016 at 20:38, Martijn Verburg <martijnverb...@gmail.com>
>> wrote:
>>
>> Hi all,
>>>
>>> I got past my previous issue (thanks Dmitry!), but I now have a new one
>>> (after a fresh clone).  I notice I'm using the clang compiler by default,
>>> not sure if that's supported.
>>>
>>> ---------
>>>
>>>
>>> ld: warning: object file (/Users/karianna/Documents/
>>> workspace/AdoptOpenJDK_Projects/jdk9dev/build/macosx-
>>> x86_64-normal-server-release/support/native/java.base/libjli_static.a)
>>> was built for newer OSX version (10.12) than being linked (10.7)
>>> Creating support/modules_libs/java.rmi/librmi.dylib from 1 file(s)
>>> Creating support/modules_cmds/java.rmi/rmid from 1 file(s)
>>> Creating support/modules_cmds/java.rmi/rmiregistry from 1 file(s)
>>> ld: warning: object file (/Users/karianna/Documents/
>>> workspace/AdoptOpenJDK_Projects/jdk9dev/build/macosx-
>>> x86_64-normal-server-release/support/native/java.base/libjli_static.a)
>>> was built for newer OSX version (10.12) than being linked (10.7)
>>> ld: warning: object file (/Users/karianna/Documents/
>>> workspace/AdoptOpenJDK_Projects/jdk9dev/build/macosx-
>>> x86_64-normal-server-release/support/native/java.base/libjli_static.a)
>>> was built for newer OSX version (10.12) than being linked (10.7)
>>> *Undefined symbols for architecture x86_64:*
>>> *  "_libiconv", referenced from:*
>>> *      _convertUft8ToPlatformString in EncodingSupport_md.o*
>>> *  "_libiconv_open", referenced from:*
>>> *      _convertUft8ToPlatformString in EncodingSupport_md.o*
>>> *ld: symbol(s) not found for architecture x86_64*
>>> *clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)*
>>> cp: /Users/karianna/Documents/workspace/AdoptOpenJDK_
>>> Projects/jdk9dev/build/macosx-x86_64-normal-server-release/
>>> make-support/failure-logs/support_native_java.instrument_
>>> libinstrument_BUILD_LIBINSTRUMENT_link.log:
>>> No such file or directory
>>> make[3]: *** [/Users/karianna/Documents/workspace/AdoptOpenJDK_
>>> Projects/jdk9dev/build/macosx-x86_64-normal-server-release/
>>> support/modules_libs/java.instrument/libinstrument.dylib] Error 1
>>> make[2]: *** [java.instrument-libs] Error 2
>>> make[2]: *** Waiting for unfinished jobs....
>>> ld: warning: object file (/Users/karianna/Documents/
>>> workspace/AdoptOpenJDK_Projects/jdk9dev/build/macosx-
>>> x86_64-normal-server-release/support/native/java.base/libjli_static.a)
>>> was built for newer OSX version (10.12) than being linked (10.7)
>>>
>>>
>>> Cheers,
>>> Martijn
>>>
>>>
>

Reply via email to