<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Use of gold linker breaks debugging"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86666#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Use of gold linker breaks debugging"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86666">bug 86666</a>
              from <span class="vcard"><a class="email" href="mailto:zbyszek@in.waw.pl" title="Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>"> <span class="fn">Zbigniew Jedrzejewski-Szmek</span></a>
</span></b>
        <pre>% rm libgudev-1.0.la .libs/libgudev-1.0.so* && make libgudev-1.0.la V=1
/bin/sh ./libtool  --tag=CC   --mode=link gcc -std=gnu99 -pipe -Wall -Wextra
-Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral
-Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition
-Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal
-Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes
-Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
-Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long
-Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers
-Wno-unused-result -Werror=overflow -Wdate-time -Wnested-externs -ffast-math
-fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden
-ffunction-sections -fdata-sections -fstack-protector -fstack-protector-strong
-fPIE --param=ssp-buffer-size=4   -fvisibility=default -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -g -O0 -ftrapv
-Wl,--as-needed -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now
-pie -Wl,-fuse-ld=gold   -version-info 2:0:2 -export-dynamic -no-undefined
-Wl,--version-script=./src/gudev/libgudev-1.0.sym  -o libgudev-1.0.la -rpath
/usr/lib64 src/gudev/libgudev_1_0_la-gudevclient.lo
src/gudev/libgudev_1_0_la-gudevdevice.lo
src/gudev/libgudev_1_0_la-gudevenumerator.lo
src/gudev/libgudev_1_0_la-gudevmarshal.lo
src/gudev/libgudev_1_0_la-gudevenumtypes.lo libudev.la -lgio-2.0 -lgobject-2.0
-lglib-2.0  -ldw -ldl 
libtool: link: rm -fr  .libs/libgudev-1.0.la .libs/libgudev-1.0.lai
libtool: link: gcc -shared  -fPIC -DPIC 
src/gudev/.libs/libgudev_1_0_la-gudevclient.o
src/gudev/.libs/libgudev_1_0_la-gudevdevice.o
src/gudev/.libs/libgudev_1_0_la-gudevenumerator.o
src/gudev/.libs/libgudev_1_0_la-gudevmarshal.o
src/gudev/.libs/libgudev_1_0_la-gudevenumtypes.o   -Wl,-rpath
-Wl,/home/zbyszek/src/systemd-tmp/.libs ./.libs/libudev.so -lrt -lcap -lgio-2.0
-lgobject-2.0 -lglib-2.0 -ldw -ldl  -pthread -O0 -Wl,--as-needed
-Wl,--no-undefined -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,-z -Wl,now
-Wl,-fuse-ld=gold -Wl,--version-script=./src/gudev/libgudev-1.0.sym   -pthread
-Wl,-soname -Wl,libgudev-1.0.so.0 -o .libs/libgudev-1.0.so.0.2.0
libtool: link: (cd ".libs" && rm -f "libgudev-1.0.so.0" && ln -s
"libgudev-1.0.so.0.2.0" "libgudev-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libgudev-1.0.so" && ln -s
"libgudev-1.0.so.0.2.0" "libgudev-1.0.so")
libtool: link: ( cd ".libs" && rm -f "libgudev-1.0.la" && ln -s
"../libgudev-1.0.la" "libgudev-1.0.la" )

% objdump -h .libs/libgudev-1.0.so.0 | grep debug
 26 .debug_info   000055d3  0000000000000000  0000000000000000  0000b059  2**0
 27 .debug_abbrev 000008ac  0000000000000000  0000000000000000  0001062c  2**0
 28 .debug_aranges 00000570  0000000000000000  0000000000000000  00010ed8  2**0
 29 .debug_ranges 00000520  0000000000000000  0000000000000000  00011448  2**0
 30 .debug_line   00001a53  0000000000000000  0000000000000000  00011968  2**0
 31 .debug_str    00001cb4  0000000000000000  0000000000000000  000133bb  2**0

libtool-2.4.2-29.fc21.x86_64</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>