[erlang-questions] problems building r11b-3

Mikael Pettersson <>
Wed Dec 10 15:07:17 CET 2008


Ulf Wiger writes:
 > Does anyone know why r11b-3 and r11b-5 fail to build on
 > a fresh Ubuntu 8.10, whereas r12b-5 builds just fine?
 > 
 > BR,
 > Ulf W
 > 
 > obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_bifs.o: In function
 > `nbif_handle_fp_exception':
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/i686-pc-linux-gnu/opt/hybrid/hipe_x86_bifs.S:269:
 > undefined reference to `erts_restore_fpu'
 > obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function `my_sigaction':
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/hipe/hipe_x86_signal.c:220:
 > undefined reference to `INIT'
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/hipe/hipe_x86_signal.c:230:
 > undefined reference to `__next_sigaction'
 > obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function
 > `hipe_signal_init':
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/hipe/hipe_x86_signal.c:305:
 > undefined reference to `INIT'
 > obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_signal.o: In function `my_sigaction':
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/hipe/hipe_x86_signal.c:220:
 > undefined reference to `INIT'
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/hipe/hipe_x86_signal.c:230:
 > undefined reference to `__next_sigaction'
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/hipe/hipe_x86_signal.c:220:
 > undefined reference to `INIT'
 > /home/uwiger/src/otp/otp_src_R11B-3/erts/emulator/hipe/hipe_x86_signal.c:230:
 > undefined reference to `__next_sigaction'
 > collect2: ld returned 1 exit status

Yes.

If you 'diff -u' hipe_x86_signal.c between r11b-whatever and
r12b-5 you'll find that a glibc version check has been changed.
Apply that change to r11b-whatever and you should be fine.



More information about the erlang-questions mailing list