* bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 @ 2014-06-22 21:36 Axel Bregnsbo 2014-06-23 0:07 ` Glenn Morris 0 siblings, 1 reply; 4+ messages in thread From: Axel Bregnsbo @ 2014-06-22 21:36 UTC (permalink / raw) To: 17835 [-- Attachment #1: Type: text/plain, Size: 8510 bytes --] 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. abb@backend17 10.0dQ ~ $ rpm -q redhat-release redhat-release-5Client-5.4.0.3 -------------------------------------------------------------------------- abb@backend17 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.o fns.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 output test "no" = "yes" || \ test "X" = X || -r temacs cd ../lisp; make -w update-subdirs make[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 bootstrap make[1]: *** [bootstrap-emacs] Error 1 make[1]: Leaving directory `/users/abb/temp/emacs-24.3/src' make: *** [src] Error 2 -------------------------------------------------------------------------- abb@backend17 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.3 What compiler should emacs be built with? gcc -std=gnu99 -g3 -O2 Should 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? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK2 Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use -lpng? yes Does Emacs use -lrsvg-2? yes Does Emacs use imagemagick? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lgconf? yes Does Emacs use GSettings? no Does Emacs use -lselinux? yes Does Emacs use -lgnutls? no Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? no Does Emacs use -lotf? yes Does Emacs use -lxft? yes Does Emacs use toolkit scroll bars? yes ... -- Axel B. Bregnsbo bregnsbo@gmail.com +45 61782267 [-- Attachment #2: Type: text/html, Size: 10231 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 2014-06-22 21:36 bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 Axel Bregnsbo @ 2014-06-23 0:07 ` Glenn Morris 2014-06-23 0:21 ` Glenn Morris 0 siblings, 1 reply; 4+ messages in thread From: Glenn Morris @ 2014-06-23 0:07 UTC (permalink / raw) To: Axel Bregnsbo; +Cc: 17835 Thanks for the report. Please could you try: http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.3.91.tar.xz and say how that goes? ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 2014-06-23 0:07 ` Glenn Morris @ 2014-06-23 0:21 ` Glenn Morris [not found] ` <CAAk4xMZDzmizdp7meJ84x4hybxdt+YR_HYgsvyZzuG-arSh8DQ@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Glenn Morris @ 2014-06-23 0:21 UTC (permalink / raw) To: Axel Bregnsbo; +Cc: 17835 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? ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAAk4xMZDzmizdp7meJ84x4hybxdt+YR_HYgsvyZzuG-arSh8DQ@mail.gmail.com>]
[parent not found: <E28E7EB317AAFE4396ECB0EE4454B46B0246E13324@mbox-txa4.vitesse.com>]
* bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 [not found] ` <E28E7EB317AAFE4396ECB0EE4454B46B0246E13324@mbox-txa4.vitesse.com> @ 2014-06-24 20:54 ` Axel Bregnsbo 0 siblings, 0 replies; 4+ messages in thread From: Axel Bregnsbo @ 2014-06-24 20:54 UTC (permalink / raw) To: rgm; +Cc: Uli Menzebach [-- Attachment #1: Type: text/plain, Size: 3284 bytes --] 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, Axel PS: Thanks Uli On Mon, Jun 23, 2014 at 9:12 AM, Uli Menzebach <menze@vitesse.com> wrote: > 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/vne*test* 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:bregnsbo@gmail.com] > *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* <rgm@gnu.org> > 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 <bregnsbo@gmail.com> > Cc: 17835@debbugs.gnu.org > > > > 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 > bregnsbo@gmail.com > +45 61782267 > 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. > -- Axel B. Bregnsbo bregnsbo@gmail.com +45 61782267 [-- Attachment #2: Type: text/html, Size: 7156 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-24 20:54 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-06-22 21:36 bug#17835: Emacs 24.3 not compiling on Red Hat Enterprise Linux 5 Axel Bregnsbo 2014-06-23 0:07 ` Glenn Morris 2014-06-23 0:21 ` Glenn Morris [not found] ` <CAAk4xMZDzmizdp7meJ84x4hybxdt+YR_HYgsvyZzuG-arSh8DQ@mail.gmail.com> [not found] ` <E28E7EB317AAFE4396ECB0EE4454B46B0246E13324@mbox-txa4.vitesse.com> 2014-06-24 20:54 ` Axel Bregnsbo
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).