git: cf97d2a1dab8 - main - Build lib/msun tests with compiler builtins disabled

Dimitry Andric dim at FreeBSD.org
Mon Mar 1 10:34:38 UTC 2021


On 1 Mar 2021, at 08:34, Mateusz Guzik <mjguzik at gmail.com> wrote:
> 
> This breaks riscv:
> 
> ld: error: undefined symbol: fabs
>>>> referenced by t_acos.c:93 (/usr/src/contrib/netbsd-tests/lib/libm/t_acos.c:93)                                                      >>>               t_acos.o:(atfu_acos_is_plus_zero_body)
>>>> referenced by t_acos.c:94 (/usr/src/contrib/netbsd-tests/lib/libm/t_acos.c:94)                                                      >>>               t_acos.o:(atfu_acos_is_plus_zero_body)
>>>> did you mean: cabs                                                                                                                  >>> defined in: /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libm.so
> 
> 
> On 2/23/21, Dimitry Andric <dim at freebsd.org> wrote:
>> The branch main has been updated by dim:
>> 
>> URL:
>> https://cgit.FreeBSD.org/src/commit/?id=cf97d2a1dab8f2cddc4466fe64d37818339c73be
>> 
>> commit cf97d2a1dab8f2cddc4466fe64d37818339c73be
>> Author:     Dimitry Andric <dim at FreeBSD.org>
>> AuthorDate: 2021-02-23 20:03:32 +0000
>> Commit:     Dimitry Andric <dim at FreeBSD.org>
>> CommitDate: 2021-02-23 20:10:01 +0000
>> 
>>    Build lib/msun tests with compiler builtins disabled

Hm, there isn't any reference machine for riscv, so any ideas on how to
figure out whether fabs() is being built or not being built for riscv?
I don't see anything in lib/msun/Makefile that would exclude it.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/dev-commits-src-main/attachments/20210301/603226e7/attachment-0001.sig>


More information about the dev-commits-src-main mailing list