public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure
@ 2012-09-20 12:41 florian at openwrt dot org
  2012-09-20 12:44 ` [Bug math/14599] " florian at openwrt dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: florian at openwrt dot org @ 2012-09-20 12:41 UTC (permalink / raw)
  To: glibc-bugs


http://sourceware.org/bugzilla/show_bug.cgi?id=14599

             Bug #: 14599
           Summary: [Linux/SPARC] libm_pic.a linking failure
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: florian@openwrt.org
    Classification: Unclassified


I am building a cross-toolchain for Linux/SPARC, and glibc-2.16 fails linking
libm_pic.a as show below:

sparc-openwrt-linux-gnu-gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs
-Wl,-dynamic-linker=/lib/ld-linux.so.2 
-B/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/csu/

-Wl,--version-script=/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/libm.map
-Wl,-soname=libm.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both 
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/elf
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/dlfcn
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/nss
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/nis
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/rt
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/resolv
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/crypt
-L/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/nptl
-Wl,-rpath-link=/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/elf:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/dlfcn:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/nss:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/nis:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/rt:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/resolv:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/crypt:/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/nptl
-o
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm.so
-T
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/shlib.lds
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/csu/abi-note.o
-Wl,--whole-archive
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm_pic.a
-Wl,--no-whole-archive
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/elf/interp.os
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/libc.so
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/libc_nonshared.a 
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm_pic.a(e_acosl.os):
In function `__acosl_finite':
e_acosl.c:(.text+0x24a0): undefined reference to `__ieee754_sqrtl'
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm_pic.a(e_acoshl.os):
In function `__acoshl_finite':
e_acoshl.c:(.text+0x238): undefined reference to `__ieee754_sqrtl'
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm_pic.a(e_asinl.os):
In function `__asinl_finite':
e_asinl.c:(.text+0x1810): undefined reference to `__ieee754_sqrtl'
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm_pic.a(e_hypotl.os):
In function `__hypotl_finite':
e_hypotl.c:(.text+0x974): undefined reference to `__ieee754_sqrtl'
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm_pic.a(e_j0l.os):
In function `__j0l_finite':
e_j0l.c:(.text+0x11f8): undefined reference to `__ieee754_sqrtl'
/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm_pic.a(e_j0l.os):e_j0l.c:(.text+0x25b0):
more undefined references to `__ieee754_sqrtl' follow
collect2: ld returned 1 exit status
make[6]: ***
[/home/florian/dev/openwrt/trunk/build_dir/toolchain-sparc_gcc-4.6-linaro_eglibc-2.16/eglibc-2.16-r19922-final/math/libm.so]
Error 1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug math/14599] [Linux/SPARC] libm_pic.a linking failure
  2012-09-20 12:41 [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure florian at openwrt dot org
@ 2012-09-20 12:44 ` florian at openwrt dot org
  2012-10-17 18:26 ` [Bug build/14599] " carlos_odonell at mentor dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: florian at openwrt dot org @ 2012-09-20 12:44 UTC (permalink / raw)
  To: glibc-bugs


http://sourceware.org/bugzilla/show_bug.cgi?id=14599

Florian Fainelli <florian at openwrt dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |glibc_2.16
                 CC|                            |florian at openwrt dot org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug build/14599] [Linux/SPARC] libm_pic.a linking failure
  2012-09-20 12:41 [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure florian at openwrt dot org
  2012-09-20 12:44 ` [Bug math/14599] " florian at openwrt dot org
@ 2012-10-17 18:26 ` carlos_odonell at mentor dot com
  2012-10-17 18:50 ` davem at davemloft dot net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-10-17 18:26 UTC (permalink / raw)
  To: glibc-bugs


http://sourceware.org/bugzilla/show_bug.cgi?id=14599

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|glibc_2.16                  |
                 CC|                            |carlos at systemhalted dot
                   |                            |org, carlos_odonell at
                   |                            |mentor dot com, davem at
                   |                            |davemloft dot net
          Component|math                        |build

--- Comment #1 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-10-17 18:25:44 UTC ---
Removing keyword glibc_2.16 because there is no proposed patch to backport.
Once we have a proposed patch we can add the keyword to get a review from the
release branch manager for acceptance to the branch.

CC'ing the Sparc maintainer to get his input on the 2.16 branch build failure.

Changing component to "build" since this is build failure and not specifically
identified as a true "math" failure.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug build/14599] [Linux/SPARC] libm_pic.a linking failure
  2012-09-20 12:41 [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure florian at openwrt dot org
  2012-09-20 12:44 ` [Bug math/14599] " florian at openwrt dot org
  2012-10-17 18:26 ` [Bug build/14599] " carlos_odonell at mentor dot com
@ 2012-10-17 18:50 ` davem at davemloft dot net
  2012-12-04  0:01 ` carlos at systemhalted dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: davem at davemloft dot net @ 2012-10-17 18:50 UTC (permalink / raw)
  To: glibc-bugs


http://sourceware.org/bugzilla/show_bug.cgi?id=14599

David S. Miller <davem at davemloft dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #2 from David S. Miller <davem at davemloft dot net> 2012-10-17 18:50:36 UTC ---
Please reproduce this with vanilla sources and give your complete configure
command line for glibc, as well as the exact sources and configure command
lines used to generate the tools you used.

You're obviously using eglibc from Linaro, rather than glibc-2.16 itself.

You are using a lot of custom components when triggering this problem, so
you need to consolidate this as much as possible before I'm going to spend
the time necessary to reproduce it myself.

Thanks.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug build/14599] [Linux/SPARC] libm_pic.a linking failure
  2012-09-20 12:41 [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure florian at openwrt dot org
                   ` (2 preceding siblings ...)
  2012-10-17 18:50 ` davem at davemloft dot net
@ 2012-12-04  0:01 ` carlos at systemhalted dot org
  2013-10-02 17:12 ` neleai at seznam dot cz
  2014-06-17  4:24 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: carlos at systemhalted dot org @ 2012-12-04  0:01 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14599

Carlos O'Donell <carlos at systemhalted dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|carlos_odonell at mentor    |
                   |dot com                     |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug build/14599] [Linux/SPARC] libm_pic.a linking failure
  2012-09-20 12:41 [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure florian at openwrt dot org
                   ` (3 preceding siblings ...)
  2012-12-04  0:01 ` carlos at systemhalted dot org
@ 2013-10-02 17:12 ` neleai at seznam dot cz
  2014-06-17  4:24 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: neleai at seznam dot cz @ 2013-10-02 17:12 UTC (permalink / raw)
  To: glibc-bugs

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

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |neleai at seznam dot cz
         Resolution|---                         |INVALID

--- Comment #3 from Ondrej Bilka <neleai at seznam dot cz> ---
Closing as no vanilla reproducer was posted in year.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug build/14599] [Linux/SPARC] libm_pic.a linking failure
  2012-09-20 12:41 [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure florian at openwrt dot org
                   ` (4 preceding siblings ...)
  2013-10-02 17:12 ` neleai at seznam dot cz
@ 2014-06-17  4:24 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17  4:24 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-17  4:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-20 12:41 [Bug math/14599] New: [Linux/SPARC] libm_pic.a linking failure florian at openwrt dot org
2012-09-20 12:44 ` [Bug math/14599] " florian at openwrt dot org
2012-10-17 18:26 ` [Bug build/14599] " carlos_odonell at mentor dot com
2012-10-17 18:50 ` davem at davemloft dot net
2012-12-04  0:01 ` carlos at systemhalted dot org
2013-10-02 17:12 ` neleai at seznam dot cz
2014-06-17  4:24 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).