openldap package: internal compiler error

2014-08-10
2014-08-14
  • Andrea Zagli
    Andrea Zagli
    2014-08-10

    i'm trying to make openldap pacman package; but i get a strange "internal compiler error"

    if i compile openldap on my "normal" environment it works perfectly; but if i make the PKGBUILD and compile it in an "empty" msys2 environment i get

    [...]
    ../../../openldap-2.4.39/libraries/liblutil/utils.c:985:1: internal compiler error: in symtab_nonoverwritabl e_alias, at symtab.c:1252
    }
    ^

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    ../../../openldap-2.4.39/libraries/liblutil/utils.c:985:1: internal compiler error: Aborted

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    gcc.exe: internal compiler error: Aborted (program cc1)
    libbacktrace could not find executable to open
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See http://sourceforge.net/projects/msys2 for instructions.
    <incorporato>: set di istruzioni per l'obiettivo "utils.o" non riuscito
    [...]

    what could be the problem (or difference from my environment)?

    i found a gcc bug, but not the solution

    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916

    thanks in advance

     
  • Andrea Zagli
    Andrea Zagli
    2014-08-14

    [SOLVED]

    i don't know what exactly means, but unsetting CPPFLAGS it works