Red Hat Bugzilla – Bug 1309128
gcc 6.0 segfaults
Last modified: 2016-03-10 13:39:50 EST
Created attachment 1127743 [details]
Description of problem:
gcc 6.0 segfaults when compiling open-vm-tools
Version-Release number of selected component (if applicable):
gcc version 6.0.0 20160205 (Red Hat 6.0.0-0.10) (GCC)
Steps to Reproduce:
git clone https://github.com/vmware/open-vm-tools.git
appUtil.c: In function 'AppUtil_SendGuestCaps':
appUtil.c:54:1: internal compiler error: Segmentation fault
AppUtil_SendGuestCaps(const GuestCapabilities *caps, // IN: array of capabilities
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccQQfF9H.out file, please attach this to your bugreport.
I can't reproduce this -- on which arch does this happen?
The dump is from x86_64. But, I can't reproduce this either, with the same snapshot or even with the cc1 binary from the -0.10.fc24 rpm.
Interesting. I did this in a docker container - I thought it wouldn't matter. I cannot reproduce this in a vm either. It's a slightly different version though:
gcc version 6.0.0 20160212 (Red Hat 6.0.0-0.11) (GCC)
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
Is this still a problem with latest GCC build?
It looks like the issue is gone. The build with
gcc version 6.0.0 20160305
does not throw any segfault any more (I am getting other errors, but those are not related). It's in a container updated to the latest rawhide, everything else is the same as in my original report.
Great, thanks. I think we can close this one now then.