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

J2SE build fails for linux-amd64 due to incorrect dependancies sun/jdbc/Makefile

XMLWordPrintable

    • x86
    • linux

      While compiling JDK7 for linux-amd64 I get follwoing error

      gcc -shared -o ../../../build/linux-amd64/tmp/sun/sun.jdbc.odbc/JdbcOdbc/libodbcinst.so dummyodbc.c
      /usr/bin/ld: /tmp/cc6pUyum.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
      /tmp/cc6pUyum.o: could not read symbols: Bad value
      collect2: ld returned 1 exit status
      make[2]: *** [../../../build/linux-amd64/tmp/sun/sun.jdbc.odbc/JdbcOdbc/libodbcinst.so] Error 1
      make[2]: Leaving directory `/export/users/ik199011/7.0/j2se_src/make/sun/jdbc'
      make[1]: *** [all] Error 1
      make[1]: Leaving directory `/export/users/ik199011/7.0/j2se_src/make/sun'
      make: *** [all] Error 1

            ohair Kelly Ohair (Inactive)
            ikrylov Ivan Krylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: