From unknown Sat Aug 16 16:56:24 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2366: unexaix.c requires ADDR_CORRECT to build on AIX 5.3 using XL C 10.1 Reply-To: Criveti Mihai , 2366@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 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2366 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12349130865871 (code B ref -1); Tue, 17 Feb 2009 23:30:02 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Feb 2009 23:24:46 +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 n1HNOg6T005865 for ; Tue, 17 Feb 2009 15:24:44 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZZIw-0000kT-6d for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZZIv-0000jw-6R for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:41 -0500 Received: from [199.232.76.173] (port=42094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZZIv-0000jo-1s for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:41 -0500 Received: from wf-out-1314.google.com ([209.85.200.174]:30436) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZZIu-000114-9S for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:40 -0500 Received: by wf-out-1314.google.com with SMTP id 28so3008894wfc.24 for ; Tue, 17 Feb 2009 15:24:39 -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=zYixfq1DbaecQ47Ie2/XyTWy9cw/rMnn+jUpcGVwyFs=; b=SXNgSRt+i01REHJJ0bBGcL/EiNRVu4Vmc9e3Wvlwea80F8Q0UMtG9ucweDJintaEAV n4XsDEze1edyBuLxTId1Z2jpbN6Il3AwrVHshz8q3yTWkWDFcDmNkAn528X49PSt/zl3 jmr/teSGTObWl7igpVTsOrLixIKDXH/U+dcJs= 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=JTr/1CgVb+0w7Lq1C7bR+GvyYQbuoL9qxB6e0VPVWEwoQxQbbVsaKprGQ3OosahFdO LVNhY0idSoGCrnsBEQjNHUkNgaCLxkTAbO9UA56WF+XmCnOp3FMNWiY+cz9qeg6mUMCA CCnTvU3rknMExSfoD86uI++TMH0ZNcqRPuC9Q= MIME-Version: 1.0 Received: by 10.142.43.7 with SMTP id q7mr3212884wfq.155.1234913078917; Tue, 17 Feb 2009 15:24:38 -0800 (PST) Date: Wed, 18 Feb 2009 01:24:38 +0200 Message-ID: <900b86670902171524g5bec43cemeeb0b4858288c56b@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$ make 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 (Sorry if it's a duplicate, I didn't see my previous mail arrive or on the list). There are some other issues with /home/cmihai/packaging/emacs-cvs/emacs/lisp/international/characters.el and Japanese that keep it from building, but you can get over those for the moment by skipping their build. GNU Emacs 23.0.90.1 (powerpc-ibm-aix5.3.0.0) of 2009-02-18 on phobos -- Mihai Criveti From unknown Sat Aug 16 16:56:24 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#2366 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> <900b86670902171524g5bec43cemeeb0b4858288c56b@mail.gmail.com> X-Emacs-PR-Message: they-closed 2366 X-Emacs-PR-Package: emacs Reply-To: 2366@debbugs.gnu.org Date: Wed, 18 Feb 2009 08:55:15 +0000 Content-Type: multipart/mixed; boundary="----------=_1234947315-11718-1" This is a multi-part message in MIME format... ------------=_1234947315-11718-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: #2366: unexaix.c requires ADDR_CORRECT to build on AIX 5.3 using XL C 10.1 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 2366: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2366 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1234947315-11718-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2366-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. ------------=_1234947315-11718-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Feb 2009 23:24:46 +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 n1HNOg6T005865 for ; Tue, 17 Feb 2009 15:24:44 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZZIw-0000kT-6d for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZZIv-0000jw-6R for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:41 -0500 Received: from [199.232.76.173] (port=42094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZZIv-0000jo-1s for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:41 -0500 Received: from wf-out-1314.google.com ([209.85.200.174]:30436) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZZIu-000114-9S for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2009 18:24:40 -0500 Received: by wf-out-1314.google.com with SMTP id 28so3008894wfc.24 for ; Tue, 17 Feb 2009 15:24:39 -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=zYixfq1DbaecQ47Ie2/XyTWy9cw/rMnn+jUpcGVwyFs=; b=SXNgSRt+i01REHJJ0bBGcL/EiNRVu4Vmc9e3Wvlwea80F8Q0UMtG9ucweDJintaEAV n4XsDEze1edyBuLxTId1Z2jpbN6Il3AwrVHshz8q3yTWkWDFcDmNkAn528X49PSt/zl3 jmr/teSGTObWl7igpVTsOrLixIKDXH/U+dcJs= 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=JTr/1CgVb+0w7Lq1C7bR+GvyYQbuoL9qxB6e0VPVWEwoQxQbbVsaKprGQ3OosahFdO LVNhY0idSoGCrnsBEQjNHUkNgaCLxkTAbO9UA56WF+XmCnOp3FMNWiY+cz9qeg6mUMCA CCnTvU3rknMExSfoD86uI++TMH0ZNcqRPuC9Q= MIME-Version: 1.0 Received: by 10.142.43.7 with SMTP id q7mr3212884wfq.155.1234913078917; Tue, 17 Feb 2009 15:24:38 -0800 (PST) Date: Wed, 18 Feb 2009 01:24:38 +0200 Message-ID: <900b86670902171524g5bec43cemeeb0b4858288c56b@mail.gmail.com> Subject: unexaix.c requires ADDR_CORRECT to build on AIX 5.3 using XL C 10.1 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$ make 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 (Sorry if it's a duplicate, I didn't see my previous mail arrive or on the list). There are some other issues with /home/cmihai/packaging/emacs-cvs/emacs/lisp/international/characters.el and Japanese that keep it from building, but you can get over those for the moment by skipping their build. GNU Emacs 23.0.90.1 (powerpc-ibm-aix5.3.0.0) of 2009-02-18 on phobos -- Mihai Criveti ------------=_1234947315-11718-1--