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

Cross-compiling for FreeBSD using Clang #425

Closed
hugbug opened this Issue Aug 7, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@hugbug
Member

hugbug commented Aug 7, 2017

There is an issue with the latest version of FreeBSD which was reported on forum in topic Segmentation Fault after upgrading to FreeBSD 11.1. NZBGet crashes during downloading, easy to reproduce.

The issue seems to be in the incompatibility of used cross-compiling tools with the latest FreeBSD version. Currently our cross-compiling toolchain is based on GCC.

In newer versions of FreeBSD the default system compiler was changed from GCC to Clang. Therefore a cross-compiling toolchain based on Clang may work better.

In this issue:

  • build cross-compiling toolchain based on Clang;
  • do tests on different FreeBSD versions;
  • replace GCC toolchain with Clang toolchain when creating NZBGet installer for FreeBSD.

@hugbug hugbug added the meta label Aug 7, 2017

@hugbug hugbug added this to the v19.x milestone Aug 7, 2017

@hugbug hugbug closed this Aug 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment