Re: [DynInst_API:] dyninst fails to compile with GCC 7


Date: Thu, 09 Feb 2017 10:45:15 -0500
From: William Cohen <wcohen@xxxxxxxxxx>
Subject: Re: [DynInst_API:] dyninst fails to compile with GCC 7
On 02/09/2017 10:41 AM, William Cohen wrote:
> 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
> _______________________________________________
> Dyninst-api mailing list
> Dyninst-api@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
> 

There is some information about porting to gcc 7 at:

https://gcc.gnu.org/gcc-7/porting_to.html
https://gcc.gnu.org/gcc-7/changes.html

-Will

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