|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#17835: closed (Emacs 24.3 not compiling on Red Hat Enterprise Linux 5) |
Date: | Tue, 24 Jun 2014 21:05:02 +0000 |
Your message dated Tue, 24 Jun 2014 22:54:27 +0200 with message-id <address@hidden> and subject line Re: bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 has caused the debbugs.gnu.org bug report #17835, regarding Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 17835: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17835 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 Date: Sun, 22 Jun 2014 23:36:46 +0200 When compiling Emacs 24.3 on Red Hat Enterprise Linux 5.4 the compilation crashes with a segmentation fault from temacs, see snippet from make output below. Configure was run with:./configure --prefix=/users/abb/temp/install_emacs24_3
Emacs 23.3 works fine. Further down shown output from Emacs 24.3 configure output.address@hidden 10.0dQ ~$ rpm -q redhat-releaseredhat-release-5Client-5.4.0.3--------------------------------------------------------------------------address@hidden 10.0dQ ~/temp/emacs-24.3$ make...gcc -std=gnu99 -nostdlib -Demacs -I. -I/users/abb/temp/emacs-24.3/src -I../lib -I/users/abb/temp/emacs-24.3/src/../lib -I/import/vnetest/swrep/releases/2009/include/gtk-2.0 -I/import/vnetest/swrep/releases/2009/lib/gtk-2.0/include -I/import/vnetest/swrep/releases/2009/include/atk-1.0 -I/import/vnetest/swrep/releases/2009/include/cairo -I/import/vnetest/swrep/releases/2009/include/pango-1.0 -I/import/vnetest/swrep/releases/2009/include/glib-2.0 -I/import/vnetest/swrep/releases/2009/lib/glib-2.0/include -I/import/vnetest/swrep/releases/2009/include/freetype2 -I/import/vnetest/swrep/releases/2009/include -I/import/vnetest/swrep/releases/2009/include/libpng12 -I/import/vnetest/swrep/releases/2009/include -I/import/vnetest/swrep/releases/2009/include/freetype2 -I/import/vnetest/swrep/releases/2009/include -I/import/vnetest/swrep/releases/2009/include/alsa -I/import/vnetest/swrep/releases/2009/include/librsvg-2 -I/import/vnetest/swrep/releases/2009/include/glib-2.0 -I/import/vnetest/swrep/releases/2009/lib/glib-2.0/include -I/import/vnetest/swrep/releases/2009/include/gtk-2.0 -I/import/vnetest/swrep/releases/2009/include -I/import/vnetest/swrep/releases/2009/include/libxml2 -I/import/vnetest/swrep/releases/2009/include/dbus-1.0 -I/import/vnetest/swrep/releases/2009/lib/dbus-1.0/include -DORBIT2=1 -pthread -I/import/vnetest/swrep/releases/2009/include/gconf/2 -I/import/vnetest/swrep/releases/2009/include/orbit-2.0 -I/import/vnetest/swrep/releases/2009/include/glib-2.0 -I/import/vnetest/swrep/releases/2009/lib/glib-2.0/include -I/import/vnetest/swrep/releases/2009/include/glib-2.0 -I/import/vnetest/swrep/releases/2009/lib/glib-2.0/include -I/import/vnetest/swrep/releases/2009/include/freetype2 -I/import/vnetest/swrep/releases/2009/include -I/import/vnetest/swrep/releases/2009/include -I/import/vnetest/swrep/releases/2009/include/freetype2 -I/import/vnetest/swrep/releases/2009/include -MMD -MF deps/.d -MP -g3 -O2 -Wl,-znocombreloc \-o temacs pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o xgselect.o gtkutil.o dbusbind.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 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 unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o profiler.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o terminfo.o lastfile.o vm-limit.o ../lib/libgnu.a -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -L/import/vnetest/swrep/releases/2009/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lSM -lICE -lX11 -lXrender -L/import/vnetest/swrep/releases/2009/lib -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 -L/import/vnetest/swrep/releases/2009/lib -lasound -L/import/vnetest/swrep/releases/2009/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/import/vnetest/swrep/releases/2009/lib -lWand -lMagick -lrt -lrt -L/import/vnetest/swrep/releases/2009/lib -ldbus-1 -L/import/vnetest/swrep/releases/2009/lib -lxml2 -lz -lm -lncurses -pthread -L/import/vnetest/swrep/releases/2009/lib -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/import/vnetest/swrep/releases/2009/lib -lgobject-2.0 -lglib-2.0 -lselinux -L/import/vnetest/swrep/releases/2009/lib -lfreetype -lz -L/import/vnetest/swrep/releases/2009/lib -lfontconfig -Wl,--rpath -Wl,/import/vnetest/swrep/releases/2009/lib -L/import/vnetest/swrep/releases/2009/lib -lotf -lfreetype -lz -lpthread -lm -lgcc -lc -lgcc /usr/lib64/crtn.ofns.o: In function `sxhash_float':/users/abb/temp/emacs-24.3/src/fns.c:4139: warning: memset used with constant zero length parameter; this could be due to transposed parameters/users/abb/temp/emacs-24.3/src/fns.c:4139: warning: memset used with constant zero length parameter; this could be due to transposed parameters/users/abb/temp/emacs-24.3/src/fns.c:4139: warning: memset used with constant zero length parameter; this could be due to transposed parameters/import/vne/bin/ld: warning: i386:x86-64 architecture of input file `/usr/lib64/crt1.o' is incompatible with i386 output/import/vne/bin/ld: warning: i386:x86-64 architecture of input file `/usr/lib64/crti.o' is incompatible with i386 output/import/vne/bin/ld: warning: i386:x86-64 architecture of input file `/usr/lib64/crtn.o' is incompatible with i386 outputtest "no" = "yes" || \test "X" = X || -r temacscd ../lisp; make -w update-subdirsmake[2]: Entering directory `/users/abb/temp/emacs-24.3/lisp'cd /users/abb/temp/emacs-24.3/lisp; subdirs=`find . -type d -print`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */cedet* ) ;; *) wins="$wins $file" ;; esac; done; \for file in $wins; do \/users/abb/temp/emacs-24.3/build-aux/update-subdirs $file; \done;make[2]: Leaving directory `/users/abb/temp/emacs-24.3/lisp'if test "no" = "yes"; then \rm -f bootstrap-emacs; \ln temacs bootstrap-emacs; \else \`/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \test "X" = X || -zex emacs; \mv -f emacs bootstrap-emacs; \fi/bin/sh: line 7: 31736 Segmentation fault `/bin/pwd`/temacs --batch --load loadup bootstrapmake[1]: *** [bootstrap-emacs] Error 1make[1]: Leaving directory `/users/abb/temp/emacs-24.3/src'make: *** [src] Error 2--------------------------------------------------------------------------address@hidden 10.0dQ ~/temp/emacs-24.3$ ./configure --prefix=/users/abb/temp/install_emacs24_3 | tee configure.log...Configured for `x86_64-unknown-linux-gnu'.Where should the build process find the source code? /users/abb/temp/emacs-24.3What compiler should emacs be built with? gcc -std=gnu99 -g3 -O2Should Emacs use the GNU version of malloc? yes(Using Doug Lea's new malloc from the GNU C Library.)Should Emacs use a relocating allocator for buffers? noShould Emacs use mmap(2) for buffer allocation? noWhat window system should Emacs use? x11What toolkit should Emacs use? GTK2Where do we find X Windows header files? Standard dirsWhere do we find X Windows libraries? Standard dirsDoes Emacs use -lXaw3d? noDoes Emacs use -lXpm? yesDoes Emacs use -ljpeg? yesDoes Emacs use -ltiff? yesDoes Emacs use a gif library? yes -lgifDoes Emacs use -lpng? yesDoes Emacs use -lrsvg-2? yesDoes Emacs use imagemagick? yesDoes Emacs use -lgpm? noDoes Emacs use -ldbus? yesDoes Emacs use -lgconf? yesDoes Emacs use GSettings? noDoes Emacs use -lselinux? yesDoes Emacs use -lgnutls? noDoes Emacs use -lxml2? yesDoes Emacs use -lfreetype? yesDoes Emacs use -lm17n-flt? noDoes Emacs use -lotf? yesDoes Emacs use -lxft? yesDoes Emacs use toolkit scroll bars? yes...--
Axel B. Bregnsbo
address@hidden
+45 61782267
--- End Message ---
--- Begin Message ---Subject: Re: bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 Date: Tue, 24 Jun 2014 22:54:27 +0200 Hi Glenn,In my PATH (/import/vne/bin) I pointed to a 32-bit 'ld' version, but was compiling on a 64-bit REHL5 machine. After removing /import/vne/bin from PATH compilation went fine. Thanks for your quick response. You can close this bug.Kind regards,AxelPS: Thanks UliOn Mon, Jun 23, 2014 at 9:12 AM, Uli Menzebach <address@hidden> wrote:
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.Hi Axel,
/import/vne (RHEL5 based release) is a 32bit recompile PLUS extensions and optional patches. Sharing /usr/lib except the most basic libraries would defeat the purpose of vne. Both library locations need to stay separate.
The name /import/vnetest has historical reasons btw. .
And yes, the /import/vne tree is 32bit *only* (must still support 32bit boxes). Don’t mix things up when you compile things :D
Make sure you determine exactly which executable get called. Never rely on the dreaded PATH variable in a Makefile … it will come back and bite you in the rear.
Like below: you called the wrong ld binary (32bit from vne tree) when you really should have called the local 64bit version.
In my opinion it is best to declare variables for binaries and libraries with their full path.
IF you want a “local” compilation, it is a good idea to remove /import/vne/bin from the PATH variable in the running shell (plus “hash -r” in bash or “rehash” in tcsh) before you run ./configure ….
Also make sure your LD_LIBRARY_PATH is cleared.
Hope this helps a bit,
Uli
From: Axel Bregnsbo [mailto:address@hidden]
Sent: Monday, June 23, 2014 8:57 AM
To: Uli Menzebach
Subject: Fwd: bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5
Hi Uli,
See below for Emacs 24.3 bug report to FSF. BTW: could you give a short explanation for /import/vnetest/. Why is this not the standard /usr/lib/ location? Is it because you want to avoid duplicating binary files to each Linux server?
Kind regards,
Axel
---------- Forwarded message ----------
From: Glenn Morris <address@hidden>
Date: Mon, Jun 23, 2014 at 2:21 AM
Subject: Re: bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5
To: Axel Bregnsbo <address@hidden>
Cc: address@hidden
BTW, 24.3 builds fine for me on RHEL 5.10 x86_64.
I don't know what's going on with things like
/import/vne/bin/ld: warning: i386:x86-64 architecture of input file
`/usr/lib64/crt1.o' is incompatible with i386 output
in your build. You seem to have an entire separate tree of stuff in
/import/vnetest?
--
Axel B. Bregnsbo
address@hidden
+45 61782267--
Axel B. Bregnsbo
address@hidden
+45 61782267
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |