* soft float on powerpc 64
@ 2018-07-20 17:25 Baoshan Pang
0 siblings, 0 replies; only message in thread
From: Baoshan Pang @ 2018-07-20 17:25 UTC (permalink / raw)
To: crossgcc
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-20 17:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-20 17:25 soft float on powerpc 64 Baoshan Pang
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).