Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug why LL's build runner creates a broken (seemingly non PIC) static lib when compiling Linux #6

Closed
wants to merge 1 commit into from

Conversation

Nicky-D
Copy link
Contributor

@Nicky-D Nicky-D commented Apr 1, 2024

Debug the strange behavior of some GHA (under my account) runs creati…ng a 'good' library with -fPIC enabled symbols, while others (under the LL org) create a 'bad' library as if it was never compiled with -fPIC.

Known so far:

  • Logs from the GHA builds always show -fPIC passed to the compiler.
  • GHA builds from LL create no relocatable library sections

Plan:

  • Disable parallel building, just to see if that makes any difference
  • Output GCC and ld version
  • objdump -x to verify the generated symbols in utf_impl.ao

…ng a 'good' library with -fPIC enabled symbols, while others (under the LL org) create a 'bad' library as if it was never compiled with -fPIC.

Known so far:
- Logs from the GHA builds always show -fPIC passed to the compiler.
- GHA builds from LL create no relocatable library sections

Plan:
- Disable parallel building, just to see if that makes any difference
- Output GCC and ld version
- objdump -x to verify the generated symbols in utf_impl.ao
@Nicky-D
Copy link
Contributor Author

Nicky-D commented Apr 2, 2024

In Reality secondlife/autobuild#44 bit me. And the binary created yesterday works fine for me

@Nicky-D Nicky-D closed this Apr 2, 2024
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.

1 participant