disable-newlib-io-long-double?

"chengzhiwei (C)" <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <7D9266CBFB4E9A4B9C7B1D0341567D860173083C@DGGEMI529-MBX.china.huawei.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.