Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2515

Build failure using libbson 1.30 with GCC 15

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 1.21.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Reported by Fedora CI:

      https://koschei.fedoraproject.org/package/php-pecl-mongodb?collection=f43

      The pecl extension build fails using newer GCC 15 (no issue with 14)

      In above linkyou can see build is faling since libbson 1.30 and GCC update (sadly both were done the same day)

      From build.log

      {{/usr/include/libbson-1.0/bson/bson-macros.h:213:34: error: expected ';' before 'void' 213 | static BSON_INLINE BSON_NORETURN void | ^~~~ /usr/include/libbson-1.0/bson/bson-macros.h:220:34: error: expected ';' before 'void' 220 | static BSON_INLINE BSON_NORETURN void | ^~~~ }}

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: