From: Zack Weinberg <zackw@panix.com>
To: GNU C Library <libc-alpha@sourceware.org>,
Joseph Myers <joseph@codesourcery.com>
Subject: build-many-glibcs: powerpc-linux-gnu-soft configuration builds with hard float, link fails
Date: Tue, 21 May 2019 10:01:32 -0400 [thread overview]
Message-ID: <CAKCAbMhozBC=7ae7BK-_ELNUCPFqMfwzVphGK7OSaTCBH1dEvg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2643 bytes --]
I'm seeing a build failure under build-many-glibcs for the
powerpc-linux-gnu-soft configuration. The syndrome is that some (but
not all) of the object files going into libc_pic.os are compiled with
-mhard-float and so the final link of libc.so.6 blows up:
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/../../../../powerpc-glibc-linux-gnu/bin/ld:
/home/zack/projects/gnu/glibc-many/build/glibcs/powerpc-linux-gnu-soft/glibc/libc_pic.os
uses hard float,
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/libgcc.a(_floatditf.o)
uses soft float
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/../../../../powerpc-glibc-linux-gnu/bin/ld:
failed to merge target specific data of file
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/libgcc.a(_floatditf.o)
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/../../../../powerpc-glibc-linux-gnu/bin/ld:
/home/zack/projects/gnu/glibc-many/build/glibcs/powerpc-linux-gnu-soft/glibc/libc_pic.os
uses hard float,
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/libgcc.a(ibm-ldouble.o)
uses soft float
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/../../../../powerpc-glibc-linux-gnu/bin/ld:
failed to merge target specific data of file
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/libgcc.a(ibm-ldouble.o)
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/../../../../powerpc-glibc-linux-gnu/bin/ld:
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/libgcc.a(ibm-ldouble.o):
in function `__gcc_qadd':
/home/zack/projects/gnu/glibc-many/src/gcc/libgcc/config/rs6000/ibm-ldouble.c:126:
undefined reference to `__adddf3'
/home/zack/projects/gnu/glibc-many/install/compilers/powerpc-linux-gnu-soft/lib/gcc/powerpc-glibc-linux-gnu/9.1.1/../../../../powerpc-glibc-linux-gnu/bin/ld:
/home/zack/projects/gnu/glibc-many/src/gcc/libgcc/config/rs6000/ibm-ldouble.c:128:
undefined reference to `__unorddf2'
[etc]
The complete set of logs are attached. Can someone who understands the
configuration space for PowerPC cross compilation please investigate?
zw
[-- Attachment #2: powerpc-linux-gnu-soft-logs.tar.gz --]
[-- Type: application/gzip, Size: 216166 bytes --]
next reply other threads:[~2019-05-21 14:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 14:01 Zack Weinberg [this message]
2019-05-21 20:35 ` build-many-glibcs: powerpc-linux-gnu-soft configuration builds with hard float, link fails Tulio Magno Quites Machado Filho
2019-05-21 20:40 ` Zack Weinberg
2019-05-22 14:16 ` Zack Weinberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKCAbMhozBC=7ae7BK-_ELNUCPFqMfwzVphGK7OSaTCBH1dEvg@mail.gmail.com' \
--to=zackw@panix.com \
--cc=joseph@codesourcery.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).