Skip to content

Conversation

@SahilPatidar
Copy link
Contributor

Fix build failures in LibraryResolverTest and silence symlink warning

This commit resolves two issues observed in the build bots:

  1. Silences the -Wunused-result warning by handling the return value
    of ::symlink in LibraryResolverTest.cpp. Previously, ignoring
    the return value triggered compiler warnings.

  2. Fixes a linker error in OrcJITTests caused by an undefined
    symbol: llvm::yaml::convertYAML. The test setup in
    LibraryResolverTest.cpp now correctly links against the required
    LLVM YAML library symbols.

This resolves the build failures for PR #164551 on the affected bots.

@jplehr
Copy link
Contributor

jplehr commented Oct 24, 2025

The CMake change lgtm to fix the error we are seeing on our buildbot.

@dyung
Copy link
Collaborator

dyung commented Oct 24, 2025

Can we get this checked in soon if it fixes the bots? This has been causing failures for 6 hours already.

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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.

4 participants