Skip to content

perl: fix compilation with musl 1.2.4 - #21069

Merged
neheb merged 1 commit into
openwrt:masterfrom
robimarko:perl
May 18, 2023
Merged

perl: fix compilation with musl 1.2.4#21069
neheb merged 1 commit into
openwrt:masterfrom
robimarko:perl

Conversation

@robimarko

Copy link
Copy Markdown
Contributor

Maintainer: @neheb
Compile tested: ipq807x/master

Description:
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so just having _GNU_SOURCE defined is not enough anymore.

_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Robert Marko <robimarko@gmail.com>
@PolynomialDivision

Copy link
Copy Markdown
Member

Maintainer is @pprindeville

@neheb

neheb commented May 18, 2023

Copy link
Copy Markdown
Contributor

Perl needs an update to the latest version honestly.

@neheb
neheb merged commit 2251916 into openwrt:master May 18, 2023
@pprindeville

Copy link
Copy Markdown
Member

Perl needs an update to the latest version honestly.

It absolutely does, but as it gets ported to more and more platforms I have to guess what the correct pre-salted parameters are since it leans heavily on native compilation and run-time detection of the host's characteristics...

What would be great is if we had a CI/CD job that did all of this detection for us, every time a new release came out.

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.

6 participants