undefined reference to 'erts_restore_fpu' valgrind debug build in R13B04
Thu Sep 16 18:55:35 CEST 2010
I am attempting to build (make valgrind FLAVOR=smp) a valgrind runtime and received the following error. Note that a normal debug build worked fine.
obj/x86_64-unknown-linux-gnu/valgrind/smp/hipe_amd64_bifs.o: In function `nbif_handle_fp_exception':
/home/joe/otp_src_R13B04/erts/emulator/x86_64-unknown-linux-gnu/valgrind/smp/hipe_amd64_bifs.S:287: undefined reference to `erts_restore_fpu'
collect2: ld returned 1 exit status
make: *** [/home/joe/otp_src_R13B04/bin/x86_64-unknown-linux-gnu/beam.valgrind.smp] Error 1
make: Leaving directory `/home/joe/otp_src_R13B04/erts/emulator'
make: *** [valgrind] Error 2
In some old mailing list posts I found that it might be related to unreliable floating point support. Running configure in erts it looks good:
checking for unreliable floating point execptions... reliable
I assume it's related to hipe being enabled. Anyone else run into this?
Name: Joseph A. Williams
More information about the erlang-questions