[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#441633: gcc 4.2 can't build erlang on mips and mipsel



Package: gcc-4.2
Version: 4.2.1-5
Severity: critical

Hi!

Current gcc 4.2 fails to build erlang package on mips and mipsel
architectures. It works on all other architectures (I don't know about
m68k since it isn't compiled yet).

Linker error messages are the following (the same for both mips and mipsel):

obj/mipsel-unknown-linux-gnu/opt/hybrid/beam_emu.o: In function `process_main':
/build/buildd/erlang-11.b.5dfsg/erts/emulator/beam/beam_emu.c:4047:
undefined reference to `$L2120'
/build/buildd/erlang-11.b.5dfsg/erts/emulator/beam/beam_emu.c:4047:
relocation truncated to fit: R_MIPS_PC16 against `$L2120'
/build/buildd/erlang-11.b.5dfsg/erts/emulator/beam/beam_emu.c:4067:
undefined reference to `$L2131'
/build/buildd/erlang-11.b.5dfsg/erts/emulator/beam/beam_emu.c:4067:
relocation truncated to fit: R_MIPS_PC16 against `$L2131'
/build/buildd/erlang-11.b.5dfsg/erts/emulator/beam/beam_emu.c:4134:
undefined reference to `$L2154'
/build/buildd/erlang-11.b.5dfsg/erts/emulator/beam/beam_emu.c:4134:
relocation truncated to fit: R_MIPS_PC16 against `$L2154'
collect2: ld returned 1 exit status

Full buildd logs are:
http://buildd.debian.org/fetch.cgi?&pkg=erlang&ver=1%3A11.b.5dfsg-5&arch=mipsel&stamp=1189372829&file=log
http://buildd.debian.org/fetch.cgi?&pkg=erlang&ver=1%3A11.b.5dfsg-5&arch=mips&stamp=1189372894&file=log

It seems to me that it's not a bug in erlang itself.

Cheers!
-- 
Sergei Golovan




Reply to: