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/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make