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

Build fails undefined symbol: __asan_init by clang17

XMLWordPrintable

    • b07
    • generic
    • linux

      Configure command:
      bash configure --enable-asan --with-toolchain-type=clang --with-toolchain-path=~/software/acc/x86_64/bin

      Make command:
      time make images test-image &> build/make.log

      Make output:
      /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/jdk/bin/javac: symbol lookup error: /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/jdk/bin/../lib/libjli.so: undefined symbol: __asan_init

      Additional configure parameter --with-extra-ldflags=-shared-libasan can work around

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: