[erlang-questions] undefined reference to 'erts_restore_fpu' valgrind debug build in R13B04

Joe Williams joe@REDACTED
Thu Sep 16 19:47:02 CEST 2010


Scratch that, hipe wasn't actually disabled. It indeed does work without hipe enabled.

-Joe


On Sep 16, 2010, at 10:26 AM, Joe Williams wrote:

> 
> FWIW, I did a make clean, configured without hipe, rebuilt and got the same result.
> 
> -Joe
> 
> 
> On Sep 16, 2010, at 9:55 AM, Joe Williams wrote:
> 
>> 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.
>> 
>> <snip>
>> 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[1]: *** [/home/joe/otp_src_R13B04/bin/x86_64-unknown-linux-gnu/beam.valgrind.smp] Error 1
>> make[1]: 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:
>> 
>> <snip>
>> checking for unreliable floating point execptions... reliable
>> <snip>
>> 
>> I assume it's related to hipe being enabled. Anyone else run into this?
>> 
>> Thanks.
>> -Joe
>> 
>> 
>> Name: Joseph A. Williams
>> Email: joe@REDACTED
>> Blog: http://www.joeandmotorboat.com/
>> Twitter: http://twitter.com/williamsjoe
>> 
>> 
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>> 
> 
> Name: Joseph A. Williams
> Email: joe@REDACTED
> Blog: http://www.joeandmotorboat.com/
> Twitter: http://twitter.com/williamsjoe
> 
> 
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
> 

Name: Joseph A. Williams
Email: joe@REDACTED
Blog: http://www.joeandmotorboat.com/
Twitter: http://twitter.com/williamsjoe



More information about the erlang-questions mailing list