svn commit: r333461 - head/sys/amd64/amd64
Conrad Meyer
cem at freebsd.org
Fri May 11 03:03:56 UTC 2018
On Thu, May 10, 2018 at 8:01 AM, Konstantin Belousov <kib at 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
More information about the svn-src-head
mailing list