Bug 201095 - arm64 missing fpsetmask
Summary: arm64 missing fpsetmask
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Andrew Turner
Depends on:
Reported: 2015-06-24 13:18 UTC by Ed Maste
Modified: 2015-06-24 16:32 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2015-06-24 13:18:42 UTC
arm64 has a prototype:
/usr/include/machine/ieeefp.h:extern fp_except_t fpsetmask(fp_except_t);

but it is not implemented - e.g., when building the perl port:

===>  Building for perl5-5.20.2_4
cc -lpthread -Wl,-E  -fstack-protector -L/usr/local/lib -o miniperl  perlmini.o opmini.o miniperlmain.o   gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o   -lm -lcrypt -lutil
perlmini.o: In function `Perl_sys_init':
perlmini.c:(.text+0xc): undefined reference to `fpsetmask'
perlmini.o: In function `Perl_sys_init3':
perlmini.c:(.text+0x58): undefined reference to `fpsetmask'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [lib/buildcustomize.pl] Error code 1

make[3]: stopped in /usr/ports/lang/perl5.20/work/perl-5.20.2
1 error

make[3]: stopped in /usr/ports/lang/perl5.20/work/perl-5.20.2
Comment 1 Andrew Turner freebsd_committer 2015-06-24 16:32:00 UTC
Fixed in base r284769