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


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

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

Add a New Comment (Rich Markup)

You are not logged in

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


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

Fixed.  Thanks for the report.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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:

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)

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