Package: emacs;
Reported by: Eric LeBlanc <cognefou <at> hotmail.com>
Date: Thu, 8 Dec 2016 18:25:02 UTC
Severity: normal
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25141 in the body.
You can then email your comments to 25141 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Thu, 08 Dec 2016 18:25:02 GMT) Full text and rfc822 format available.Eric LeBlanc <cognefou <at> hotmail.com>
:bug-gnu-emacs <at> gnu.org
.
(Thu, 08 Dec 2016 18:25:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Eric LeBlanc <cognefou <at> hotmail.com> To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org> Subject: Compilation issue on AIX 7.1 and 64 bits Date: Thu, 8 Dec 2016 18:20:45 +0000
[Message part 1 (text/plain, inline)]
Hi, I'm trying to compile emacs 64 bits on AIX 7.1 . Versions tools used: gcc-cpp-6.2.0-1 libgcc-6.2.0-1 gcc-6.2.0-1 binutils-2.25.1-2 glib2-2.48.1-1 glib2-devel-2.48.1-1 libstdc++-6.2.0-1 gmp-6.1.1-1 gmp-devel-6.1.1-1 I configured environment variables like this: export CPPFLAGS=" -I/opt/freeware/include -I/usr/include -maix64" export LDFLAGS="-L/usr/lib64 -L/opt/freeware/lib64 -maix64" export CFLAGS=" -I/opt/freeware/include -I/usr/include -maix64" export OBJECT_MODE=64 Then I did this: ./configure --prefix=/usr/local/emacs --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --with-x=no It went without any issues and I launched gmake: gmake -C lib all gmake[1]: Entering directory '/data/src/emacs-25.1/lib' GEN alloca.h GEN byteswap.h GEN c++defs.h GEN arg-nonnull.h GEN warn-on-use.h GEN dirent.h GEN execinfo.h GEN fcntl.h GEN getopt.h GEN inttypes.h GEN signal.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/select.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN time.h GEN unistd.h gmake all-am gmake[2]: Entering directory '/data/src/emacs-25.1/lib' CC acl-errno-valid.o CC acl-internal.o CC get-permissions.o CC set-permissions.o CC allocator.o CC binary-io.o CC c-ctype.o CC c-strcasecmp.o CC c-strncasecmp.o CC careadlinkat.o CC close-stream.o CC count-one-bits.o CC count-trailing-zeros.o CC md5.o CC sha1.o CC sha256.o CC sha512.o CC dtoastr.o CC dtotimespec.o CC filemode.o CC gettime.o CC pipe2.o CC qcopy-acl.o CC stat-time.o CC strftime.o CC tempname.o CC timespec.o CC timespec-add.o CC timespec-sub.o CC u64.o CC unistd.o CC utimens.o CC openat-die.o CC save-cwd.o CC dup2.o CC execinfo.o CC fcntl.o CC fpending.o CC fstatat.o CC getloadavg.o CC getopt.o CC getopt1.o CC lstat.o CC memrchr.o CC mkostemp.o CC mktime.o CC openat-proc.o CC readlink.o CC readlinkat.o CC secure_getenv.o CC sig2str.o CC stat.o CC symlink.o CC time_rz.o CC timegm.o AR libgnu.a gmake[2]: Leaving directory '/data/src/emacs-25.1/lib' gmake[1]: Leaving directory '/data/src/emacs-25.1/lib' gmake -C lib-src all gmake[1]: Entering directory '/data/src/emacs-25.1/lib-src' CC regex.o CCLD etags CCLD ctags CCLD emacsclient CCLD ebrowse CCLD profile CC pop.o CCLD movemail CCLD hexl CCLD update-game-score CCLD make-docfile gmake[1]: Leaving directory '/data/src/emacs-25.1/lib-src' gmake -C src VCSWITNESS='' all gmake[1]: Entering directory '/data/src/emacs-25.1/src' GEN globals.h CC vm-limit.o CC dispnew.o CC frame.o CC scroll.o CC xdisp.o CC menu.o CC window.o CC charset.o CC coding.o CC category.o CC ccl.o CC character.o CC chartab.o CC bidi.o CC cm.o CC term.o CC terminal.o CC xfaces.o CC emacs.o CC keyboard.o CC macros.o CC keymap.o CC sysdep.o sysdep.c: In function 'stuff_char': sysdep.c:246:36: warning: overflow in implicit constant conversion [-Woverflow] ioctl (fileno (CURTTY()->input), TIOCSTI, &c); ^~~~~~~ sysdep.c: In function 'set_window_size': sysdep.c:1267:21: warning: overflow in implicit constant conversion [-Woverflow] return ioctl (fd, TIOCSWINSZ, &size); ^~~~~~~~~~ CC buffer.o CC filelock.o filelock.c: In function 'get_boot_time_1': filelock.c:264:17: warning: passing argument 1 of 'utmpname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] utmpname (filename); ^~~~~~~~ In file included from filelock.c:59:0: /usr/include/utmp.h:144:13: note: expected 'char *' but argument is of type 'const char *' extern int utmpname(char *); ^~~~~~~~ CC insdel.o CC marker.o CC minibuf.o CC fileio.o CC dired.o CC cmds.o CC casetab.o CC casefiddle.o CC indent.o CC search.o CC regex.o CC undo.o CC alloc.o CC data.o GEN buildobj.h CC doc.o CC editfns.o CC callint.o CC eval.o CC floatfns.o CC fns.o CC font.o CC print.o CC lread.o CC syntax.o CC unexaix.o unexaix.c: In function 'make_hdr': unexaix.c:248:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ERROR1 ("unexec: couldn't find \"%s\" section", (int) _TEXT); ^ unexaix.c:103:49: note: in definition of macro 'ERROR1' #define ERROR1(msg,x) report_error_1 (new, msg, x) ^ unexaix.c:252:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ERROR1 ("unexec: couldn't find \"%s\" section", (int) _DATA); ^ unexaix.c:103:49: note: in definition of macro 'ERROR1' #define ERROR1(msg,x) report_error_1 (new, msg, x) ^ unexaix.c:256:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ERROR1 ("unexec: couldn't find \"%s\" section", (int) _BSS); ^ unexaix.c:103:49: note: in definition of macro 'ERROR1' #define ERROR1(msg,x) report_error_1 (new, msg, x) ^ unexaix.c: In function 'copy_text_and_data': unexaix.c:385:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ptr = (char *) f_ohdr.data_start; ^ unexaix.c: In function 'write_segment': unexaix.c:402:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nwrite = (((int) ptr + UnexBlockSz) & -UnexBlockSz) - (int) ptr; ^ unexaix.c:402:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nwrite = (((int) ptr + UnexBlockSz) & -UnexBlockSz) - (int) ptr; ^ CC bytecode.o CC process.o process.c: In function 'create_process': process.c:1859:19: warning: overflow in implicit constant conversion [-Woverflow] ioctl (forkin, TIOCSETD, &ldisc); ^~~~~~~~ CC gnutls.o CC callproc.o CC region-cache.o CC sound.o CC atimer.o CC doprnt.o CC intervals.o CC textprop.o CC composite.o CC xml.o CC gfilenotify.o CC profiler.o CC decompress.o CC xgselect.o CC terminfo.o CC lastfile.o CC gmalloc.o CC ralloc.o gmake -C ../admin/charsets all gmake[2]: Entering directory '/data/src/emacs-25.1/admin/charsets' GEN ../../etc/charsets/JISX2131.map GEN ../../etc/charsets/ALTERNATIVNYJ.map GEN charsets.stamp gmake[2]: Leaving directory '/data/src/emacs-25.1/admin/charsets' gmake -C ../admin/unidata charscript.el gmake[2]: Entering directory '/data/src/emacs-25.1/admin/unidata' gmake[2]: Nothing to be done for 'charscript.el'. gmake[2]: Leaving directory '/data/src/emacs-25.1/admin/unidata' CCLD temacs ../build-aux/install-sh -c -d ../etc gmake -C ../lisp update-subdirs gmake[2]: Entering directory '/data/src/emacs-25.1/lisp' gmake[2]: Leaving directory '/data/src/emacs-25.1/lisp' ./temacs --batch --load loadup bootstrap Loading loadup.el (source)... Using load-path (/data/src/emacs-25.1/lisp /data/src/emacs-25.1/lisp/emacs-lisp /data/src/emacs-25.1/lisp/language /data/src/emacs-25.1/lisp/international /data/src/emacs-25.1/lisp/textmodes /data/src/emacs-25.1/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version... Loading widget... Loading custom... Loading emacs-lisp/map-ynp... Loading international/mule... Loading international/mule-conf... Loading env... Loading format... Loading bindings... Loading window... Loading files... Loading emacs-lisp/macroexp... Loading cus-face... Loading faces... Loading button... Loading /data/src/emacs-25.1/lisp/loaddefs.el (source)... Loading emacs-lisp/nadvice... Loading emacs-lisp/cl-preloaded... Loading minibuffer... Loading abbrev... Loading simple... Loading help... Loading jka-cmpr-hook... Loading epa-hook... Loading international/mule-cmds... Loading case-table... Loading /data/src/emacs-25.1/lisp/international/charprop.el (source)... Loading international/characters... Loading composite... Loading language/chinese... Loading language/cyrillic... Loading language/indian... Loading language/sinhala... Loading language/english... Loading language/ethiopic... Loading language/european... Loading language/czech... Loading language/slovak... Loading language/romanian... Loading language/greek... Loading language/hebrew... Loading international/cp51932... Loading international/eucjp-ms... Loading language/japanese... Loading language/korean... Loading language/lao... Loading language/tai-viet... Loading language/thai... Loading language/tibetan... Loading language/vietnamese... Loading language/misc-lang... Loading language/utf-8-lang... Loading language/georgian... Loading language/khmer... Loading language/burmese... Loading language/cham... Loading indent... Loading emacs-lisp/cl-generic... Loading frame... Loading startup... Loading term/tty-colors... Loading font-core... Loading facemenu... Loading emacs-lisp/syntax... Loading font-lock... Loading jit-lock... Loading mouse... Loading select... Loading emacs-lisp/timer... Loading isearch... Loading rfn-eshadow... Loading menu-bar... Loading emacs-lisp/lisp... Loading textmodes/page... Loading register... Loading textmodes/paragraphs... Loading progmodes/prog-mode... Loading emacs-lisp/lisp-mode... Loading progmodes/elisp-mode... Loading textmodes/text-mode... Loading textmodes/fill... Loading newcomment... Loading replace... Loading emacs-lisp/tabulated-list... Loading buff-menu... Loading emacs-lisp/float-sup... Loading vc/vc-hooks... Loading vc/ediff-hook... Loading uniquify... Loading electric... Loading emacs-lisp/eldoc... Loading cus-start... Loading tooltip... Loading /data/src/emacs-25.1/lisp/leim/leim-list.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs unexec: couldn't find "ÂEURÃ " section Makefile:736: recipe for target 'bootstrap-emacs' failed gmake[1]: *** [bootstrap-emacs] Error 255 gmake[1]: Leaving directory '/data/src/emacs-25.1/src' Makefile:398: recipe for target 'src' failed gmake: *** [src] Error 2 temacs binary runs well but when I tries to create a emacs binary file it fails with this error message: Dumping under the name emacs unexec: couldn't find "ÂEURÃ " section It seems to be coming from unexaix.c, line 248: if (f_thdr == 0) { ERROR1 ("unexec: couldn't find \"%s\" section", (int) _TEXT); } Thank you Eric
[Message part 2 (text/html, inline)]
Glenn Morris <rgm <at> gnu.org>
to control <at> debbugs.gnu.org
.
(Thu, 08 Dec 2016 18:26:02 GMT) Full text and rfc822 format available.bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Thu, 08 Dec 2016 20:49:02 GMT) Full text and rfc822 format available.Message #10 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Eric LeBlanc <cognefou <at> hotmail.com> To: "25141 <at> debbugs.gnu.org" <25141 <at> debbugs.gnu.org> Subject: Re: Compilation issue on AIX 7.1 and 64 bits Date: Thu, 8 Dec 2016 20:48:39 +0000
[Message part 1 (text/plain, inline)]
Hi, If it could helps: I modified unexaix.c to add this at the top of file: #define __XCOFF64__ 1 And changed this line: auxentry.x_sym.x_fcnary.x_fcn.x_lnnoptr += bias; by auxentry.x_fcn.x_lnnoptr += bias; It worked but generated a huge bootstrap-emacs file, 4GB and is generating this error: [...] Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs 82139 pure bytes used [...] gmake[2]: Entering directory '/data/src/emacs-25.1/leim' GEN ../lisp/leim/leim-list.el exec(): 0509-036 Cannot load program ../src/bootstrap-emacs because of the following errors: 0509-026 System error: There is not enough memory available now. Size of the file: $ ls -l src/bootstrap-emacs -rwxr-xr-x 1 gen01571 staff 4050705370 Dec 08 15:46 src/bootstrap-emacs Thank you
[Message part 2 (text/html, inline)]
bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Fri, 23 Dec 2016 20:29:01 GMT) Full text and rfc822 format available.Message #13 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Eric LeBlanc <cognefou <at> hotmail.com> Cc: 25141 <at> debbugs.gnu.org Subject: Re: Compilation issue on AIX 7.1 and 64 bits Date: Fri, 23 Dec 2016 22:27:38 +0200
> From: Eric LeBlanc <cognefou <at> hotmail.com> > Date: Thu, 8 Dec 2016 20:48:39 +0000 > I modified unexaix.c to add this at the top of file: > > #define __XCOFF64__ 1 > > And changed this line: > > auxentry.x_sym.x_fcnary.x_fcn.x_lnnoptr += bias; > > by > > auxentry.x_fcn.x_lnnoptr += bias; > > It worked but generated a huge bootstrap-emacs file, 4GB and is generating this error: > > [...] > > Finding pointers to doc strings... > Finding pointers to doc strings...done > Dumping under the name emacs > 82139 pure bytes used > [...] > > gmake[2]: Entering directory '/data/src/emacs-25.1/leim' > GEN ../lisp/leim/leim-list.el > exec(): 0509-036 Cannot load program ../src/bootstrap-emacs because of the following errors: > 0509-026 System error: There is not enough memory available now. Can you try the latest emacs-25 branch? Thanks.
bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Sat, 24 Dec 2016 14:06:02 GMT) Full text and rfc822 format available.Message #16 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Eric LeBlanc <cognefou <at> hotmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: "25141 <at> debbugs.gnu.org" <25141 <at> debbugs.gnu.org> Subject: Re: Compilation issue on AIX 7.1 and 64 bits Date: Sat, 24 Dec 2016 14:05:33 +0000
[Message part 1 (text/plain, inline)]
Hi, I did this: mkdir newbuild cd newbuild git clone git://git.savannah.gnu.org/emacs.git cd emacs export CPPFLAGS=" -I/opt/freeware/include -I/usr/include -maix64" export LDFLAGS="-L/usr/lib64 -L/opt/freeware/lib64 -maix64" export CFLAGS=" -I/opt/freeware/include -I/usr/include -maix64" export OBJECT_MODE=64 ./autoconf.sh ./configure --prefix=/usr/local/emacs --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --with-x=no --with-gnutls=no gmake [...] gmake[1]: Entering directory '/data/src/latest/emacs/lisp' gmake[1]: Leaving directory '/data/src/latest/emacs/lisp' ./temacs --batch --load loadup bootstrap Loading loadup.el (source)... Using load-path (/data/src/latest/emacs/lisp /data/src/latest/emacs/lisp/emacs-lisp /data/src/latest/emacs/lisp/language /data/src/latest/emacs/lisp/international /data/src/latest/emacs/lisp/textmodes /data/src/latest/emacs/lisp/vc) Loading emacs-lisp/byte-run (source)... Loading emacs-lisp/backquote (source)... Loading subr (source)... Loading version (source)... Loading widget (source)... Loading custom (source)... Loading emacs-lisp/map-ynp (source)... Loading international/mule (source)... Loading international/mule-conf (source)... Loading env (source)... Loading format (source)... Loading bindings (source)... Loading window (source)... [...] Loading /data/src/latest/emacs/lisp/font-lock.el (source)... Loading /data/src/latest/emacs/lisp/jit-lock.el (source)... Loading /data/src/latest/emacs/lisp/mouse.el (source)... Loading /data/src/latest/emacs/lisp/select.el (source)... Loading /data/src/latest/emacs/lisp/emacs-lisp/timer.el (source)... Loading /data/src/latest/emacs/lisp/isearch.el (source)... Loading /data/src/latest/emacs/lisp/rfn-eshadow.el (source)... Loading /data/src/latest/emacs/lisp/menu-bar.el (source)... Loading /data/src/latest/emacs/lisp/emacs-lisp/lisp.el (source)... Loading /data/src/latest/emacs/lisp/textmodes/page.el (source)... Loading /data/src/latest/emacs/lisp/register.el (source)... Loading /data/src/latest/emacs/lisp/textmodes/paragraphs.el (source)... Loading /data/src/latest/emacs/lisp/progmodes/prog-mode.el (source)... Loading /data/src/latest/emacs/lisp/emacs-lisp/lisp-mode.el (source)... Loading /data/src/latest/emacs/lisp/progmodes/elisp-mode.el (source)... Loading /data/src/latest/emacs/lisp/textmodes/text-mode.el (source)... Loading /data/src/latest/emacs/lisp/textmodes/fill.el (source)... Loading /data/src/latest/emacs/lisp/newcomment.el (source)... Loading /data/src/latest/emacs/lisp/replace.el (source)... Loading /data/src/latest/emacs/lisp/emacs-lisp/tabulated-list.el (source)... Loading /data/src/latest/emacs/lisp/buff-menu.el (source)... Loading /data/src/latest/emacs/lisp/emacs-lisp/float-sup.el (source)... Loading /data/src/latest/emacs/lisp/vc/vc-hooks.el (source)... Loading /data/src/latest/emacs/lisp/vc/ediff-hook.el (source)... Loading /data/src/latest/emacs/lisp/uniquify.el (source)... Loading /data/src/latest/emacs/lisp/electric.el (source)... Loading /data/src/latest/emacs/lisp/emacs-lisp/eldoc.el (source)... Loading /data/src/latest/emacs/lisp/cus-start.el (source)... Loading /data/src/latest/emacs/lisp/tooltip.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs unexec: couldn't find ", " section Makefile:754: recipe for target 'bootstrap-emacs' failed gmake: *** [bootstrap-emacs] Error 255 However, if I try to build in 32 bits: gmake clean export CPPFLAGS=" -I/opt/freeware/include -I/usr/include" export LDFLAGS="-L/opt/freeware/lib -L/usr/lib" export CFLAGS=" -I/opt/freeware/include -I/usr/include" export OBJECT_MODE=32 ./configure --prefix=/usr/local/emacs --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --with-x=no --with-gnutls=no [...] gmake -C ../admin/charsets all gmake[2]: Entering directory '/data/src/latest/emacs/admin/charsets' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/data/src/latest/emacs/admin/charsets' gmake -C ../admin/unidata charscript.el gmake[2]: Entering directory '/data/src/latest/emacs/admin/unidata' gmake[2]: Nothing to be done for 'charscript.el'. gmake[2]: Leaving directory '/data/src/latest/emacs/admin/unidata' CCLD temacs ../build-aux/install-sh -c -d ../etc gmake -C ../lisp update-subdirs gmake[2]: Entering directory '/data/src/latest/emacs/lisp' gmake[2]: Leaving directory '/data/src/latest/emacs/lisp' ./temacs --batch --load loadup bootstrap exec(): 0509-036 Cannot load program ./temacs because of the following errors: 0509-130 Symbol resolution failed for /opt/freeware/lib/libgmodule-2.0.a(libgmodule-2.0.so.0) because: 0509-136 Symbol __dbargs (number 13) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-136 Symbol __dbsubc (number 14) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-136 Symbol __dbsubg (number 15) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-136 Symbol __dbsubn (number 16) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-130 Symbol resolution failed for /opt/freeware/lib/libgobject-2.0.a(libgobject-2.0.so.0) because: 0509-136 Symbol __dbargs (number 12) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-136 Symbol __dbsubc (number 13) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-136 Symbol __dbsubg (number 14) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-136 Symbol __dbsubn (number 15) is not exported from dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). 0509-130 Symbol resolution failed for /opt/freeware/lib/libgio-2.0.a(libgio-2.0.so.0) because: 0509-136 Symbol __dbargs (number 676) is not exported from dependent module /opt/freeware/lib/libgobject-2.0.a(libgobject-2.0.so.0). 0509-136 Symbol __dbsubc (number 677) is not exported from dependent module /opt/freeware/lib/libgobject-2.0.a(libgobject-2.0.so.0). 0509-136 Symbol __dbsubg (number 678) is not exported from dependent module /opt/freeware/lib/libgobject-2.0.a(libgobject-2.0.so.0). 0509-136 Symbol __dbsubn (number 679) is not exported from dependent module /opt/freeware/lib/libgobject-2.0.a(libgobject-2.0.so.0). 0509-130 Symbol resolution failed for /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0) because: 0509-136 Symbol __dbargs (number 187) is not exported from dependent module /opt/freeware/lib/libintl.a(libintl.so.8). 0509-136 Symbol __dbsubc (number 195) is not exported from dependent module /opt/freeware/lib/libintl.a(libintl.so.8). 0509-136 Symbol __dbsubg (number 196) is not exported from dependent module /opt/freeware/lib/libintl.a(libintl.so.8). 0509-136 Symbol __dbsubn (number 197) is not exported from dependent module /opt/freeware/lib/libintl.a(libintl.so.8). 0509-192 Examine .loader section symbols with the 'dump -Tv' command. Makefile:754: recipe for target 'bootstrap-emacs' failed gmake[1]: *** [bootstrap-emacs] Error 255 gmake[1]: Leaving directory '/data/src/latest/emacs/src' Makefile:412: recipe for target 'src' failed gmake: *** [src] Error 2 Thank you Eric ________________________________ From: Eli Zaretskii <eliz <at> gnu.org> Sent: December 23, 2016 3:27 PM To: Eric LeBlanc Cc: 25141 <at> debbugs.gnu.org Subject: Re: Compilation issue on AIX 7.1 and 64 bits > From: Eric LeBlanc <cognefou <at> hotmail.com> > Date: Thu, 8 Dec 2016 20:48:39 +0000 > I modified unexaix.c to add this at the top of file: > > #define __XCOFF64__ 1 > > And changed this line: > > auxentry.x_sym.x_fcnary.x_fcn.x_lnnoptr += bias; > > by > > auxentry.x_fcn.x_lnnoptr += bias; > > It worked but generated a huge bootstrap-emacs file, 4GB and is generating this error: > > [...] > > Finding pointers to doc strings... > Finding pointers to doc strings...done > Dumping under the name emacs > 82139 pure bytes used > [...] > > gmake[2]: Entering directory '/data/src/emacs-25.1/leim' > GEN ../lisp/leim/leim-list.el > exec(): 0509-036 Cannot load program ../src/bootstrap-emacs because of the following errors: > 0509-026 System error: There is not enough memory available now. Can you try the latest emacs-25 branch? Thanks.
[Message part 2 (text/html, inline)]
bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Sat, 24 Dec 2016 16:12:02 GMT) Full text and rfc822 format available.Message #19 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Eric LeBlanc <cognefou <at> hotmail.com> Cc: 25141 <at> debbugs.gnu.org Subject: Re: Compilation issue on AIX 7.1 and 64 bits Date: Sat, 24 Dec 2016 18:11:13 +0200
> From: Eric LeBlanc <cognefou <at> hotmail.com> > CC: "25141 <at> debbugs.gnu.org" <25141 <at> debbugs.gnu.org> > Date: Sat, 24 Dec 2016 14:05:33 +0000 > Finding pointers to doc strings... > Finding pointers to doc strings...done > Dumping under the name emacs > unexec: couldn't find ", " section > Makefile:754: recipe for target 'bootstrap-emacs' failed I guess there's a deeper problem with the 64-bit build on AIX. > ./temacs --batch --load loadup bootstrap > exec(): 0509-036 Cannot load program ./temacs because of the following errors: > 0509-130 Symbol resolution failed for /opt/freeware/lib/libgmodule-2.0.a(libgmodule-2.0.so.0) because: > 0509-136 Symbol __dbargs (number 13) is not exported from > dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). > 0509-136 Symbol __dbsubc (number 14) is not exported from This sounds like some system configuration problem? Are you sure the dynamic linker is picking up the same Glib library whose header files the compiler saw? Do you have another Glib shared libraries installed somewhere?
bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Sun, 25 Dec 2016 07:32:02 GMT) Full text and rfc822 format available.Message #22 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Paul Eggert <eggert <at> cs.ucla.edu> To: Eric LeBlanc <cognefou <at> hotmail.com> Cc: 25141 <at> debbugs.gnu.org Subject: Re: Compilation issue on AIX 7.1 and 64 bits Date: Sat, 24 Dec 2016 23:31:04 -0800
As far as I know Emacs has never worked on 64-bit AIX. We have plans to implement portable undumping one way or another, which should get it working. In the meantime I suggest doing a 32-bit build instead.
bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Sun, 25 Dec 2016 14:43:02 GMT) Full text and rfc822 format available.Message #25 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Eric LeBlanc <cognefou <at> hotmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: "25141 <at> debbugs.gnu.org" <25141 <at> debbugs.gnu.org> Subject: Re: Compilation issue on AIX 7.1 and 64 bits Date: Sun, 25 Dec 2016 14:42:41 +0000
[Message part 1 (text/plain, inline)]
Hi, Probably, but I won't count too much on 32 bits binary because we tried two RPM emacs packages, one from IBM website and the other from BULLFREEWARE website and they both ended with a "Segmentation Fault" with a core dump when we execute "emacs". I also played with LDR_CNTRL variable without any success. It seems that AIX 7.1 is very memory strict with 32 bits binaries and I'm sure that "unexec" is doing some memory dump to the final emacs binary that AIX 7.1 doesn't like. That's why I'm tyring to compile in 64 bits. For the moment, "temacs" in 64 bits works well but slow to start. I'm stuck at 'unexaix' operation and I'm not an expert in XCOFF binary file. I know that 'unexaix.c' isn't adapted for 64 bits binaries and I tried to make some modifications as I wrote earlier by enabling __XCOFF64__ in "unexaix.c" source code, without success since it generates a huge 4GB emacs binary, but I know I'm not so far to fix it. Thank you Eric ________________________________ From: Eli Zaretskii <eliz <at> gnu.org> Sent: December 24, 2016 11:11 AM To: Eric LeBlanc Cc: 25141 <at> debbugs.gnu.org Subject: Re: Compilation issue on AIX 7.1 and 64 bits > From: Eric LeBlanc <cognefou <at> hotmail.com> > CC: "25141 <at> debbugs.gnu.org" <25141 <at> debbugs.gnu.org> > Date: Sat, 24 Dec 2016 14:05:33 +0000 > Finding pointers to doc strings... > Finding pointers to doc strings...done > Dumping under the name emacs > unexec: couldn't find ", " section > Makefile:754: recipe for target 'bootstrap-emacs' failed I guess there's a deeper problem with the 64-bit build on AIX. > ./temacs --batch --load loadup bootstrap > exec(): 0509-036 Cannot load program ./temacs because of the following errors: > 0509-130 Symbol resolution failed for /opt/freeware/lib/libgmodule-2.0.a(libgmodule-2.0.so.0) because: > 0509-136 Symbol __dbargs (number 13) is not exported from > dependent module /opt/freeware/lib/libglib-2.0.a(libglib-2.0.so.0). > 0509-136 Symbol __dbsubc (number 14) is not exported from This sounds like some system configuration problem? Are you sure the dynamic linker is picking up the same Glib library whose header files the compiler saw? Do you have another Glib shared libraries installed somewhere?
[Message part 2 (text/html, inline)]
Glenn Morris <rgm <at> gnu.org>
to control <at> debbugs.gnu.org
.
(Fri, 03 Feb 2017 18:42:02 GMT) Full text and rfc822 format available.bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Sat, 02 Sep 2017 12:13:02 GMT) Full text and rfc822 format available.Message #30 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Eric LeBlanc <cognefou <at> hotmail.com> Cc: 25141 <at> debbugs.gnu.org Subject: Re: Compilation issue on AIX 7.1 and 64 bits Date: Sat, 02 Sep 2017 15:11:43 +0300
unblock 24655 by 25141 thanks > From: Eric LeBlanc <cognefou <at> hotmail.com> > Date: Sun, 25 Dec 2016 14:42:41 +0000 > Cc: "25141 <at> debbugs.gnu.org" <25141 <at> debbugs.gnu.org> > > Probably, but I won't count too much on 32 bits binary because we tried two RPM emacs packages, one from > IBM website and the other from BULLFREEWARE website and they both ended with a "Segmentation Fault" > with a core dump when we execute "emacs". > > I also played with LDR_CNTRL variable without any success. > > It seems that AIX 7.1 is very memory strict with 32 bits binaries and I'm sure that "unexec" is doing some > memory dump to the final emacs binary that AIX 7.1 doesn't like. > > That's why I'm tyring to compile in 64 bits. > > For the moment, "temacs" in 64 bits works well but slow to start. I'm stuck at 'unexaix' operation and I'm not > an expert in XCOFF binary file. I know that 'unexaix.c' isn't adapted for 64 bits binaries and I tried to make > some modifications as I wrote earlier by enabling __XCOFF64__ in "unexaix.c" source code, without success > since it generates a huge 4GB emacs binary, but I know I'm not so far to fix it. Without any additional comments during the last 8 months, and AIX being a platform of secondary importance, I don't see why this bug should block the release of Emacs 26.1. If you have any news on these issues, please tell. Thanks.
Eli Zaretskii <eliz <at> gnu.org>
to control <at> debbugs.gnu.org
.
(Sat, 02 Sep 2017 12:13:02 GMT) Full text and rfc822 format available.bug-gnu-emacs <at> gnu.org
:bug#25141
; Package emacs
.
(Wed, 12 Aug 2020 00:26:02 GMT) Full text and rfc822 format available.Message #35 received at 25141 <at> debbugs.gnu.org (full text, mbox):
From: Stefan Kangas <stefan <at> marxist.se> To: Paul Eggert <eggert <at> cs.ucla.edu> Cc: 25141 <at> debbugs.gnu.org, Eric LeBlanc <cognefou <at> hotmail.com> Subject: Re: bug#25141: Compilation issue on AIX 7.1 and 64 bits Date: Tue, 11 Aug 2020 17:25:08 -0700
Paul Eggert <eggert <at> cs.ucla.edu> writes: > As far as I know Emacs has never worked on 64-bit AIX. We have plans to > implement portable undumping one way or another, which should get it working. In > the meantime I suggest doing a 32-bit build instead. So should this work now that we have the portable dumper? Anyone who could test it, or who feels confident to say something about it? Best regards, Stefan Kangas
Paul Eggert <eggert <at> cs.ucla.edu>
:Eric LeBlanc <cognefou <at> hotmail.com>
:Message #40 received at 25141-done <at> debbugs.gnu.org (full text, mbox):
From: Paul Eggert <eggert <at> cs.ucla.edu> To: Stefan Kangas <stefan <at> marxist.se> Cc: 25141-done <at> debbugs.gnu.org, Eric LeBlanc <cognefou <at> hotmail.com> Subject: Re: bug#25141: Compilation issue on AIX 7.1 and 64 bits Date: Tue, 11 Aug 2020 18:17:15 -0700
On 8/11/20 5:25 PM, Stefan Kangas wrote: > So should this work now that we have the portable dumper? Yes, 64 bits works on AIX now, due to the portable dumper (I hacked on that a bit last year to get it to work on AIX). I double-checked just now by building on AIX 7.1 via: export OBJECT_MODE=64 # not sure this is needed mkdir build cd build ../emacs-27.1/configure CC='gcc -maix64' --with-jpeg=ifavailable --with-png=ifavailable --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable gmake This was with GCC 4.8.1 (in /opt/freeware/bin/gcc). There were some compile-time warnings, all bogus that I could see, and I could run Emacs just fine after the build. The command 'file src/emacs' reports: src/emacs: 64-bit XCOFF executable or object module not stripped Since the 64-bit build is working on AIX 7.1 now, I'm closing the bug report.
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Wed, 09 Sep 2020 11:24:09 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.