Skip to content

Emit error if .symver directive is used#1089

Merged
davidlattimore merged 2 commits into
wild-linker:mainfrom
marxin:error-when-symver-used
Sep 22, 2025
Merged

Emit error if .symver directive is used#1089
davidlattimore merged 2 commits into
wild-linker:mainfrom
marxin:error-when-symver-used

Conversation

@marxin
Copy link
Copy Markdown
Collaborator

@marxin marxin commented Sep 21, 2025

As discussed during today's meeting, we should not silently create an invalid shared library. Rather we ought to emit an error:

  CCLD     libasound.la
WARNING: wild: --plugin /usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/liblto_plugin.so is not yet supported
wild: error: Failed to activate .libs/dlmisc.o (2304 (9/0))
  Caused by:
    symbol version definition `snd_dlopen@@ALSA_1.1.6` (using `.symver` directive) is not supported yet

@davidlattimore davidlattimore merged commit dfbed11 into wild-linker:main Sep 22, 2025
23 checks passed
@marxin marxin deleted the error-when-symver-used branch September 22, 2025 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants