build failing on Mac
David DeHaven
david.dehaven at oracle.com
Mon Jun 27 15:01:29 UTC 2016
It can't find the SDK.
After installing command line tools, did you run "sudo xcode-select -switch /path/to/Xcode.app"?
-DrD-
> On Jun 22, 2016, at 10:09 PM, Pete Brunet <peter.brunet at oracle.com> wrote:
>
> Installed 6.3.2. Refreshed source. Ran configure. make clean. make
> images. Build failed with
>
> === Output from failing command(s) repeated here ===
> * For target support_native_java.desktop_libawt_lwawt_CGGlyphImages.o:
> In file included from
> /Users/petebrunet/JDK9/clone/client/jdk/src/java.desktop/macosx/native/libawt_lwawt/font/CGGlyphImages.m:26:
> In file included from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20:
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:1:2: error:
> "The vecLib framework is deprecated. Please include
> <Accelerate/Accelerate.h> instead of <vecLib/vecLib.h> and link to the
> Accelerate framework instead of the vecLib framework."
> #error "The vecLib framework is deprecated. Please include
> <Accelerate/Accelerate.h> instead of <vecLib/vecLib.h> and link to the
> Accelerate framework instead of the vecLib framework."
> ^
> 1 error generated.
> === End of repeated output ===
>
> On 6/20/16 4:30 AM, Daniel Fuchs wrote:
>> Hi Pete,
>>
>> I had the same problem recently - and solved it by installing
>> Xcode 6.3 - which I was told is the officially supported version.
>>
>> best regards,
>>
>> -- daniel
>>
>> On 18/06/16 01:20, Pete Brunet wrote:
>>> I haven't done a full build in around a month, but just pulled (tpull
>>> -u) / cleaned / reconfigured and got this on my Mac:
>>>
>>> ...
>>> Creating gtestLauncher from 1 file(s)
>>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>>> make[4]: ***
>>> [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtest-all.o]
>>>
>>> Error 1
>>> make[4]: *** Waiting for unfinished jobs....
>>> make[4]: ***
>>> [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/gtestMain.o]
>>>
>>> Error 1
>>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>>> make[4]: ***
>>> [/Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/test_os.o]
>>>
>>> Error 1
>>> Compiling 390 files for BUILD_INTERIM_jdk.compiler
>>> make[3]: *** [variant-server-libs] Error 2
>>> make[2]: *** [hotspot] Error 2
>>> ...
>>> === Output from failing command(s) repeated here ===
>>> * For target hotspot_variant-server_libjvm_gtest_objs_gtest-all.o:
>>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>>> * For target hotspot_variant-server_libjvm_gtest_objs_gtestMain.o:
>>> * For target hotspot_variant-server_libjvm_gtest_objs_test_os.o:
>>> error: unknown warning option '-Wno-tautological-undefined-compare'; did
>>> you mean '-Wno-tautological-compare'? [-Werror,-Wunknown-warning-option]
>>> === End of repeated output ===
>>> ...
>>>
>>> Java -version: 1.8.0-b132
>>> XCode is 6.2
>>>
>>> configure output ends with this:
>>> ====================================================
>>> The existing configuration has been successfully updated in
>>> /Users/petebrunet/JDK9/JDK-8145207/client/build/macosx-x86_64-normal-server-release
>>>
>>> using configure arguments '--with-sdk-name=macosx10.9'.
>>>
>>> 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-2016-06-17-185920.petebrunet.client
>>> (9-internal)
>>>
>>> Tools summary:
>>> * Boot JDK: java version "1.8.0" Java(TM) SE Runtime Environment
>>> (build 1.8.0-b132) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70,
>>> mixed mode) (at
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home)
>>> * Toolchain: clang (clang/LLVM from Xcode 6.2)
>>> * C Compiler: Version 6.0 (at /usr/bin/clang)
>>> * C++ Compiler: Version 6.0 (at /usr/bin/clang++)
>>>
>>> Any ideas on how I should proceed or other information that is needed?
>>>
>>> TiA, Pete
>>>
>>
>
More information about the build-dev
mailing list