http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58208

--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> ---
I can't reproduce the SEGV on Fedora 17 with gcc-4.8.1 -m32 or gcc-4.9 -m32.

However, I think the build recipe is flawed.  If I follow it to the letter
(with -Wl,-rpath pointing to where I installed gcc-4.8) the `import' binary
fails because it can't find libqt.so:

> ./import 
./import: error while loading shared libraries: libqt.so: cannot open shared
object file: No such file or directory
> ldd ./import 
        linux-gate.so.1 =>  (0xf76e4000)
        libqt.so => not found
        libstdc++.so.6 => /tmp/install/lib/libstdc++.so.6 (0xf75f1000)
        libm.so.6 => /lib/libm.so.6 (0xf75c6000)
        libgcc_s.so.1 => /tmp/install/lib/libgcc_s.so.1 (0xf75ac000)
        libc.so.6 => /lib/libc.so.6 (0xf73f9000)
        /lib/ld-linux.so.2 (0xf76e5000)

With LD_LIBARY_PATH=.: ./import runs fine w/o error with gcc-4.8.1.

Perhaps your `import' is picking up another libqt.so from a system directory,
and there's a C++ ABI incompatibility between that one and 4.8.1?

Reply via email to