unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric LeBlanc <cognefou@hotmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "25141@debbugs.gnu.org" <25141@debbugs.gnu.org>
Subject: bug#25141: Compilation issue on AIX 7.1 and 64 bits
Date: Sat, 24 Dec 2016 14:05:33 +0000	[thread overview]
Message-ID: <YQXPR01MB019717CD8E9EA087D28096EAD3940@YQXPR01MB0197.CANPRD01.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <83inqaz8zp.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 9052 bytes --]

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@gnu.org>
Sent: December 23, 2016 3:27 PM
To: Eric LeBlanc
Cc: 25141@debbugs.gnu.org
Subject: Re: Compilation issue on AIX 7.1 and 64 bits

> From: Eric LeBlanc <cognefou@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.

[-- Attachment #2: Type: text/html, Size: 13408 bytes --]

  reply	other threads:[~2016-12-24 14:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 18:20 bug#25141: Compilation issue on AIX 7.1 and 64 bits Eric LeBlanc
2016-12-08 20:48 ` Eric LeBlanc
2016-12-23 20:27   ` Eli Zaretskii
2016-12-24 14:05     ` Eric LeBlanc [this message]
2016-12-24 16:11       ` Eli Zaretskii
2016-12-25 14:42         ` Eric LeBlanc
2017-09-02 12:11           ` Eli Zaretskii
2016-12-25  7:31 ` Paul Eggert
2020-08-12  0:25   ` Stefan Kangas
2020-08-12  1:17     ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YQXPR01MB019717CD8E9EA087D28096EAD3940@YQXPR01MB0197.CANPRD01.PROD.OUTLOOK.COM \
    --to=cognefou@hotmail.com \
    --cc=25141@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).