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

Error while building toolchain. #93

Closed
JustVic opened this issue Jul 5, 2021 · 5 comments
Closed

Error while building toolchain. #93

JustVic opened this issue Jul 5, 2021 · 5 comments
Labels
bug land Userland

Comments

@JustVic
Copy link

JustVic commented Jul 5, 2021

Trying to build an OS. But while building toolchain("make -C toolchain") I got this error:

checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

Anyone know how to fix it?

@lutoma
Copy link
Owner

lutoma commented Jul 5, 2021

I don't test building the toolchain on a freshly cloned repository nearly as frequently as I should so it breaks from time to time (or only works in my specific setup).

I'll try doing that now and see if I can fix any errors I run into. In the meantime, what distribution are you trying to build the toolchain on, and can you upload the complete log somewhere?

From the error it sounds like the error occured while building GCC, did your binutils build succeed?

@lutoma lutoma added bug land Userland labels Jul 6, 2021
@lutoma
Copy link
Owner

lutoma commented Jul 6, 2021

Turns out the issue was related to libstdc++ which is not really required to build the kernel itself anyway, only some experimental userland stuff. I've disabled that for now and made some other fixes in e5593c0.

I've also added some stuff to the documentation on required autoconf/automake versions: https://xelix.org/compiling/ -- Those will probably be relevant for you too

With that it should work now, can you give it another try? (You may have to delete the build, download and local subdirectories in the toolchain dir)

@JustVic
Copy link
Author

JustVic commented Jul 6, 2021

Thanks for the quick response. I'll try again.

@JustVic
Copy link
Author

JustVic commented Jul 7, 2021

I made correct symlinks for autoconf and autoreconf and toolchain was built good. But I got problems after when building the system(#94).

@lutoma
Copy link
Owner

lutoma commented Jul 7, 2021

Alright, good to hear! Just added a response to your other issue. If you're up for it we could also work this out on Matrix/IRC/Signal or something, might be easier than going back and forth in Github issues.

@lutoma lutoma closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug land Userland
Projects
None yet
Development

No branches or pull requests

2 participants