-
Notifications
You must be signed in to change notification settings - Fork 18k
gccgo: duplicate symbols under specific package and package_test conditions #15547
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
Comments
I think I fixed this in 12e3b18, can you check tip? |
Sure, how? Do I need to check out gcc from tip and recompile? |
Oh, sorry, you're using the go tool from gccgo. I think the fix is upstream there too, but maybe you should look in the commit history first before starting the build. The patch is in the gccgo-6 package in Ubuntu 16.04, at least. |
Nope, gcc at HEAD doesn't appear to contain this patch. |
Paging @ianlancetaylor then, do you think it's worth bringing that patch into tip before the merge for 1.7? And/or fixing it on the gcc-6-branch? |
@ianlancetaylor ping? |
Michael's patch is now in the gofrontend repository and is in GCC mainline. It will be in the GCC 7 release. Your test passes with GCC mainline. I'm willing to listen to arguments otherwise, but right now I don't think this is worth adding to the GCC 6 branch. So, closing. |
Isn't GCC 7 still 8 months out? I'd like to see this get into a GCC release before then, and it looks like the next GCC point release might be about 2 months out. What do you think? |
Can you send me a patch against GCC 6 branch that fixes the problem? |
@ianlancetaylor in what repository? |
FWIW, here's the patch in the GCC repo: https://gist.github.com/tamird/4b5a9481bfa6432f9672c652b220d11e |
Backported to GCC 6 branch. |
Please answer these questions before submitting your issue. Thanks!
go version
)?go env
)?The text was updated successfully, but these errors were encountered: