Skip to content

GCC 11+ __attr_dealloc problems #101

@stephenrkell

Description

@stephenrkell

The prototype of reallocarray in the stdlib.h of at least some versions (Ubuntu?) of glibc 2.35 causes an interesting problem... the function is mentioned in its own __attr_dealloc attribute. The header breaks the reference cycle by prototyping the function twice: once with plain free declared as the dealloc function, and once then with reallocarray. This is not being merged correctly by CIL.

So really this is a CIL bug -- but my fork doesn't have its own issue tracker, and I don't want to report it upstream now that Gabriel has said he considers it unmaintained, so recording the bug here for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions