Fwd: Bug#328031: erlang: ftbfs [sparc] cp: cannot stat `lib/parsetools/ebin/*.beam'

Mikael Pettersson mikpe@REDACTED
Tue Sep 13 11:48:30 CEST 2005


François-Denis Gonthier writes:
 > Anyone got any problem building (or any experience at all) with building 
 > Erlang 10.b.7 on Sparc.
 > 
 > Erlang 10.b.7 recently got uploaded to the main Debian archive and it broke 
 > the build of 4 platform (mipsel, hppa, arm and sparc).
 > 
 > I will take any clues.
 > 
 > ----------  Forwarded Message  ----------
 > 
 > Subject: Bug#328031: erlang: ftbfs [sparc] cp: cannot stat 
 > `lib/parsetools/ebin/*.beam'
 > Date: 12 September 2005 22:56
 > From: Blars Blarson <blarson@REDACTED>
 > To: Debian Bug Tracking System <submit@REDACTED>
 > 
 > Package: erlang
 > Version: 1:10.b.7-1
 > Severity: serious
 > Justification: fails to build from source
 > 
 > erlang failed to build on a sparc buildd, duplicated on my sparc
 > pbuilder.
 > 
 > 
 > === Entering application hipe
 > make[4]: Entering directory `/build/buildd/erlang-10.b.7/lib/hipe/rtl'
 > /build/buildd/erlang-10.b.7/bin/sparc-unknown-linux-gnu/hipe_mkliterals -e >
 >  hipe_literals.hrl erlc -W   +debug_info +inline -o../ebin hipe_rtl_arch.erl
 > make[4]: *** [../ebin/hipe_rtl_arch.beam] Bus error
 > make[4]: Leaving directory `/build/buildd/erlang-10.b.7/lib/hipe/rtl'
 > make[4]: Entering directory `/build/buildd/erlang-10.b.7/lib/hipe/misc'
 > erlc -W   +debug_info  -o../ebin hipe_consttab.erl
 > make[4]: *** [../ebin/hipe_consttab.beam] Bus error

This log is line-wrap damaged, but in all cases it's erlc that SIGBUSes.
I don't have any Debian boxes, but R10B-7 builds fine for me on
a) SPARC/Solaris9, gcc-4.0.1
b) x86/Linux (Fedora Core 4), gcc-4.0.1
c) PowerPC/OSX 10.3.9, gcc-4.0.1

and I've successfully built similar versions on PowerPC/Linux (YDL4).

Since the Debian issues occur on multiple architectures, I suspect that
Debian's toolchain, i.e., its glibc+binutils+gcc combo, is busted.

Does R10B-6 build OK in the same environment(s)?

/Mikael



More information about the erlang-questions mailing list