Fwd: kconfig_compiler segvs on powerpc.

Pawel Sikora pluto at agmk.net
Fri May 13 14:31:41 BST 2005


On Thursday 12 of May 2005 16:51, Thiago Macieira wrote:

> >                   kconfig_compiler/.libs/lt-kconfig_compiler
>
> You're using the before-installation version. So, just out of curiosity,
> does this same thing happen *after* you install the compiler and its
> dependend libraries?

lt-kconfig_compiler is linked with proper libs (vide rpath).
pre-installation isn't needed to run/debug. am i right?

[kdelibs-3.4.0]$ ldd kdecore/kconfig_compiler/.libs/lt-kconfig_compiler
        libkdecore.so.4 => /home/users/builder2/rpm/BUILD/kdelibs-3.4.0/
                            kdecore/.libs/libkdecore.so.4 (0x0fd4b000)
        libDCOP.so.4 => /home/users/builder2/rpm/BUILD/kdelibs-3.4.0/
                         dcop/.libs/libDCOP.so.4 (0x0fcf7000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x0fcc4000)
        libutil.so.1 => /lib/libutil.so.1 (0x0fca1000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0fc69000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0x0fc18000)
        libkdefx.so.4 => /home/users/builder2/rpm/BUILD/kdelibs-3.4.0/
                          kdefx/.libs/libkdefx.so.4 (0x0fbb9000)
        libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0x0f485000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x0f3c9000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x0f390000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x0f36c000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x0f342000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x0f31f000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x0f2eb000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0f2a4000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0f207000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x0f1c1000)
        libdl.so.2 => /lib/libdl.so.2 (0x0f19d000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0f142000)
        libz.so.1 => /lib/libz.so.1 (0x0f110000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0f0dd000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0efe0000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x0efb6000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x0ef7d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0ef49000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x0ef1f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0ee12000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0ede3000)
        libm.so.6 => /lib/libm.so.6 (0x0ed4c000)
        libc.so.6 => /lib/libc.so.6 (0x0ebfa000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x0ebd4000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x0eb57000)
        /lib/ld.so.1 (0x30000000)

> Can you also check that no odd library has been loaded ("info shared" in
> gdb), such as old-ABI libraries or libstdc++?

(gdb) break __do_global_ctors_aux
Breakpoint 1 at 0x10013c60
(gdb) r
Starting program: /home/users/builder2/rpm/BUILD/kdelibs-3.4.0/kdecore/
                   kconfig_compiler/.libs/lt-kconfig_compiler
Breakpoint 1 at 0xffb2184
Breakpoint 1 at 0xfd34b98
Breakpoint 1 at 0xfbf36a8

Breakpoint 1, 0x0fbf36a8 in __do_global_ctors_aux ()
   from /home/users/builder2/rpm/BUILD/kdelibs-3.4.0/
         kdefx/.libs/libkdefx.so.4

(gdb) info shared
From        To          Syms Read   Shared Object Library
0x0fdd61e0  0x0ffb21fc Yes          /home/users/builder2/rpm/BUILD/
                                     kdelibs-3.4.0/kdecore/.libs/ 
                                     libkdecore.so.4
0x0fd028e8  0x0fd34c10  Yes         /home/users/builder2/rpm/BUILD/
                                     kdelibs-3.4.0/dcop/.libs/libDCOP.so.4
0x0fcc6c44  0x0fcd193c  Yes         /lib/libresolv.so.2
0x0fca1c28  0x0fca27c4  Yes         /lib/libutil.so.1
0x0fc6cb90  0x0fc7f258  Yes         /usr/lib/libart_lgpl_2.so.2
0x0fc1a174  0x0fc1eb90  Yes         /usr/lib/libidn.so.11
0x0fbc3d88  0x0fbf3720  Yes         /home/users/builder2/rpm/BUILD/
                                     kdelibs-3.4.0/kdefx/.libs/libkdefx.so.4
0x0f630fc0  0x0fa8bac8  Yes         /usr/lib/libqt-mt.so.3
0x0f3e902c  0x0f4527ac  Yes         /usr/lib/libGL.so.1
0x0f395fc0  0x0f3a5658  Yes         /usr/X11R6/lib/libXmu.so.6
0x0f36dbc0  0x0f36f9c4  Yes         /usr/X11R6/lib/libXrandr.so.2
0x0f34524c  0x0f34abd4  Yes         /usr/X11R6/lib/libXcursor.so.1
0x0f3208e8  0x0f321af4  Yes         /usr/X11R6/lib/libXinerama.so.1
0x0f2ef9b8  0x0f2fcee0  Yes         /usr/X11R6/lib/libXft.so.2
0x0f2b1d10  0x0f2cbd44  Yes         /usr/lib/libfontconfig.so.1
0x0f21c0fc  0x0f268c9c  Yes         /usr/lib/libfreetype.so.6
0x0f1c551c  0x0f1dfb48  Yes         /usr/lib/libexpat.so.0
0x0f19dd78  0x0f19f010  Yes         /lib/libdl.so.2
0x0f1498b0  0x0f177f00  Yes         /usr/lib/libpng12.so.0
0x0f11286c  0x0f11d598  Yes         /lib/libz.so.1
0x0f0e09e8  0x0f0ef214  Yes         /usr/X11R6/lib/libXext.so.6
0x0eff54c4  0x0f074684  Yes         /usr/X11R6/lib/libX11.so.6
0x0efb9614  0x0efbe55c  Yes         /usr/X11R6/lib/libSM.so.6
0x0ef81ce0  0x0ef918e4  Yes         /usr/X11R6/lib/libICE.so.6
0x0ef4d604  0x0ef581c0  Yes         /lib/libpthread.so.0
0x0ef213fc  0x0ef280f4  Yes         /usr/X11R6/lib/libXrender.so.1
0x0ee514b4  0x0eed59e0  Yes         /usr/lib/libstdc++.so.6
0x0ede4d70  0x0edf0898  Yes         /lib/libgcc_s.so.1
0x0ed55fa8  0x0ed8738c  Yes         /lib/libm.so.6
0x0ec16720  0x0ed02b5c  Yes         /lib/libc.so.6
0x0ebd5c24  0x0ebd9c70  Yes         /usr/X11R6/lib/libXxf86vm.so.1
0x0eb66ac8  0x0eba9354  Yes         /usr/X11R6/lib/libXt.so.6
0x30002020  0x30016e88  Yes         /lib/ld.so.1

i don't see nothing wrong.

-- 
The only thing necessary for the triumph of evil
  is for good men to do nothing.
                                           - Edmund Burke




More information about the kde-core-devel mailing list