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

lua: add HOST_FPIC for host builds #4907

Closed
wants to merge 1 commit into from
Closed

Conversation

aparcar
Copy link
Member

@aparcar aparcar commented Dec 31, 2021

Compiling without fPIC causes linking issues for packages using liblua.

Add $(HOST_FPIC) to host builds for both lua and lua5.3.

Signed-off-by: Paul Spooren mail@aparcar.org

@mans0n mans0n added the core packages pull request/issue for core (in-tree) packages label Jan 1, 2022
Compiling without fPIC causes linking issues for packages using liblua.

Add $(HOST_FPIC) to host builds for both lua and lua5.3.

Suggested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>
@hauke
Copy link
Member

hauke commented Jan 2, 2022

Why do we see the problem only now? was the host liblua never used before?

@neheb
Copy link
Contributor

neheb commented Jan 2, 2022

sort of. the problem arises when mixing PIC and non PIC code. Maybe nothing else used liblua.so before.

@aparcar
Copy link
Member Author

aparcar commented Jan 3, 2022

I merged this since things seem to keep working fine.

@aparcar aparcar closed this Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants