[DynInst_API:] dyninst fails to compile with GCC 7


Date: Thu, 09 Feb 2017 10:41:04 -0500
From: William Cohen <wcohen@xxxxxxxxxx>
Subject: [DynInst_API:] dyninst fails to compile with GCC 7
Hi All,

I attempted to rebuild the dyninst rpm for Fedora rawhide and it failed (https://koji.fedoraproject.org/koji/taskinfo?taskID=17680868).  Fedora Rawhide now uses GCC 7 to compile code.  There are a number of additional check that are performed and the resulting warnings are treated as errors causing the RPM build to fail.  The build log for x86_64 (https://kojipkgs.fedoraproject.org//work/tasks/894/17680894/build.log) shows a number of warning/errors for "-Wimplicit-fallthrough".  SystemTap had a similar issue that was fixed (https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=575fe913f6b6b81421f7bfda7c72ab8c15ecb8e3).

-Will
[← Prev in Thread] Current Thread [Next in Thread→]