From: Baoshan Pang <pangbw@gmail.com>
To: crossgcc@sourceware.org
Subject: soft float on powerpc 64
Date: Fri, 20 Jul 2018 17:25:00 -0000 [thread overview]
Message-ID: <CAD9rSNRWBF9MZYkPZHD5ZMNmbSik+gsspD6q-6cbuUN8infvGQ@mail.gmail.com> (raw)
Hi all,
Can we build the GNU toolchain for powerpc 64 bit with soft float support?
I am seeing the undefined symbol issue when trying to link a file compiled
with -msoft-flot:
/folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld:
Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(vfprintf.o)
uses hard float, a.out uses soft float
/folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld:
Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(printf_fp.o)
uses hard float, a.out uses soft float
/folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld:
Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(printf_fphex.o)
uses hard float, a.out uses soft float
/folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld:
Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(vfwprintf.o)
uses hard float, a.out uses soft float
/folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld:
Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(dbl2mpn.o)
uses hard float, a.out uses soft float
/folk/bpang/x-tools/powerpc64-unknown-linux-gnu/lib/gcc/powerpc64-unknown-linux-gnu/8.1.0/../../../../powerpc64-unknown-linux-gnu/bin/ld:
Warning: /folk/bpang/x-tools/powerpc64-unknown-linux-gnu/powerpc64-unknown-linux-gnu/sysroot/usr/lib/../lib64/libc.a(ldbl2mpn.o)
uses hard float, a.out uses soft float
/tmp/ccFUdCAw.o: In function `gt':
x.c:(.text+0x30): undefined reference to `__addsf3'
x.c:(.text+0x44): undefined reference to `__addsf3'
x.c:(.text+0x60): undefined reference to `__addsf3'
x.c:(.text+0x74): undefined reference to `__addsf3'
x.c:(.text+0x8c): undefined reference to `__gtsf2'
collect2: error: ld returned 1 exit status
Thanks,
Baoshan
reply other threads:[~2018-07-20 17:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD9rSNRWBF9MZYkPZHD5ZMNmbSik+gsspD6q-6cbuUN8infvGQ@mail.gmail.com \
--to=pangbw@gmail.com \
--cc=crossgcc@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).