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

Generation of broken torrents with CFLAGS that differ from defaults #22

Closed
holgersson32644 opened this issue Apr 15, 2018 · 4 comments
Closed

Comments

@holgersson32644
Copy link
Contributor

Hi,

on Gentoo we have a bug where mktorrent-1.1 creates corrupt torrents when built with other CFLAGS than the default ones, e.g. "-march=native" (at least on Intel i-CPUs so far reported).

The compiler versions tested are gcc-6.4.0 and 7.3.0.

Any ideas what's wrong here?

@cmclark65
Copy link

Have a look at https://github.com/cmclark65/mktorrent. I fixed at least one problem related to word size and also cleared a lot of compiler warnings and problems when forked mktorrent, and possibly that will fix the problems compiling for different architectures. I'm not sure how difficult it would be to merge my fork with the current main fork, since there have been a number of commits to the main since then.

@holgersson32644
Copy link
Contributor Author

@cmclark65 thanks, it looks as your fork fixes it. Your main commit is really huge - could you split it up a bit? Currently it can't be merged into ruddes tree, and smaller pieces will help to update your improvements.

@cmclark65
Copy link

cmclark65 commented Apr 24, 2018 via email

@holgersson32644
Copy link
Contributor Author

I'd love to help you, but:

-> no but, your description actually helped me a lot ;-)

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