* bug#637: 23.0.60; configure using faulty defaults, causing failure to build temacs?
@ 2008-08-01 8:37 Peter Dyballa
0 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2008-08-01 8:37 UTC (permalink / raw)
To: emacs-pretest-bug
Hello!
When I configure the X11 client under Mac OS X 10.4.11 as:
./configure --without-sound --without-pop --with-dbus --with-libotf
--with-x-toolkit=athena --enable-locallisppath=/Library/Application\
Support/Emacs/calendar23:/Library/Application\ Support/Emacs/caml:/
Library/Application\ Support/Emacs:/sw/share/emacs21/site-lisp/elib
PKG_CONFIG_PATH=/sw/lib/freetype219/lib/pkgconfig:/sw/lib/fontconfig2/
lib/pkgconfig:/sw/lib/qt4-x11/lib/pkgconfig:/sw/lib/pkgconfig:/sw/
share/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/
X11R6/lib/pkgconfig CFLAGS="-ggdb -gfull -H -Wno-pointer-sign -
bind_at_load -pipe -fPIC -mcpu=7450 -mtune=7450 -mno-powerpc64 -fast -
mpim-altivec -ftree-vectorize -fno-crossjumping" CPPFLAGS="-no-cpp-
precomp -I/sw/include -I/usr/local/include -idirafter /usr/X11R6/
include" LDFLAGS="-bind_at_load -dead_strip -multiply_defined
suppress -L/sw/lib/ncurses -L/sw/lib -L/usr/local/lib -L/usr/X11R6/lib"
in the end this command is executed to build temacs:
gcc -I/sw/include -L/sw/lib -prebind -Xlinker -headerpad -Xlinker
690 -bind_at_load -dead_strip -multiply_defined suppress -L/sw/lib/
ncurses -L/sw/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -
o temacs pre-crt0.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
cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o
fontset.o xsmfns.o fringe.o image.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 filemode.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
unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o
atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o
md5.o xfont.o ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o
widget.o ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lSM
-lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/
fontconfig2/lib -L/usr/X11R6/lib -lXft -lfreetype -lXrender -
lfontconfig -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -
lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/sw/lib -ldbus-1 -lresolv -
lncurses -L/sw/lib/freetype219/lib -L/sw/lib -Wl,-
framework,CoreServices -Wl,-framework,ApplicationServices -lotf -
lfreetype -lz
The part "-Wl,-framework,CoreServices -Wl,-
framework,ApplicationServices" looks suspicious to me. It can be the
cause for the following in the *compilation* buffer:
cd ../lisp; make -k update-subdirs
wd=.../emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for
file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* |
*/.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
for file in $wins; do \
.../emacs/lisp/../update-subdirs $file; \
done;
`/bin/pwd`/temacs --batch --load loadup bootstrap
make[2]: *** [bootstrap-emacs] Bus error (core dumped)
make[2]: Target `all' not remade because of errors.
make[1]: *** [src] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [bootstrap] Error 2
--
Greetings
Pete
A morning without coffee is like something without something else.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#637: 23.0.60; configure using faulty defaults, causing failure to build temacs?
@ 2008-08-03 14:02 Peter Dyballa
2008-08-03 14:22 ` Peter Dyballa
0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2008-08-03 14:02 UTC (permalink / raw)
To: 637
Hello!
I tried to find out how it comes that Mac OS X framworks are getting
used. They are introduced from Fink's libotf.pc and freetype2.pc.
Resetting PKG_CONFIG_PATH I could avoid using the two PC files.
Temacs was built:
gcc -I/sw/include -L/sw/lib -prebind -Xlinker -headerpad -Xlinker
690 -multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib -L/usr/
local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -o temacs pre-crt0.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 cm.o term.o
terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o
xsmfns.o fringe.o image.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 filemode.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 unexmacosx.o
bytecode.o process.o callproc.o region-cache.o sound.o atimer.o
doprnt.o strftime.o intervals.o textprop.o composite.o md5.o xfont.o
ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o widget.o ../lwlib/
liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lSM -lICE -lXext -ltiff -
ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/fontconfig2/lib -L/
usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig -L/sw/lib -
lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -
lintl -liconv -L/sw/lib -ldbus-1 -lresolv -lncurses
(and also in another try without -L/sw/lib/fontconfig2/lib).
Temacs died both times with:
cd ../lisp; make -k update-subdirs
wd=.../emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for
file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* |
*/.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
for file in $wins; do \
.../emacs/lisp/../update-subdirs $file; \
done;
`/bin/pwd`/temacs --batch --load loadup bootstrap
make[1]: *** [bootstrap-emacs] Bus error
make[1]: Target `all' not remade because of errors.
make: *** [src] Error 2
make: Target `all' not remade because of errors.
Both times temacs was using these libraries:
/sw/lib/libdbus-1.3.dylib (compatibility version 6.0.0, current
version 6.0.0)
/sw/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 1201.0.0,
current version 1201.10.0)
/sw/lib/libgif.4.dylib (compatibility version 6.0.0, current version
6.4.0)
/sw/lib/libglib-2.0.0.dylib (compatibility version 1401.0.0, current
version 1401.6.0)
/sw/lib/libgmodule-2.0.0.dylib (compatibility version 1401.0.0,
current version 1401.6.0)
/sw/lib/libgobject-2.0.0.dylib (compatibility version 1401.0.0,
current version 1401.6.0)
/sw/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
/sw/lib/libintl.3.dylib (compatibility version 8.0.0, current
version 8.3.0)
/sw/lib/libjpeg.62.dylib (compatibility version 63.0.0, current
version 63.0.0)
/sw/lib/libpng12.0.dylib (compatibility version 30.0.0, current
version 30.0.0)
/sw/lib/librsvg-2.2.dylib (compatibility version 23.0.0, current
version 23.0.0)
/sw/lib/libtiff.3.dylib (compatibility version 12.0.0, current
version 12.2.0)
/sw/lib/libXaw3d.7.dylib (compatibility version 7.0.0, current
version 7.0.0)
/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,
current version 5.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version
92.0.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
version 369.5.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.11)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
/usr/X11R6/lib/libfontconfig.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
/usr/X11R6/lib/libfreetype.6.dylib (compatibility version 6.3.0,
current version 6.3.0)
/usr/X11R6/lib/libICE.6.dylib (compatibility version 6.3.0, current
version 6.3.0)
/usr/X11R6/lib/libSM.6.dylib (compatibility version 6.0.0, current
version 6.0.0)
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current
version 6.2.0)
/usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current
version 6.4.0)
/usr/X11R6/lib/libXft.2.dylib (compatibility version 2.1.0, current
version 2.1.0)
/usr/X11R6/lib/libXmu.6.dylib (compatibility version 6.2.0, current
version 6.2.0)
/usr/X11R6/lib/libXpm.4.dylib (compatibility version 4.11.0, current
version 4.11.0)
/usr/X11R6/lib/libXrender.1.dylib (compatibility version 1.2.0,
current version 1.2.0)
/usr/X11R6/lib/libXt.6.dylib (compatibility version 6.0.0, current
version 6.0.0)
I loaded temacs into gdb, set its arguments to '-batch --load loadup
bootstrap' and let it run:
Starting program: .../emacs/src/temacs --batch --load loadup bootstrap
Reading symbols for shared libraries ..++++++++++++
+................................................+.++.+
+................+++....+.....+.........++ done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000c
0x900038cc in malloc_zone_malloc ()
'bt full' gives:
#0 0x900038cc in malloc_zone_malloc ()
No symbol table info available.
#1 0x0023ecf0 in unexec_malloc (size=20) at unexmacosx.c:1266
ptr = <value temporarily unavailable, due to optimizations>
#2 0x001c558c in xmalloc (size=20) at alloc.c:762
val = <value temporarily unavailable, due to optimizations>
#3 0x00144950 in sort_args (argc=5, argv=0xbfffe4c0) at emacs.c:1820
new = <value temporarily unavailable, due to optimizations>
options = <value temporarily unavailable, due to optimizations>
priority = <value temporarily unavailable, due to optimizations>
to = <value temporarily unavailable, due to optimizations>
incoming_used = <value temporarily unavailable, due to optimizations>
from = <value temporarily unavailable, due to optimizations>
i = <value temporarily unavailable, due to optimizations>
#4 0x00146138 in main (argc=0, argv=0xbfffe4c0) at emacs.c:820
dummy = 0
stack_bottom_variable = -113 '\217'
do_initial_setlocale = <value temporarily unavailable, due to
optimizations>
skip_args = 0
rlim = {
rlim_cur = -4611716942191919099,
rlim_max = -8070424312546335528
}
no_loadup = <value temporarily unavailable, due to optimizations>
junk = 0x0
Xbacktrace just brings the GDB prompt. I'll try without optimisation
(-O0) again!
--
Greetings
Pete
November, n.:
The eleventh twelfth of a weariness.
– Ambrose Bierce, "The Devil's Dictionary"
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#637: 23.0.60; configure using faulty defaults, causing failure to build temacs?
2008-08-03 14:02 bug#637: 23.0.60; configure using faulty defaults, causing failure to build temacs? Peter Dyballa
@ 2008-08-03 14:22 ` Peter Dyballa
0 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2008-08-03 14:22 UTC (permalink / raw)
To: 637
Am 03.08.2008 um 16:02 schrieb Peter Dyballa:
> I'll try without optimisation (-O0) again!
Without optimisation 'bt full' gives:
#0 0x900038cc in malloc_zone_malloc ()
No symbol table info available.
#1 0x002ddff0 in unexec_malloc (size=20) at unexmacosx.c:1266
ptr = (unexec_malloc_header_t *) 0x74
#2 0x002423f0 in xmalloc (size=20) at alloc.c:762
val = (void *) 0x1200
#3 0x001a1cdc in sort_args (argc=5, argv=0xbfffe4c0) at emacs.c:1820
new = (char **) 0xa0011968
options = (int *) 0xbfffe310
priority = (int *) 0xbfffe4d8
to = -1610606660
incoming_used = 5
from = -1073749120
i = 0
#4 0x001a09fc in main (argc=5, argv=0xbfffe4c0) at emacs.c:820
dummy = 8400848
stack_bottom_variable = 0 '\0'
do_initial_setlocale = -1881057576
skip_args = 0
rlim = {
rlim_cur = 500632131516,
rlim_max = -4611716942191919099
}
no_loadup = 0
junk = 0x0
and xbacktrace returns the GDB prompt. Temacs still dies with a bus
error.
The temacs produced when configuring '--with-ns --disable-ns-self-
contained' works well.
--
Greetings
Pete <]
o __o |__ o HPV, the real
___o /I -\<, |o \ -\),-% high speed!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#637: 23.0.60; configure using faulty defaults, causing failure to build temacs?
@ 2008-08-12 21:55 Chong Yidong
2008-08-13 0:04 ` Peter Dyballa
0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-08-12 21:55 UTC (permalink / raw)
To: Peter Dyballa; +Cc: 637
> When I configure the X11 client under Mac OS X 10.4.11 as:
> ...
> in the end this command is executed to build temacs:
> ...
> The part "-Wl,-framework,CoreServices -Wl,-
> framework,ApplicationServices" looks suspicious to me. It can be the
> cause for the following in the *compilation* buffer:
>
> make[2]: *** [bootstrap-emacs] Bus error (core dumped)
> make[2]: Target `all' not remade because of errors.
> make[1]: *** [src] Error 2
> make[1]: Target `all' not remade because of errors.
> make: *** [bootstrap] Error 2
Do you still see this problem in latest CVS?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#637: 23.0.60; configure using faulty defaults, causing failure to build temacs?
2008-08-12 21:55 Chong Yidong
@ 2008-08-13 0:04 ` Peter Dyballa
0 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2008-08-13 0:04 UTC (permalink / raw)
To: Chong Yidong; +Cc: 637
Am 12.08.2008 um 23:55 schrieb Chong Yidong:
> Do you still see this problem in latest CVS?
No, it's gone. Although the Apple frameworks are still used:
gcc -I/sw/include -L/sw/lib -prebind -Xlinker -headerpad -Xlinker
690 -bind_at_load -dead_strip -multiply_defined suppress -L/sw/lib/
ncurses -L/sw/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -
o temacs pre-crt0.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
cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o
fontset.o xsmfns.o fringe.o image.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 filemode.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
unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o
atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o
md5.o xfont.o ftfont.o xftfont.o ftxfont.o terminfo.o lastfile.o
widget.o ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lSM
-lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/
fontconfig2/lib -L/usr/X11R6/lib -lXft -lfreetype -lXrender -
lfontconfig -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -
lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/sw/lib -ldbus-1 -lresolv -
lncurses -L/sw/lib/freetype219/lib -L/sw/lib -Wl,-
framework,CoreServices -Wl,-framework,ApplicationServices -lotf -
lfreetype -lz
--
Greetings
Pete
Clovis' Consideration of an Atmospheric Anomaly:
The perversity of nature is nowhere better demonstrated
than by the fact that, when exposed to the same atmosphere,
bread becomes hard while crackers become soft.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-13 0:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-03 14:02 bug#637: 23.0.60; configure using faulty defaults, causing failure to build temacs? Peter Dyballa
2008-08-03 14:22 ` Peter Dyballa
-- strict thread matches above, loose matches on Subject: below --
2008-08-12 21:55 Chong Yidong
2008-08-13 0:04 ` Peter Dyballa
2008-08-01 8:37 Peter Dyballa
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.