[Pkg-chromium-maint] Bug#616662: FTBFS: internal error in value_from_output_section, at ../../gold/reloc.cc:1508

Timo Juhani Lindfors timo.lindfors at iki.fi
Sun Mar 6 11:17:13 UTC 2011


Package: chromium-browser
Version: 10.0.648.114~r75702-1
Severity: serious

Steps to reproduce:
1) apt-get source chromium-browser
2) cd chromium-browser-10.0.648.114~r75702
3) debuild

Expected results:
3) chromium-browser builds from source

Actual results:
3) build fails with

  CC(target) out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/arm/h264pred_init_arm.o
  CC(target) out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/arm/mpegvideo_arm.o
  CC(target) out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/arm/mpegvideo_armv5te.o
  CC(target) out/Release/obj.target/ffmpegsumo/third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/arm/mpegvideo_armv5te_s.o
  SOLINK(target) out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so
/usr/bin/ld.gold.real: internal error in value_from_output_section, at ../../gold/reloc.cc:1508
collect2: ld returned 1 exit status
make[1]: *** [out/Release/obj.target/third_party/ffmpeg/libffmpegsumo.so] Error 1
make[1]: Leaving directory `/build/debian/debian-chromium-browser/chromium-browser-10.0.648.114~r75702/src'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

More info:
1) full build log attached.
2) binutils is version 2.21.0.20110302-1
3) the internal error happens in

// Get the output value corresponding to an input offset if we
// couldn't find it in the hash table.

template<int size>
typename elfcpp::Elf_types<size>::Elf_Addr
Merged_symbol_value<size>::value_from_output_section(
    const Relobj* object,
    unsigned int input_shndx,
    typename elfcpp::Elf_types<size>::Elf_Addr input_offset) const
{
  section_offset_type output_offset;
  bool found = object->merge_map()->get_output_offset(NULL, input_shndx,
                                                      input_offset,
                                                      &output_offset);

  // If this assertion fails, it means that some relocation was
  // against a portion of an input merge section which we didn't map
  // to the output file and we didn't explicitly discard.  We should
  // always map all portions of input merge sections.
  gold_assert(found);

  if (output_offset == -1)
    return 0;
  else
    return this->output_start_address_ + output_offset;
}

4) I'm rebuilding with VERBOSE=1 so that I can get the exact ld command
to see if it can be reproduced and then check if older ld.gold makes
this happen also.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: chromium-browser_10.0.648.114~r75702-1_armel.build.xz
Type: application/octet-stream
Size: 18748 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20110306/b200c0a2/attachment-0001.obj>
-------------- next part --------------


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash


More information about the Pkg-chromium-maint mailing list