https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40770
--- Comment #24 from rguenther at suse dot de <rguenther at suse dot de> --- On September 22, 2020 1:14:48 PM GMT+02:00, kangshan0910 at hotmail dot com <gcc-bugzi...@gcc.gnu.org> wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40770 > >--- Comment #23 from 康 珊 <kangshan0910 at hotmail dot com> --- >It seems that gcc will use "_ZGVeN8vl8l8_sincos" which doesn't exit in >libmvec. >/usr/bin/ld: /tmp/ccTYyEZM.o: in function `main': >/home/pnp/ks/test_sincos.c:38: undefined reference to >`_ZGVeN8vl8l8_sincos' >/usr/bin/ld: /home/pnp/ks/test_sincos.c:38: undefined reference to >`_ZGVeN8vl8l8_sincos' >collect2: error: ld returned 1 exit status That's expected and the thing that needs to be fixed. >I'm using clear linux the glibc of which is 2.31 and I also tried >Ubuntu 19.10 >the glibc of which is 2.30.