UBSan CFLAGS/LDFLAGS not passed when building ADLC

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: infrastructure
    • None
    • b06

      JDK-8298448 introduced UBSan support. In later revisions of the patch I added preprocessor tests to ensure the build was correctly configured. Apparently I did not attempt to build after that. ADLC does not use any of the standard CFLAGS/LDFLAGS variables so it never picks up UBSan CFLAGS/LDFLAGS. To fix this I need to export them and update gensrc/GensrcAdlc.gmk to use them.

      I am also running the build to make sure I did not miss anything. Might make more sense to insert the CFLAGS/LDFLAGS in NativeCompilation.gmk itself. Will see.

            Assignee:
            Justin King
            Reporter:
            Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: