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

Link error: launcher.c:(.text+0x1a97): undefined reference to `_stprintf'

    Details

    • Resolved In Build:
      b11
    • Verification:
      Verified

      Backports

        Description

        jdk7u-cpu linux, solaris 32 and mac builds failed since 2014-04-30:
        http://rehudson.us.oracle.com/cgi-bin/buildview.cgi?user=&buildname=jdk7u-cpu&submit=by+build+name&debug=On

        a sample log: http://rehudson.us.oracle.com:8080/hudson/job/7u-2-build-linux-amd64/1420/console
        /usr/bin/gcc -Wl,--hash-style=both /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/launcher.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/launcher_md.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/configurationFile.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/launchFile.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/xmlparser.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/propertyParser.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/versionId.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/jfx_runtime.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/jfx_runtime_md.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/system.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/system_md.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/splash_md.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/msgString.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/splashFile.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/applicationIcon.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/base64.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/util.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/secureArgs.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/configcache_pd.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/expirationdialog.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/webstartblockdialog.o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/dialogutils.o -L/usr/X11R6//lib64 -lX11 -lnsl -ldl -lm -o /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/jre-image/bin/javaws
        /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/system_md.o: In function `sysTempnam':
        system_md.c:(.text+0xd38): warning: the use of `tempnam' is dangerous, better use `mkstemp'
        /HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/obj/javaws/launcher.o: In function `main':
        launcher.c:(.text+0x1a97): undefined reference to `_stprintf'
        collect2: ld returned 1 exit status
        gnumake[4]: *** [/HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/build/linux-amd64/tmp/deploy/jre-image/bin/javaws] Error 1
        gnumake[4]: Leaving directory `/HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/deploy/make/javaws'
        gnumake[3]: *** [all] Error 2
        gnumake[3]: Leaving directory `/HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/deploy/make/javaws'
        gnumake[2]: *** [javaws-all] Error 2
        gnumake[2]: Leaving directory `/HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054/deploy/make'
        gnumake[1]: *** [deploy-build] Error 2
        gnumake[1]: Leaving directory `/HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-cpu/1054'
        gnumake: *** [build_product_image] Error 2

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stayer Kirill Kirichenko (Inactive)
                  Reporter:
                  diazhou Jerry Zhou (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: