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

Resolve GCC Cross-compilation Issues #316

Open
stux2000 opened this issue Mar 24, 2021 · 1 comment · May be fixed by #319 or #322
Open

Resolve GCC Cross-compilation Issues #316

stux2000 opened this issue Mar 24, 2021 · 1 comment · May be fixed by #319 or #322

Comments

@stux2000
Copy link

stux2000 commented Mar 24, 2021

I'm creating this issue to keep track of problems when cross-compiling Minix, particularly on Linux platforms

NOTE: Please do not comment on new issues here, instead please submit to a new issue and link to this one.

@petershh
Copy link

petershh commented Mar 24, 2021

I'll try to describe current state of things here.

Currently, build is successful with GCC 8.

Firstly, there are links with breaking changes in GCC 9 and GCC 10:

It seems that Clang mimics GCC behavior, so information about these changes remains correct for Clang.

How these changes affect us:

  1. Nbmake fails to build because -fno-common flag is default now. This can be fixed rather easily. Also, we can take nbmake from NetBSD sources
  2. Cross tools from /external like binutils cannot be built. Currently, build process uses obsolete versions of these tools, so they should be upgaded. But this is a hard task because there is a lot of patches to make these tools work with NetBSD and MINIX. I don't think it is possible to upgrade these patches without experienced MINIX developer.

@marceloalencar marceloalencar linked a pull request Apr 3, 2021 that will close this issue
@petershh petershh linked a pull request Jul 18, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants