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

build-infra: Generating X11 wrapper offset file is not cross compilable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b74

      Description

      The GensrcX11Wrappers.gmk creates the offset file by running a tailored C program that performs
      a lot of sizeof commands on the X11 structures. This cannot be cross compiled.

      Fortunately there are only two offset files, 32 and 64 bit, and they are stable. Thus they
      can be committed into the source code tree. A verification step is run when not cross compiling.
      This verification step, regenerates the offset file for the build platforms number of bits and
      compares the generated file with the committed file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                ohrstrom Fredrik Öhrström
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: