Skip to content

Linker error on dynamic library #23204

@x07x08

Description

@x07x08

Zig Version

0.14.0

Steps to Reproduce and Observed Behavior

Trying to build an executable that uses webui as a dynamic library on Windows with, and only with debug symbols should produce the following error :

error: lld-link: _gnu_exception_handler was replaced

Expected Behavior

No build errors.

Reproducible example

buggy.zip

Notes

I am unsure if this is the only library with this issue, but I did notice that compiling it with gcc does not export that symbol anywhere.

Closed issue from webui

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavioros-windowsMicrosoft Windows

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions