[ Forwarded from http://bugs.debian.org/441633 ]
From: Sergei Golovan <[EMAIL PROTECTED]> Current gcc 4.2 fails to build erlang package on mips and mipsel architectures. It works on all other architectures. 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 -- Summary: [4.2 Regression] undefined reference to `$L2120' at -O1 Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com GCC target triplet: mips-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33848