From unknown Mon Jun 23 23:52:26 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2359: Emacs fails to compile on AIX 5.3 with XL C 10.1, due to missing #define ADDR_CORRECT in unexaix.c; patch attached Reply-To: Criveti Mihai , 2359@debbugs.gnu.org Resent-From: Criveti Mihai Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 17 Feb 2009 15:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2359 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12348857159015 (code B ref -1); Tue, 17 Feb 2009 15:55:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Feb 2009 15:48:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HFmV28009009 for ; Tue, 17 Feb 2009 07:48:32 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZSBT-0000x7-BO for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZSBQ-0000wv-Ps for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:29 -0500 Received: from [199.232.76.173] (port=39321 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZSBQ-0000ws-JZ for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:28 -0500 Received: from wf-out-1314.google.com ([209.85.200.169]:20007) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZSBQ-0003uO-2M for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:28 -0500 Received: by wf-out-1314.google.com with SMTP id 28so2830646wfc.24 for ; Tue, 17 Feb 2009 07:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=cdVI/yFg2UarWcqKnaOz+3Za6JvYZvBze50nGhGeTU4=; b=nTLIRsk1FDHuI7uuLqm8N4ygGuXQ8TN2URFy1rdAxJRlokOyR2+VUSNWDRB3fgSEVf jT5chJBVfrkmzY9EXeT0aDnuerL1Yeo/icJjhx2o2bmYODMstIbQHUBTsbD2olbKX05b wMiJeB0F6kBtFI+PStqE+Dy3om8cWnzL91MPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=mBauGXKdDrlbRFwaHd3uLbjZJd7qlmfFFEE398b6wFdQQGUv5z5rjoAV85pdDjpXwf +O6fK//pvq7LgjfCHeiRuRHPefSr69TXFZJYro/+MdxVxkZtmVgFUwaFbp+1n/MekmTh kqkdX61B8MiEnXJUVYKOoObZ15YB+H/XS4lHE= MIME-Version: 1.0 Received: by 10.142.157.6 with SMTP id f6mr1476600wfe.248.1234885705575; Tue, 17 Feb 2009 07:48:25 -0800 (PST) Date: Tue, 17 Feb 2009 17:48:25 +0200 Message-ID: <900b86670902170748o3b0b75ecrd815d44b491ffa77@mail.gmail.com> From: Criveti Mihai To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) diff unexaix.c.old unexaix.c 60a61,63 > #undef ADDR_CORRECT > #define ADDR_CORRECT(x) ((int)(x)) > This error is corrected with the patch above: cmihai@phobos:/home/cmihai/packaging/emacs-cvs/emacs$ gmake boot=bootstrap-emacs; \ if [ -x "src/$boot" ]; then boot=""; fi; \ cd lib-src; gmake all \ CC='xlc -q64' CFLAGS='-O3 -qnoansialias -brtl -bexpfull -I /usr/local/ssl/include -I/usr/local/include -I/opt/freeware/include' CPPFLAGS='-ma -qmaxmem=4000 ' \ LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/lib -L/opt/freeware/lib -bbigtoc' MAKE='gmake' BOOTSTRAPEMACS="$boot" gmake[1]: Entering directory `/home/cmihai/packaging/emacs-cvs/emacs/lib-src' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/cmihai/packaging/emacs-cvs/emacs/lib-src' boot=bootstrap-emacs; \ if [ -x "src/$boot" ]; then boot=""; fi; \ cd src; gmake all \ CC='xlc -q64' CFLAGS='-O3 -qnoansialias -brtl -bexpfull -I /usr/local/ssl/include -I/usr/local/include -I/opt/freeware/include' CPPFLAGS='-ma -qmaxmem=4000 ' \ LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/lib -L/opt/freeware/lib -bbigtoc' MAKE='gmake' BOOTSTRAPEMACS="$boot" gmake[1]: Entering directory `/home/cmihai/packaging/emacs-cvs/emacs/src' echo "dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexaix.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o mktime.o getloadavg.o " > buildobj.lst xlc -q64 -Wl,-bnodelcsect -L/usr/local/ssl/lib -L/usr/local/lib -L/opt/freeware/lib -bbigtoc \ -o temacs dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexaix.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o mktime.o getloadavg.o \ -lrts -lIM -liconv -lbsd -lcurses -lm ld: 0711-317 ERROR: Undefined symbol: .ADDR_CORRECT ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. gmake[1]: *** [temacs] Error 8 gmake[1]: Leaving directory `/home/cmihai/packaging/emacs-cvs/emacs/src' gmake: *** [src] Error 2 From unknown Mon Jun 23 23:52:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Criveti Mihai Subject: bug#2359 closed by Dan Nicolaescu (Re: bug#2359: Emacs fails to compile on AIX 5.3 with XL C 10.1, due to missing #define ADDR_CORRECT in unexaix.c; patch attached) Message-ID: References: <200902180849.n1I8n6xq021900@rodan.ics.uci.edu> <900b86670902170748o3b0b75ecrd815d44b491ffa77@mail.gmail.com> X-Emacs-PR-Message: they-closed 2359 X-Emacs-PR-Package: emacs Reply-To: 2359@debbugs.gnu.org Date: Wed, 18 Feb 2009 08:55:10 +0000 Content-Type: multipart/mixed; boundary="----------=_1234947310-11429-1" This is a multi-part message in MIME format... ------------=_1234947310-11429-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2359: Emacs fails to compile on AIX 5.3 with XL C 10.1, due to missing #d= efine ADDR_CORRECT in unexaix.c; patch attached It has been closed by Dan Nicolaescu . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Dan Nicolaescu by replying to this email. --=20 2359: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2359 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1234947310-11429-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2359-done) by emacsbugs.donarmstrong.com; 18 Feb 2009 08:49:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I8nKox009629; Wed, 18 Feb 2009 00:49:21 -0800 Received: from rodan.ics.uci.edu (rodan.ics.uci.edu [128.195.6.9]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n1I8n7DR024742; Wed, 18 Feb 2009 00:49:07 -0800 (PST) Received: (from dann@localhost) by rodan.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n1I8n6xq021900; Wed, 18 Feb 2009 00:49:06 -0800 (PST) Date: Wed, 18 Feb 2009 00:49:06 -0800 (PST) Message-Id: <200902180849.n1I8n6xq021900@rodan.ics.uci.edu> From: Dan Nicolaescu To: Criveti Mihai Cc: 2359-done@debbugs.gnu.org, 2366-done@debbugs.gnu.org Subject: Re: bug#2359: Emacs fails to compile on AIX 5.3 with XL C 10.1, due to missing #define ADDR_CORRECT in unexaix.c; patch attached References: <900b86670902170748o3b0b75ecrd815d44b491ffa77@mail.gmail.com> X-Debbugs-No-Ack: yes In-Reply-To: <900b86670902170748o3b0b75ecrd815d44b491ffa77@mail.gmail.com> (Criveti Mihai's message of "Tue, 17 Feb 2009 17:48:25 +0200") Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n1I8n7DR024742 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@rodan.ics.uci.edu Criveti Mihai writes: > diff unexaix.c.old unexaix.c > 60a61,63 > > #undef ADDR_CORRECT > > #define ADDR_CORRECT(x) ((int)(x)) > > Thanks. I checked in a fix. ------------=_1234947310-11429-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Feb 2009 15:48:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HFmV28009009 for ; Tue, 17 Feb 2009 07:48:32 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZSBT-0000x7-BO for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZSBQ-0000wv-Ps for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:29 -0500 Received: from [199.232.76.173] (port=39321 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZSBQ-0000ws-JZ for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:28 -0500 Received: from wf-out-1314.google.com ([209.85.200.169]:20007) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZSBQ-0003uO-2M for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 10:48:28 -0500 Received: by wf-out-1314.google.com with SMTP id 28so2830646wfc.24 for ; Tue, 17 Feb 2009 07:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=cdVI/yFg2UarWcqKnaOz+3Za6JvYZvBze50nGhGeTU4=; b=nTLIRsk1FDHuI7uuLqm8N4ygGuXQ8TN2URFy1rdAxJRlokOyR2+VUSNWDRB3fgSEVf jT5chJBVfrkmzY9EXeT0aDnuerL1Yeo/icJjhx2o2bmYODMstIbQHUBTsbD2olbKX05b wMiJeB0F6kBtFI+PStqE+Dy3om8cWnzL91MPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=mBauGXKdDrlbRFwaHd3uLbjZJd7qlmfFFEE398b6wFdQQGUv5z5rjoAV85pdDjpXwf +O6fK//pvq7LgjfCHeiRuRHPefSr69TXFZJYro/+MdxVxkZtmVgFUwaFbp+1n/MekmTh kqkdX61B8MiEnXJUVYKOoObZ15YB+H/XS4lHE= MIME-Version: 1.0 Received: by 10.142.157.6 with SMTP id f6mr1476600wfe.248.1234885705575; Tue, 17 Feb 2009 07:48:25 -0800 (PST) Date: Tue, 17 Feb 2009 17:48:25 +0200 Message-ID: <900b86670902170748o3b0b75ecrd815d44b491ffa77@mail.gmail.com> Subject: Emacs fails to compile on AIX 5.3 with XL C 10.1, due to missing #define ADDR_CORRECT in unexaix.c; patch attached From: Criveti Mihai To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) diff unexaix.c.old unexaix.c 60a61,63 > #undef ADDR_CORRECT > #define ADDR_CORRECT(x) ((int)(x)) > This error is corrected with the patch above: cmihai@phobos:/home/cmihai/packaging/emacs-cvs/emacs$ gmake boot=bootstrap-emacs; \ if [ -x "src/$boot" ]; then boot=""; fi; \ cd lib-src; gmake all \ CC='xlc -q64' CFLAGS='-O3 -qnoansialias -brtl -bexpfull -I /usr/local/ssl/include -I/usr/local/include -I/opt/freeware/include' CPPFLAGS='-ma -qmaxmem=4000 ' \ LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/lib -L/opt/freeware/lib -bbigtoc' MAKE='gmake' BOOTSTRAPEMACS="$boot" gmake[1]: Entering directory `/home/cmihai/packaging/emacs-cvs/emacs/lib-src' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/cmihai/packaging/emacs-cvs/emacs/lib-src' boot=bootstrap-emacs; \ if [ -x "src/$boot" ]; then boot=""; fi; \ cd src; gmake all \ CC='xlc -q64' CFLAGS='-O3 -qnoansialias -brtl -bexpfull -I /usr/local/ssl/include -I/usr/local/include -I/opt/freeware/include' CPPFLAGS='-ma -qmaxmem=4000 ' \ LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/lib -L/opt/freeware/lib -bbigtoc' MAKE='gmake' BOOTSTRAPEMACS="$boot" gmake[1]: Entering directory `/home/cmihai/packaging/emacs-cvs/emacs/src' echo "dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexaix.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o mktime.o getloadavg.o " > buildobj.lst xlc -q64 -Wl,-bnodelcsect -L/usr/local/ssl/lib -L/usr/local/lib -L/opt/freeware/lib -bbigtoc \ -o temacs dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexaix.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o mktime.o getloadavg.o \ -lrts -lIM -liconv -lbsd -lcurses -lm ld: 0711-317 ERROR: Undefined symbol: .ADDR_CORRECT ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. gmake[1]: *** [temacs] Error 8 gmake[1]: Leaving directory `/home/cmihai/packaging/emacs-cvs/emacs/src' gmake: *** [src] Error 2 ------------=_1234947310-11429-1--