Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2313

[GLib] Release builds must define NDEBUG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • GLib

    Description

      Ran into another problem with verify-release-candidate.sh 0.9.0 0 – the GLib build is not defining NDEBUG – depending on whether Arrow was built in release or debug mode, some symbols (like Buffer::mutable_data) may not be inlined

        CXX      libarrow_glib_la-compute.lo
        CC       enums.lo
        CXXLD    libarrow-glib.la
      ar: `u' modifier ignored since `D' is the default (see `U')
        GISCAN   Arrow-1.0.gir
      ./.libs/libarrow-glib.so: undefined reference to `arrow::Buffer::mutable_data()'
      collect2: error: ld returned 1 exit status
      linking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/tmp/arrow-0.9.0.hlQDV/apache-arrow-0.9.0/c_glib/arrow-glib/tmp-introspect7g38ad/Arrow-1.0', '-export-dynamic', '-g', '-O2', 'tmp-introspect7g38ad/tmp/arrow-0.9.0.hlQDV/apache-arrow-0.9.0/c_glib/arrow-glib/tmp-introspect7g38ad/Arrow-1.0.o', '-L.', 'libarrow-glib.la', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0']' returned non-zero exit status 1
      /usr/share/gobject-introspection-1.0/Makefile.introspection:155: recipe for target 'Arrow-1.0.gir' failed
      

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: