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

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

Re: Failure to build on x86_84


From: Jan Djärv
Subject: Re: Failure to build on x86_84
Date: Mon, 16 Oct 2006 16:24:21 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060913)



address@hidden skrev:
I have just attempted to build emacs22 on a AMD64x2 machine, SuSE10.1 Linux

The configuration is

./configure --with-x-toolkit=yes --with-xpm --with-jpeg --with-tiff
--with-gif --with-png --with-x

It build OK, but when attempting to run is seg faults.  Not build with
-g so gdb gives very little information.

What version of gcc are you running? I run on x86_64 every day Ubuntu and Fedora Core 5) with no problems, admittedly on a single core CPU.


I did previously try with --with-x-toolkit=gtk and noticed there is a
non-64bit clean section

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_GTK  -I.
-I/bigdisk/jpff/GNU_21/emacs-22.0.50/src -D_BSD_SOURCE -I/usr/X11R6/include
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include
-I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib64/gtk-2.0/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib64/glib-2.0/include -I/usr/include/alsa -g -O2
-Wno-pointer-sign  gtkutil.c
gtkutil.c: In function %G�%@@~Xxg_tool_bar_button_cb%G�%@@~Y:
gtkutil.c:3366: warning: cast to pointer from integer of different size
gtkutil.c: In function %G�%@@~Xxg_tool_bar_callback%G�%@@~Y:
gtkutil.c:3378: warning: cast from pointer to integer of different size


Those warnings are harmless because one says int => pointer and the other says pointer => int. I store an int in a pointer and then retreive it, so there is no information loss. I have eliminated those warnings anyway.

But your output from Gcc looks funny. Does it really look like that? May be a Suse problem.

Please recompile with -g and see if you can catch the error in the debugger.

        Jan D.




reply via email to

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