Red Hat Bugzilla – Bug 816988
Please include upstream patch for GCC 4.7
Last modified: 2012-06-25 20:40:21 EDT
Description of problem:
ZeroC upstream has provided a patch that fixes compilation with GCC 4.7 and other recent compilers:
Please apply this patch to the Fedora packages. If not, you get the bug described here on Fedora 17:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
(See above forum posting)
I see that the upCast related patch was apparently applied in version 3.4.2-11. Regardless, I still get failures building on Fedora 17. :(
Created attachment 583855 [details]
Modified version of upstream patch
Here's a slightly modified version of the upstream patch from http://www.zeroc.com/forums/patches/5647-patch-compiling-ice-clang-gcc4-7-a.html -- basically, it adds __linux to the list of #ifdefs in three places, and is otherwise unchanged. With this patch, I no longer see any problems with GCC 4.7 on Fedora 17.
This should replace the existing Patch1, Patch7, and Patch8 from the srpm.
I also note that the current SRPM contains a Patch9 which is not currently being applied as part of the build -- is that a problem?
Ping -- any chance of updated packages? At the moment, ice is actually broken on F17 (due to this and to bug 812156) ...
I'm working on that, though ice build time doesn't help. :]
ice-3.4.2-13.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ice-3.4.2-13.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
ice-3.4.2-14.fc17 has been submitted as an update for Fedora 17.
ice-3.4.2-15.fc17 has been submitted as an update for Fedora 17.
ice-3.4.2-15.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.