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
gccgo fails to build/install #96
Comments
Yup. This is a known issue. The error happens on all archs.
|
Where can I find some more information about this issue? I cannot find any information in known issues doc https://github.com/crosstool-ng/crosstool-ng/blob/master/docs/B%20-%20Known%20issues.txt |
@fapfip I personally have ran into this issue a lot. There was a pull request to fix the issue in crosstool-ng, but I rejected it as it needs to get fixed upstream in gcc first before I can back-port the patch in crosstool-ng. Somehow This issue is going to take a little bit more time for me to figure out, so I'm going to move this to the 1.23.0 milestone, as I'm trying to get 1.22.0 out soon. |
@asavah Yup. I will backport the patch locally in ct-ng. |
Check out that branch and test if it works. If you run into any problems, let me know! Otherwise, if all is well, I'll merge it. |
No significant errors during build, but one error occurred during "Cleaning-up". Gccgo was created under (part of the path) "[...]/bin/.build/powerpc-unknown-linux-gnu/build/build-cc-gcc-final/gcc/" but under "[...]/ct-ng-test/bins/bin/.build/powerpc-unknown-linux-gnu/buildtools/bin" gccgo is not present. I don't know if this behaviour is correct. ls -a "[...]/bin/.build/powerpc-unknown-linux-gnu/build/build-cc-gcc-final/gcc/" As I wrote, gccgo was created but I have problem with compiling simple hello world. When I try compile I got error:
Exactly the same output I got when "gccgo-cross" was used. I googled for some help but I found nothing helpful... |
works for me ! 👍 |
Ok, So...
|
uClibc-ng and Musl-libc both have problems building the libgo math library. So they will not be supported until those issues are resolved. I have not tested bare-metal (No libc or newlib, yet). From the previous comment, item number 1 is crossed off the list with this patch being re-opened and rebased to current.
Number 2 is next on the list.
|
I have closed my pull-request to get gccgo to work with 5.x compilers. I don't think we should worry about supporting gccgo <= 6.3. Could someone test 6.3 and 7.1? |
Looks like this was resolved some time ago (via PR #136). Closing |
Hi.
I'm new to crosstool-ng and i have problem during build target. I selected operating system linux 2.6.32.63, architecture powerpc 32 bit, selected experimental language golang.
Here is fragment of the output with error
What can you advice to solve this problem? I just want prepare cross compilation tools for machine:
os: linux 2.6.11
cpu: powerpc 32 bit
And i want prepare golang compiler. (gccgo)
I know golang is experimental, but is there any easy workaround for my problem?
At his link you can download configuration files used during build process. (build.log included)
https://drive.google.com/file/d/0B_gFo2h9ev9va3ZyTGg4TTR5d1U/view?usp=sharing
Thank you for help.
The text was updated successfully, but these errors were encountered: