bugmake - Bugs: bug #32753, "struct rlimit...

 
 

bug #32753: "struct rlimit stack_limit" not declared "extern" in make.h

Submitter:  Daniel Richard G. <iskunk>
Submitted:  Sat 12 Mar 2011 09:02:31 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.82 Operating System:  POSIX-Based
Fixed Release:  4.0 Triage Status:  Verified
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 May 2011 12:37:04 PM UTC, comment #1: 

Fixed.  Thanks for the report.

Paul D. Smith <psmith>
Group administrator
Sat 12 Mar 2011 09:02:31 AM UTC, original submission:  

make.h contains the following line

    struct rlimit stack_limit;

at line 356. stack_limit is not declared "extern", so every time a *.c file pulls in this header, a new copy of this struct is defined. If you build with -fno-common, you get errors due to the duplicate definitions.

Trivial patch (against CVS) is attached.

Daniel Richard G. <iskunk>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by iskunk (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-02 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Component Version4.0 3.82
        Fixed ReleaseNone 4.0
        Triage StatusNone Verified
    2011-03-12 iskunk Attached File- Added make-dupe-struct-fix.patch, #22906

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code