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...

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Mon 26 Jun 2017 07:29:42 PM UTC, original submission:  

Hi,

pspp fails to build with gcc-7. See

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853623

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

Friedrich Beckmann <beckmanf>
Group Member

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-d3ae.
    Corresponding source code