Please see the upstream discussion of the issue and why it makes us unable to build OpenJDK (9, but will affect 8 too) with GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80115 Can you please backport this patch to Fedora 26 and rawhide so we can continue building OpenJDK with stap support?
Here's an OpenJDK 9 build that fails to build in copr against F26: https://copr-be.cloud.fedoraproject.org/results/omajid/openjdk9/fedora-26-i386/00536983-java-9-openjdk/
Backported Jakub's sys/sdt.h patch; a new build is underway for f26. https://koji.fedoraproject.org/koji/buildinfo?buildID=877057
systemtap-3.1-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5e7acfbf60
systemtap-3.1-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5e7acfbf60
systemtap-3.1-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.