Hide Forgot
Description of problem: When I compile libxml2 on F12, the libs pass its self test (runtest) but it fails to work when 1 compile it in F15 Version-Release number of selected component (if applicable): libxml2-2.7.2 How reproducible: Always Steps to Reproduce: 1 : Use the following script #!/bin/sh p=`pwd` mkdir extern-lib 2>/dev/null mkdir extern-lib/libxml2 wget ftp://xmlsoft.org/libxml2/libxml2-2.7.2.tar.gz tar -xf libxml2-*.tar.gz rm libxml2-*.tar.gz cd libxml2-* ./configure --prefix="$p/extern-lib/libxml2" make make install 2 : Use the testsuite cd libxml2-2.7.2/ ./runtest Actual results: F12 : test passed F15 : ## XML regression tests Erreur de segmentation Expected results: Code should compile properly
Reproduced on F14: 0x0000003864b2e850 in __strncmp_ssse3 () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install glibc-2.13-1.x86_64 zlib-1.2.5-2.fc14.x86_64 (gdb) where #0 0x0000003864b2e850 in __strncmp_ssse3 () from /lib64/libc.so.6 #1 0x00007ffff7ce9b62 in __xmlParserInputBufferCreateFilename ( URI=<value optimized out>, enc=XML_CHAR_ENCODING_NONE) at xmlIO.c:2476 #2 0x00007ffff7cc0d5d in xmlNewInputFromFile__internal_alias (ctxt=0x61cfc8, If you fetch a recent version liske libxml2-2.7.8 the exact same steps work fine. Reason is the following: http://git.gnome.org/browse/libxml2/commit/?id=a7e79f28689c574e0bbef17f4cb3da00249181ff F12 had the older zlib, F14/15 have the new one, and the old code is gonna crash that's the reason why we update the libraries. Use the system libraries, don't try t recompile old ones locally, you can get this, Daniel