Fwd: I can't build in MacOS

Altan Özlü sevendrofleneux at icloud.com
Mon Apr 15 21:20:05 UTC 2019


I get this error with building default branch too now i use java-next’s loom binaries and they work fine.
I’m using Mojave btw and i have a question does normal sockets blocking scheduler ?


  s1 = s1; // self assignment
  ~~ ^ ~~
1 error generated.
gmake[3]: *** [lib/CompileGtest.gmk:60: /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/gtest/objs/test_symbolTable.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2

ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-server-release' (exit code 2) 

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_test_symbolTable.o:
/Users/username/loom/test/hotspot/gtest/classfile/test_symbolTable.cpp:62:6: error: explicitly assigning value of variable of type 'TempNewSymbol' to itself [-Werror,-Wself-assign-overloaded]
  s1 = s1; // self assignment
  ~~ ^ ~~
> İleti başlangıcı:
> 
> Kimden: Remi Forax <forax at univ-mlv.fr>
> Konu: Ynt: I can't build in MacOS
> Tarih: 15 Nisan 2019 16:17:52 GMT+3
> Kime: Altan Özlü <sevendrofleneux at icloud.com>
> Bilgi: loom-dev <loom-dev at openjdk.java.net>
> 
> Hi !
> for which version of loom and which version of macOS ?
> 
> Rémi
> 
> ----- Mail original -----
>> De: "Altan Özlü" <sevendrofleneux at icloud.com>
>> À: "loom-dev" <loom-dev at openjdk.java.net>
>> Envoyé: Dimanche 14 Avril 2019 20:23:02
>> Objet: I can't build in MacOS
> 
>> I use to build this repo in macos but now it doesn’t work i’ve tried to build
>> with both jdk12 and jdk13.
>> I’m able to build repo in my linux server.
>> Here is the output.
>> 
>> Compiling 5 files for jdk.jsobject
>> Compiling 8 files for jdk.unsupported.desktop
>> Note: Some input files use or override a deprecated API.
>> Note: Recompile with -Xlint:deprecation for details.
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/bytecodeHistogram.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_CFGPrinter.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_Defs.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_InstructionPrinter.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/c1_ValueSet.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/cppInterpreter.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/cppInterpreterGenerator.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/decoder_elf.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/depChecker_x86.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/dtraceAttacher.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfFile.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfFuncDescTable.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfStringTable.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/elfSymbolTable.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/instanceOop.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/operator_new.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/register.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/safepointVerifiers.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/semaphore_posix.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/sizes.o:
>> no symbol
>> /usr/local/opt/binutils/bin/nm:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/objs/vm_version_bsd_x86.o:
>> no symbol
>> gmake[3]: *** [lib/JvmMapfile.gmk:142:
>> /Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/symbols-objects]
>> Error 1
>> gmake[3]: *** Deleting file
>> '/Users/username/loom/build/macosx-x86_64-server-release/hotspot/variant-server/libjvm/symbols-objects'
>> gmake[3]: *** Waiting for unfinished jobs....
>> gmake[2]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2
>> 
>> ERROR: Build failed for target 'images' in configuration
>> 'macosx-x86_64-server-release' (exit code 2)
>> 
>> No indication of failed target found.
>> Hint: Try searching the build log for '] Error'.
>> Hint: See doc/building.html#troubleshooting for assistance.
>> 
>> make[1]: *** [main] Error 2
>> make: *** [images] Error 2



More information about the loom-dev mailing list