[LEDE-DEV] Updating Perl to 5.26.1
Philip Prindeville
philipp_subx at redfish-solutions.com
Thu Sep 28 14:14:35 PDT 2017
Hi.
I’m trying to update Perl from 5.24.1 to 5.26.1 but running into some issues.
We don’t use ./Configure to build the target versions (just the host version), so when new settings are added, we need to figure out what they are… and what the appropriate settings are for all processors.
And word is from upstream that 5.28.1 will have even more stuff that we need to add to get it to build.
Wondering if there isn’t an easier way to figure out automatically what those settings should be.
Obviously we can’t compile and run for other platforms, but we can compile and extract information from those images (with objdump, nm, etc).
A lot of the tests that get run during Configure (grep ‘$run ./try’ Configure) are run just to dump out information about the result of compilation… most of which could also be extracted just by examining the generated object (such as with objdump -d).
Anyone have any suggestions for things we can try to make ./Configure work for cross-compiles as well?
Because doing version updates seems to involve a fair amount of guesswork about what the correct values are for a whole gamut of platforms, and this seems error-prone.
Thanks,
-Philip
More information about the Lede-dev
mailing list