https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043
--- Comment #7 from Ian Lance Taylor ---
Sorry, I'm not sure what is causing that error.
Why don't you just compile GCC trunk?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043
--- Comment #6 from martin ---
Created attachment 42122
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42122&action=edit
recompiled-gcc7.2-with-patch
../../../gcc-7.2.0/libgo/go/runtime/mheap.go:867:7: error: type mismatch
between switch v
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043
--- Comment #5 from martin ---
I recompiled gcc 7.2.0 with your applied patch:
I did:
cd gcc-7.2.0/
patch gcc/go/gofrontend/types.cc < ../f9bad13.diff
cd ..
cd gcc-7.2.0-go/
../gcc-7.2.0/configure CC=/opt/gcc-7.1/bin/gcc CXX=/opt/gcc-7.1/bin/g+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043
martin changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043
--- Comment #3 from Ian Lance Taylor ---
I'm sorry, I can't support a mix of different GCC sources. You are welcome to
try to figure out what is going wrong, but I don't know. At a guess, you are
using a version of libgo/match.sh that does not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043
--- Comment #2 from martin ---
I looked at the bash history and I used the trunk source to compile gcc. I'm
sorry for the wrong information.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043
--- Comment #1 from Ian Lance Taylor ---
This can't be GCC 7 branch, because files like libgo/go/runtime/heapdump.go and
libgo/go/runtime/os_aix.go don't exist in GCC 7 branch. They only exist on
trunk.