From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#86: HP-UX 11.X build/runtime issues for emacs 22.2 Date: Fri, 25 Jul 2008 14:20:07 -0400 Message-ID: <8763qtzuzs.fsf@stupidchicken.com> Reply-To: Chong Yidong , 86@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217010468 10286 80.91.229.12 (25 Jul 2008 18:27:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 18:27:48 +0000 (UTC) Cc: 86@emacsbugs.donarmstrong.com To: Richard Lloyd Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 25 20:28:36 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KMS1k-0000lN-Va for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jul 2008 20:28:29 +0200 Original-Received: from localhost ([127.0.0.1]:58384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMS0r-0002Ga-Aq for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jul 2008 14:27:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMS0i-0002Cw-2a for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 14:27:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMS0g-0002BA-Az for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 14:27:22 -0400 Original-Received: from [199.232.76.173] (port=33443 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMS0g-0002B0-5e for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 14:27:22 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57432) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMS0f-0001Q2-Mc for bug-gnu-emacs@gnu.org; Fri, 25 Jul 2008 14:27:22 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6PIRJKp007691; Fri, 25 Jul 2008 11:27:19 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6PIP5Gb006698; Fri, 25 Jul 2008 11:25:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 25 Jul 2008 18:25:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 86 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 86-submit@emacsbugs.donarmstrong.com id=B86.12170099175338 (code B ref 86); Fri, 25 Jul 2008 18:25:05 +0000 Original-Received: (at 86) by emacsbugs.donarmstrong.com; 25 Jul 2008 18:18:37 +0000 Original-Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6PIIXxY005332 for <86@emacsbugs.donarmstrong.com>; Fri, 25 Jul 2008 11:18:35 -0700 Original-Received: by cyd (Postfix, from userid 1000) id B23E357E311; Fri, 25 Jul 2008 14:20:07 -0400 (EDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 25 Jul 2008 14:27:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18857 Archived-At: Thanks for your bug reports. > the configure script never tests for getrlimit() and hence config.h > never has any HAVE_GETRLIMIT definition. Thanks. I've added a check for getrlimit to the configure script. > Sadly, similar code to the assignment above is present in src/alloc.c, > namely at line 278: > > POINTER new = (*real_morecore)(0); > > This again can cause an HP-UX core dump, but this time there is no > getrlimit() alternative code - maybe there should be to fix this > issue (I wonder if HP-UX isn't the only platform with this problem)? I can't find this line in the sources. Could you be more specific about this problem? > src/getloadavg.c declares an "nl" struct nlist array at line 493. > Unfortunately, this clashes directly with ncurses 5.6's "nl" variable > in ncurses.h [line 686: extern NCURSES_EXPORT(int) nl (void); ] Okay, I've renamed it to name_list. Hopefully that will solve the problem. > src/tparam.c declares a tparam() function at line 95 onwards. This is > a function also declared by the termcap 1.3.1's termcap.h file (line > 33), so I would suggest renaming all occurrences of tparam() in > src/term.c, src/terminfo.c and src/tparam.c to emacs_tparam() instead. Does this actually stop compilation? > src/term.c has uninitialised static char * variables at lines 2179 to > 2181. If you look at the tty_default_color_capabilities() function > directly below, you'll see statements that read those vars (lines > 2192, 2196 and 2201), potentially without assigning to them first. Fixed, thanks. These changes will appear in Emacs 22.3, as well as the forthcoming Emacs 23.1 release. One additional request: since you have access to HP-UX, could you try compiling the Emacs CVS trunk (which will become Emacs 23), and report any problem you encounter? Thanks.