On Mon, 2006-12-18 at 11:22 +0100, Leszek Koltunski wrote: > CFLAGS=-g or CFLAGS='' does not make any difference.
Ah, but not setting CFLAGS is different from setting it to the empty string. When unset, automake picks some defaults (-O -g) which turns on optimization. > But here's another clue: now I noticed that the > fontconfig-2.4.2/fc-cache/fc-cache I was tracing with gdb is really a > wrapper script that just runs fontconfig-2.4.2/fc-cache/.libs/lt-fc-cache. Right, it sets things up so that the just-built fontconfig library is used instead of the system one. > If I run that 'lt-fc-cache' directly, it also doesn't crash. But when I > run the 'fontconfig-2.4.2/fc-cache/.libs/fc-cache' that crashes with > exactly the same trace like the original package. Precisely -- it would then be using the system fontconfig library which is where the bug is found. Using the libtool wrapper script tests the library you just built instead. -- [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part