From: Eric LeBlanc <cognefou@hotmail.com>
To: 25141@debbugs.gnu.org
Subject: bug#25141: Compilation issue on AIX 7.1 and 64 bits
Date: Thu, 8 Dec 2016 18:20:45 +0000 [thread overview]
Message-ID: <YQXPR01MB0197EB54DE9035C650DB1AE9D3840@YQXPR01MB0197.CANPRD01.PROD.OUTLOOK.COM> (raw)
[-- Attachment #1: Type: text/plain, Size: 12078 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 22915 bytes --]
next reply other threads:[~2016-12-08 18:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 18:20 Eric LeBlanc [this message]
2016-12-08 20:48 ` bug#25141: Compilation issue on AIX 7.1 and 64 bits Eric LeBlanc
2016-12-23 20:27 ` Eli Zaretskii
2016-12-24 14:05 ` Eric LeBlanc
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YQXPR01MB0197EB54DE9035C650DB1AE9D3840@YQXPR01MB0197.CANPRD01.PROD.OUTLOOK.COM \
--to=cognefou@hotmail.com \
--cc=25141@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.