Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223668

Clang Linux build broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      Currently the clang build on Linux is broken.

      $ clang --version
      clang version 4.0.1-10 (tags/RELEASE_401/final)
      Target: x86_64-pc-linux-gnu
      Thread model: posix
      InstalledDir: /usr/bin

      With "bash configure --with-toolchain-type=clang" we get the following errors:

      jdk/jdk/src/hotspot/os/linux/osContainer_linux.cpp:470:22: error: conversion from string literal to 'char *' is deprecated [-Werror,-Wc++11-compat-deprecated-writable-strings]
            char* format = "%s " JULONG_FORMAT;

      jdk/jdk/build/hotspot/variant-server/libjvm/gtest/libjvm.so: undefined reference to `objArrayOopDesc::obj_at(int) const'
      clang: error: linker command failed with exit code 1 (use -v to see invocation)

            aeubanks Arthur Eubanks
            aeubanks Arthur Eubanks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: