This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/22007] New: math/test-matherr and math/test-matherr-2 fail with ld.gold


https://sourceware.org/bugzilla/show_bug.cgi?id=22007

            Bug ID: 22007
           Summary: math/test-matherr and math/test-matherr-2 fail with
                    ld.gold
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: markus at trippelsdorf dot de
                CC: joseph at codesourcery dot com
  Target Milestone: ---

math/test-matherr and math/test-matherr-2 fail with ld.gold:

markus@x4 glibc-build % gcc -fuse-ld=gold -nostdlib -nostartfiles -o
/var/tmp/glibc-build/math/test-matherr -Wl,-z,combreloc -Wl,-z,relro
-Wl,--hash-style=both /var/tmp/glibc-build/csu/crt1.o
/var/tmp/glibc-build/csu/crti.o `gcc  --print-file-name=crtbegin.o`
/var/tmp/glibc-build/math/test-matherr.o
/var/tmp/glibc-build/support/libsupport_nonshared.a
/var/tmp/glibc-build/math/libm.so.6
-Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2
-Wl,-rpath-link=/var/tmp/glibc-build:/var/tmp/glibc-build/math:/var/tmp/glibc-build/elf:/var/tmp/glibc-build/dlfcn:/var/tmp/glibc-build/nss:/var/tmp/glibc-build/nis:/var/tmp/glibc-build/rt:/var/tmp/glibc-build/resolv:/var/tmp/glibc-build/crypt:/var/tmp/glibc-build/mathvec:/var/tmp/glibc-build/support:/var/tmp/glibc-build/nptl
/var/tmp/glibc-build/libc.so.6 /var/tmp/glibc-build/libc_nonshared.a
-Wl,--as-needed /var/tmp/glibc-build/elf/ld.so -Wl,--no-as-needed -lgcc
-Wl,--as-needed -lgcc_s -Wl,--no-as-needed `gcc  --print-file-name=crtend.o`
/var/tmp/glibc-build/csu/crtn.o                                                 

markus@x4 glibc-build % ./math/test-matherr
acos: DOMAIN error



markus@x4 glibc-build % gcc -fuse-ld=bfd -nostdlib -nostartfiles -o
/var/tmp/glibc-build/math/test-matherr -Wl,-z,combreloc -Wl,-z,relro
-Wl,--hash-style=both /var/tmp/glibc-build/csu/crt1.o
/var/tmp/glibc-build/csu/crti.o `gcc  --print-file-name=crtbegin.o`
/var/tmp/glibc-build/math/test-matherr.o
/var/tmp/glibc-build/support/libsupport_nonshared.a
/var/tmp/glibc-build/math/libm.so.6
-Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2
-Wl,-rpath-link=/var/tmp/glibc-build:/var/tmp/glibc-build/math:/var/tmp/glibc-build/elf:/var/tmp/glibc-build/dlfcn:/var/tmp/glibc-build/nss:/var/tmp/glibc-build/nis:/var/tmp/glibc-build/rt:/var/tmp/glibc-build/resolv:/var/tmp/glibc-build/crypt:/var/tmp/glibc-build/mathvec:/var/tmp/glibc-build/support:/var/tmp/glibc-build/nptl
/var/tmp/glibc-build/libc.so.6 /var/tmp/glibc-build/libc_nonshared.a
-Wl,--as-needed /var/tmp/glibc-build/elf/ld.so -Wl,--no-as-needed -lgcc
-Wl,--as-needed -lgcc_s -Wl,--no-as-needed `gcc  --print-file-name=crtend.o`
/var/tmp/glibc-build/csu/crtn.o

markus@x4 glibc-build % ./math/test-matherr
matherr is working

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]