Skip to content

C extension overlap #232

Closed
Closed
@kived

Description

@kived

All of the C extensions are combined into one library, to get around the Android dlopen() limit. However, this causes issues when you have modules in C extensions with the same name.

For example, if you have two C extensions a and b, and they have modules a.mod and b.mod, the application will not work. Both extensions will produce a file mod.so, and will be copied into the same directory and so one will overwrite the other. I did some testing by putting each package/recipe's output in its own directory, but that has issues as well. The C extension modules have an init function which is not namespaced - it will be called init_mod() in both modules, so the functions overlap when added to the same library.

I'm not really sure what a good fix is for this, I just wanted to make sure that it's a known issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions