bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Daniel Richard G.
Subject: [bug #32753] "struct rlimit stack_limit" not declared "extern" in make.h
Date: Sat, 12 Mar 2011 09:02:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15

URL:
  <http://savannah.gnu.org/bugs/?32753>

                 Summary: "struct rlimit stack_limit" not declared "extern" in
make.h
                 Project: make
            Submitted by: iskunk
            Submitted on: Sat 12 Mar 2011 09:02:31 AM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: CVS
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 12 Mar 2011 09:02:31 AM GMT  Name: make-dupe-struct-fix.patch  Size:
416B   By: iskunk

<http://savannah.gnu.org/bugs/download.php?file_id=22906>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32753>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]