Debian Bug report logs - #442965
erlang: FTBFS: hipe_x86_bifs.S:278: undefined reference to `erts_restore_fpu'

version graph

Package: erlang; Maintainer for erlang is Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>; Source for erlang is src:erlang.

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Tue, 18 Sep 2007 07:18:06 UTC

Severity: serious

Tags: moreinfo, unreproducible

Found in version erlang/1:11.b.5dfsg-5

Done: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Erlang Packagers <erlang-pkg-devel@lists.berlios.de>:
Bug#442965; Package erlang. Full text and rfc822 format available.

Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Erlang Packagers <erlang-pkg-devel@lists.berlios.de>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: erlang: FTBFS: hipe_x86_bifs.S:278: undefined reference to `erts_restore_fpu'
Date: Tue, 18 Sep 2007 09:10:11 +0200
Package: erlang
version: 1:11.b.5dfsg-5
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20070917 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

Relevant part:
gcc -o /build/user/erlang-11.b.5dfsg/bin/i686-pc-linux-gnu/beam.hybrid \
	  -Wl,-export-dynamic obj/i686-pc-linux-gnu/opt/hybrid/erl_main.o		obj/i686-pc-linux-gnu/opt/hybrid/preload.o obj/i686-pc-linux-gnu/opt/hybrid/erl_pbifs.o		obj/i686-pc-linux-gnu/opt/hybrid/benchmark.o obj/i686-pc-linux-gnu/opt/hybrid/erl_alloc.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_mtrace.o obj/i686-pc-linux-gnu/opt/hybrid/erl_alloc_util.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_goodfit_alloc.o obj/i686-pc-linux-gnu/opt/hybrid/erl_bestfit_alloc.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_afit_alloc.o obj/i686-pc-linux-gnu/opt/hybrid/erl_instrument.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_init.o obj/i686-pc-linux-gnu/opt/hybrid/erl_atom_table.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_table.o obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_ddll.o  	obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_guard.o obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_info.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_op.o obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_os.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_lists.o obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_trace.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_wrap.o obj/i686-pc-linux-gnu/opt/hybrid/erl_trace.o		obj/i686-pc-linux-gnu/opt/hybrid/copy.o obj/i686-pc-linux-gnu/opt/hybrid/utils.o		obj/i686-pc-linux-gnu/opt/hybrid/bif.o obj/i686-pc-linux-gnu/opt/hybrid/io.o 			obj/i686-pc-linux-gnu/opt/hybrid/erl_printf_term.o obj/i686-pc-linux-gnu/opt/hybrid/erl_debug.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_md5.o obj/i686-pc-linux-gnu/opt/hybrid/erl_message.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_process.o obj/i686-pc-linux-gnu/opt/hybrid/erl_process_dict.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_arith.o obj/i686-pc-linux-gnu/opt/hybrid/time.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_time_sup.o obj/i686-pc-linux-gnu/opt/hybrid/external.o		obj/i686-pc-linux-gnu/opt/hybrid/dist.o obj/i686-pc-linux-gnu/opt/hybrid/binary.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_db.o obj/i686-pc-linux-gnu/opt/hybrid/erl_db_util.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_db_hash.o obj/i686-pc-linux-gnu/opt/hybrid/erl_db_tree.o		obj/i686-pc-linux-gnu/opt/hybrid/fix_alloc.o obj/i686-pc-linux-gnu/opt/hybrid/big.o			obj/i686-pc-linux-gnu/opt/hybrid/hash.o obj/i686-pc-linux-gnu/opt/hybrid/index.o		obj/i686-pc-linux-gnu/opt/hybrid/atom.o obj/i686-pc-linux-gnu/opt/hybrid/module.o		obj/i686-pc-linux-gnu/opt/hybrid/export.o obj/i686-pc-linux-gnu/opt/hybrid/register.o		obj/i686-pc-linux-gnu/opt/hybrid/break.o obj/i686-pc-linux-gnu/opt/hybrid/erl_async.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_lock_check.o obj/i686-pc-linux-gnu/opt/hybrid/ggc.o 		obj/i686-pc-linux-gnu/opt/hybrid/erl_gc.o obj/i686-pc-linux-gnu/opt/hybrid/erl_nmgc.o		obj/i686-pc-linux-gnu/opt/hybrid/erl_posix_str.o obj/i686-pc-linux-gnu/opt/hybrid/erl_bits.o 		obj/i686-pc-linux-gnu/opt/hybrid/erl_math.o obj/i686-pc-linux-gnu/opt/hybrid/erl_fun.o             obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_port.o obj/i686-pc-linux-gnu/opt/hybrid/erl_term.o 		obj/i686-pc-linux-gnu/opt/hybrid/erl_node_tables.o obj/i686-pc-linux-gnu/opt/hybrid/erl_monitors.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_process_dump.o obj/i686-pc-linux-gnu/opt/hybrid/erl_obsolete.o	obj/i686-pc-linux-gnu/opt/hybrid/erl_bif_timer.o obj/i686-pc-linux-gnu/opt/hybrid/erl_port_task.o obj/i686-pc-linux-gnu/opt/hybrid/beam_emu.o		obj/i686-pc-linux-gnu/opt/hybrid/beam_opcodes.o obj/i686-pc-linux-gnu/opt/hybrid/beam_load.o		obj/i686-pc-linux-gnu/opt/hybrid/beam_bif_load.o obj/i686-pc-linux-gnu/opt/hybrid/beam_debug.o		obj/i686-pc-linux-gnu/opt/hybrid/beam_bp.o obj/i686-pc-linux-gnu/opt/hybrid/beam_catches.o obj/i686-pc-linux-gnu/opt/hybrid/sys.o obj/i686-pc-linux-gnu/opt/hybrid/driver_tab.o obj/i686-pc-linux-gnu/opt/hybrid/unix_efile.o obj/i686-pc-linux-gnu/opt/hybrid/gzio.o obj/i686-pc-linux-gnu/opt/hybrid/elib_malloc.o obj/i686-pc-linux-gnu/opt/hybrid/elib_memmove.o obj/i686-pc-linux-gnu/opt/hybrid/sys_float.o obj/i686-pc-linux-gnu/opt/hybrid/sys_time.o obj/i686-pc-linux-gnu/opt/hybrid/erl_poll.kp.o obj/i686-pc-linux-gnu/opt/hybrid/erl_check_io.kp.o obj/i686-pc-linux-gnu/opt/hybrid/erl_poll.nkp.o obj/i686-pc-linux-gnu/opt/hybrid/erl_check_io.nkp.o obj/i686-pc-linux-gnu/opt/hybrid/erl_mseg.o obj/i686-pc-linux-gnu/opt/hybrid/erl_unix_sys_ddll.o obj/i686-pc-linux-gnu/opt/hybrid/erl_mtrace_sys_wrap.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_bif0.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_bif1.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_bif2.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_debug.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_gc.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_mode_switch.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_native_bif.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_stack.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_glue.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_bifs.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_signal.o obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_stack.o  obj/i686-pc-linux-gnu/opt/hybrid/efile_drv.o obj/i686-pc-linux-gnu/opt/hybrid/inet_drv.o obj/i686-pc-linux-gnu/opt/hybrid/zlib_drv.o obj/i686-pc-linux-gnu/opt/hybrid/ram_file_drv.o obj/i686-pc-linux-gnu/opt/hybrid/ttsl_drv.o -lutil -ldl -lm   -lpthread -lncurses -L../lib/internal/i686-pc-linux-gnu /build/user/erlang-11.b.5dfsg/erts/obj/i686-pc-linux-gnu/libz.a -lethread -lpthread -lerts_internal_r -lrt
obj/i686-pc-linux-gnu/opt/hybrid/hipe_x86_bifs.o: In function `nbif_handle_fp_exception':
/build/user/erlang-11.b.5dfsg/erts/emulator/i686-pc-linux-gnu/opt/hybrid/hipe_x86_bifs.S:278: undefined reference to `erts_restore_fpu'
collect2: ld returned 1 exit status
make[4]: *** [/build/user/erlang-11.b.5dfsg/bin/i686-pc-linux-gnu/beam.hybrid] Error 1
make[4]: Leaving directory `/build/user/erlang-11.b.5dfsg/erts/emulator'
make[3]: *** [opt] Error 2
make[3]: Leaving directory `/build/user/erlang-11.b.5dfsg/erts/emulator'
make[2]: *** [hybrid] Error 2
make[2]: Leaving directory `/build/user/erlang-11.b.5dfsg/erts'
make[1]: *** [emulator] Error 2
make[1]: Leaving directory `/build/user/erlang-11.b.5dfsg'
make: *** [build-hipe-stamp] Error 2

The full build log is available from
http://people.debian.org/~lucas/logs/2007/09/17

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |




Information forwarded to debian-bugs-dist@lists.debian.org, Erlang Packagers <erlang-pkg-devel@lists.berlios.de>:
Bug#442965; Package erlang. Full text and rfc822 format available.

Acknowledgement sent to "Sergei Golovan" <sgolovan@nes.ru>:
Extra info received and forwarded to list. Copy sent to Erlang Packagers <erlang-pkg-devel@lists.berlios.de>. Full text and rfc822 format available.

Message #10 received at 442965@bugs.debian.org (full text, mbox):

From: "Sergei Golovan" <sgolovan@nes.ru>
To: "Lucas Nussbaum" <lucas@lucas-nussbaum.net>, 442965@bugs.debian.org
Subject: Re: [SPAM] - Bug#442965: erlang: FTBFS: hipe_x86_bifs.S:278: undefined reference to `erts_restore_fpu' - Bayesian Filter detected spam
Date: Tue, 18 Sep 2007 21:55:27 +0400
[Message part 1 (text/plain, inline)]
On 9/18/07, Lucas Nussbaum <lucas@lucas-nussbaum.net> wrote:
> Package: erlang
> version: 1:11.b.5dfsg-5
> Severity: serious
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20070917 qa-ftbfs
> Justification: FTBFS on i386
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on i386.
>
> Relevant part:

In fact, relevant part is the following line of erts/configure output:

checking for unreliable floating point execptions... unreliable;
testing in software instead

These floating point exceptions are tested using the attached program
fpe-test.c. I never see it failing on i386 architecture.

I suspect that it failed because of AMD64, but I can't reproduce the
failure on AMD64 using linux kernels for both 686 and amd64 (Debian
architecture is i386).

I have to ask about this in erlang mailing list.

Thanks for report!
-- 
Sergei Golovan
[fpe-test.c (application/octet-stream, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Erlang Packagers <erlang-pkg-devel@lists.berlios.de>:
Bug#442965; Package erlang. Full text and rfc822 format available.

Acknowledgement sent to "Sergei Golovan" <sgolovan@nes.ru>:
Extra info received and forwarded to list. Copy sent to Erlang Packagers <erlang-pkg-devel@lists.berlios.de>. Full text and rfc822 format available.

Message #15 received at 442965@bugs.debian.org (full text, mbox):

From: "Sergei Golovan" <sgolovan@nes.ru>
To: "Lucas Nussbaum" <lucas@lucas-nussbaum.net>, 442965@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [SPAM] - Bug#442965: erlang: FTBFS: hipe_x86_bifs.S:278: undefined reference to `erts_restore_fpu' - Bayesian Filter detected spam
Date: Wed, 19 Sep 2007 17:37:38 +0400
tags 442965 + moreinfo unreproducible
thanks

Hi, Lucas!

Could you give some more info on this bug? I would like to see the
results of erts/configure run (specifically, erts/config.log and
erts/i686-unknown-linux-gnu/config.h). Also, it would be useful if you
give me a preprocessed fpe-test.c (from the previous my answer to the
bugreport) - preprocessed in the same chroot as where erlang was
built.

For now, I mark this bug as unreproducible.

Cheers!
-- 
Sergei Golovan




Tags added: moreinfo, unreproducible Request was from "Sergei Golovan" <sgolovan@nes.ru> to control@bugs.debian.org. (Wed, 19 Sep 2007 13:48:18 GMT) Full text and rfc822 format available.

Reply sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #22 received at 442965-done@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: Sergei Golovan <sgolovan@nes.ru>
Cc: 442965-done@bugs.debian.org
Subject: Re: [SPAM] - Bug#442965: erlang: FTBFS: hipe_x86_bifs.S:278: undefined reference to `erts_restore_fpu' - Bayesian Filter detected spam
Date: Wed, 19 Sep 2007 16:43:40 +0200
On 18/09/07 at 21:55 +0400, Sergei Golovan wrote:
> In fact, relevant part is the following line of erts/configure output:
> 
> checking for unreliable floating point execptions... unreliable;
> testing in software instead

Hi,

I just tried to rerun that build, but now, I get:
checking for unreliable floating point execptions... reliable

So I'm closing this bug for now. I'll reopen if I can provide more info.

> I suspect that it failed because of AMD64, but I can't reproduce the
> failure on AMD64 using linux kernels for both 686 and amd64 (Debian
> architecture is i386).

I'm using an i386 chroot on AMD64, using linux32 so that the kernel
looks like an i386 one inside the chroot.

Sorry for the noise,
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 18 Oct 2007 07:30:00 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 19:59:33 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.