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 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: POSIX-Based
Fixed Release: 4.0Triage 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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by iskunk (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 May 2011 12:37:04 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Component Version4.0=>3.82
      Fixed ReleaseNone=>4.0
      Triage StatusNone=>Verified
    Sat 12 Mar 2011 09:02:31 AM UTCiskunkAttached File-=>Added make-dupe-struct-fix.patch, #22906

    Back to the top


    Powered by Savane 3.1-cleanup1