bugPSPP - Bugs: bug #51318, Compilation with gcc-7 fails with...


bug #51318: Compilation with gcc-7 fails with the current gnulib version - next debian version...

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Mon 26 Jun 2017 07:29:42 PM UTC  
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 27 Jun 2017 10:03:27 PM UTC, comment #1: 

Thanks for the report, the fix, and the testing.

I've now updated README.Git to recommend the commit that you tested (which is also the most recent Gnulib commit as of this writing).  I also did a new build and verified that it passes the tests with the current version of GCC I'm using, which is: gcc version 6.3.0 20170516 (Debian 6.3.0-18)

Ben Pfaff <blp>
Project Administrator
Mon 26 Jun 2017 07:29:42 PM UTC, original submission:  


pspp fails to build with gcc-7. See


This needs to be fixed for some future debian version.

I tested this with current head on debian unstable and i could reproduce the problem. The problem can be fixed with an update of the gnulib version. I tested with:

commit 9ae75d1450362acb61bfa1f0f77905b76f894838
Author: Bruno Haible <bruno@clisp.org>
Date:   Sun Jun 25 11:09:42 2017 +0200

    stat: Improve last change.

    * lib/stat-w32.c: Revert last change. Use generic idiom instead.

and then the regression works with

  * gcc-7 on debian unstable
  * gcc-6 on debian unstable
  * clang on macos (macports)


Friedrich Beckmann <beckmanf>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by beckmanf (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-06-27 blp StatusReady for Test/Review => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5