8000 Undefined reference to .L32 · Issue #7 · edubart/minilua · GitHub
[go: up one dir, main page]

Skip to content

Undefined reference to .L32 #7

Open

Description

@Kazade

Hi!

I'm trying to use minilua as part of a shared (C++) library but I'm getting a bunch of undefined references when I compile:

error: undefined reference to `.L32'
error: undefined reference to `.L75'
error: undefined reference to `.L63'
error: undefined reference to `.L26'
error: undefined reference to `.L8'
error: undefined reference to `.L50'
error: undefined reference to `.L58'
error: undefined reference to `.L11'

etc....

Here's what I'm doing:

  • Compiling with GCC
  • This is a C++ library, but the minilua implementation is in a .c file

I'm not sure what could be causing it...

Activity

  1. Kazade commented on Apr 4, 2026

    @Kazade
    Author

    OK the problem was that the jump tables don't work with LTO. Disabling jump tables allows compilation - but I don't know if there's a way to make the jump table LTO-safe 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0