From: Eric B. <er...@go...> - 2008-02-29 13:57:22
|
Colin Paul Adams wrote: > As of today (I don't know when I last compiled it sucessfully), > gestalt (but not gexslt) seg-faults at start up, when compiled with > gec + boehm gc 7.0, but not without gec, nor when compiled with ISE > 6.1. > > This seems very strange. It requires both eposix and boehm gc to > produce the error (gexslt compiled with boehm gc does not produce the > error), but does not depend upon any eposix facilities being used > (just typing the command name - expecting the usage message, is > sufficent to seg-fault). > > So I suspected a library change. doing an ldd on the executbles gives: > > [colin@susannah gestalt]$ ldd ./gestalt > linux-vdso.so.1 => (0x00007fff8bbfe000) > libm.so.6 => /lib64/libm.so.6 (0x0000003eb4a00000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003eb5200000) > librt.so.1 => /lib64/librt.so.1 (0x0000003eb7200000) > libc.so.6 => /lib64/libc.so.6 (0x0000003eb4600000) > /lib64/ld-linux-x86-64.so.2 (0x0000003eb3400000) > [colin@susannah gestalt]$ ldd ~/gobo/bin/gexslt > linux-vdso.so.1 => (0x00007fff075fe000) > libm.so.6 => /lib64/libm.so.6 (0x0000003eb4a00000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003eb5200000) > libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003ebec00000) > libc.so.6 => /lib64/libc.so.6 (0x0000003eb4600000) > /lib64/ld-linux-x86-64.so.2 (0x0000003eb3400000) > > so the difference is that gestalt has librt whereas gexslt has > libgcc_s. > > Librt has not been updated for a long time, and in any case, it is > linked in even without the boehm gc. > > So I can't think of what might be the problem. Anyone have any ideas? Can you also run ldd on the executable of gestalt compiled with ISE 6.1? -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |