bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25141: Compilation issue on AIX 7.1 and 64 bits


From: Eric LeBlanc
Subject: bug#25141: Compilation issue on AIX 7.1 and 64 bits
Date: Sat, 24 Dec 2016 14:05:33 +0000

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]