On Thu, May 10, 2018 at 8:01 AM, Konstantin Belousov <k...@freebsd.org> wrote:
> Author: kib
> Date: Thu May 10 15:01:43 2018
> New Revision: 333461
> URL: https://svnweb.freebsd.org/changeset/base/333461
>
> Log:
>   Make fpusave() and fpurestore() on amd64 ifuncs.
>
>   From now on, linking amd64 kernel requires either lld or newer ld.bfd.

Hi,

This commit seems to break amd64-gcc cross toolchain build (note, this
is a cc error, not ld):

In file included from /usr/src/sys/amd64/amd64/fpu.c:64:0:
/usr/src/sys/amd64/amd64/fpu.c:195:22: error: ifunc is not supported
on this target
 DEFINE_IFUNC(, void, fpusave, (void *), static)
                      ^
./x86/ifunc.h:55:19: note: in definition of macro 'DEFINE_IFUNC'
     qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \
                   ^~~~
/usr/src/sys/amd64/amd64/fpu.c:202:22: error: ifunc is not supported
on this target
 DEFINE_IFUNC(, void, fpurestore, (void *), static)
                      ^
./x86/ifunc.h:55:19: note: in definition of macro 'DEFINE_IFUNC'
     qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \
                   ^~~~
--- fpu.o ---
*** [fpu.o] Error code 1

Best,
Conrad
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to