Comments (8)
Do you know which glibc version introduced both htole64
and le64toh
? We should apply these defines only for glibc version lesser than the one introducing these.
from pixz.
Apparently, they are introduced in glibc 2.9. I think, the best way to address this is to check for both of these functions in configure
and if they do not exist, define them ourselves.
from pixz.
Being as a person dealing with RHEL for several years, I'd say RHEL6 ships GLIBC 2.12.
from pixz.
As a correction to the original report, this affects CentOS 5 and RHEL 5 which have glibc-2.5, not 6. So yes this is a portability issue for glibc < 2.9.
from pixz.
@andreasstieger would you please test this patch on both RHEL 5 and RHEL 6 (alternative to the patch, you can checkout the endian-conversion-checks branch on my fork)?
from pixz.
from pixz.
Great, @andreasstieger thanks for reporting back. I am going to merge and cut a new release.
from pixz.
Done, new release is up.
from pixz.
Related Issues (20)
- configure: error: AsciiDoc not found, not able to generate the man page. HOT 3
- Error decoding stream footer when trying to decompress a 3.1 TiB .tpxz file HOT 8
- cppcheck 2.8 warnings about uninitialized variables
- Crash when using -x option
- Decompression fails for concatenated archives: "Error reading block header size" HOT 1
- feature request: set option -t if argv[0] == 'pxz' HOT 2
- documentation: make more clear that payloads may be modified
- is pixz tar-append possible? HOT 9
- Compilation error with GCC 10 HOT 2
- New release HOT 2
- Server mode HOT 1
- -k should be the default HOT 2
- concatenation of *xz files and then decompression using pixz HOT 2
- Building On Windows HOT 2
- manpage not installed if building from release tarball HOT 2
- build env question not package liblzma HOT 1
- Questions about tpxz / file index format HOT 6
- Error creating block encoder HOT 3
- Syntax for converting existing tar.xz archive to indexed pixz file? HOT 1
- Random failures when compressing large directories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixz.