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

System endiannes and unaligned memory access issues on mips #268

Closed
azlicic opened this issue Aug 15, 2014 · 2 comments
Closed

System endiannes and unaligned memory access issues on mips #268

azlicic opened this issue Aug 15, 2014 · 2 comments

Comments

@azlicic
Copy link

azlicic commented Aug 15, 2014

Hello,
package python-pysam (samtools is a dependency of python-pysam) fails
to build on Debian for mips/mipsel architectures.

During tests in python-pysam output of samtools executable is used as a
reference (its output is compared with output from pysam python module),
but samtools has both unaligned memory access and system endianness issues.

I have already reported a bug on Debian bug tracking system at:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753485
with proposed patches attached.

Current version of samtools on Debian is 0.1.19-1.

I am currently adapting the patch to fit the latest samtools version.
I will send you a pull request as soon as I'm done.

Best Regards
Aleksandar Zlicic

@azlicic
Copy link
Author

azlicic commented Sep 5, 2014

Hello,
I have sent a pull request (#270) regarding this issue.
Some of the problems reported in this issue originate from htslib, so I have created another issue for htslib (samtools/htslib#119) and sent you a pull request regarding that issue (samtools/htslib#120).

Could you please consider including this patch?

Best Regards
Aleksandar Zlicic

@daviesrob
Copy link
Member

HTSlib should now work on both little- and big-endian platforms.

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

No branches or pull requests

2 participants