disable-newlib-io-long-double?
chengzhiwei (C)
chengzhiwei6@huawei.com
Mon Mar 16 11:37:06 GMT 2020
Hi, all:
In my project, all of the quadrature symbols have been stripped away in libgcc.a, so when I built newlib toolchain based on riscv32 target, we used the option "--disable-newlib-io-long-double" to turn off the feature of long double. But when performing a floating-point calculation, the symbol "trunctfdf2" is not defined correctly:
libc.a(lib_a-vfprintf.o): in function `.L60':vfprintf.c:(.text+0x3fe): undefined reference to `__trunctfdf2'
What puzzles me is why is this one symbol undefined? Is there any way to solve this problem?
Regards,
--zhiwei
More information about the Newlib
mailing list