i386 www/chromium - BFD internal error: bfd/merge.c line 863 in bfd_vma _bfd_merged_section_offset()

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

i386 www/chromium - BFD internal error: bfd/merge.c line 863 in bfd_vma _bfd_merged_section_offset()

Stuart Henderson
I'm going to retry the build from scratch in case there was a problem earlier
triggering it, but I'm currently seeing this in www/chromium build.

Could be out-of-memory-related but I've hit exactly the same error a few times
which suggests that's unlikely.

[696/696] LINK ./chrome
FAILED: chrome
python "../../build/toolchain/gcc_link_wrapper.py" --output="./chrome" -- c++ -pie -fPIC -Wl,-z,wxneeded -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,--no-as-needed -lpthread -Wl,--as-needed -m32 -Wl,-O1 -Wl,--gc-sections -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,-rpath-link,/usr/X11R6/lib -Wl,-E -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -Wl,--no-keep-memory -o "./chrome" -Wl,--start-group @"./chrome.rsp"  -Wl,--end-group   -lpangocairo-1.0 -lpangoft2-1.0 -lharfbuzz -lgraphite2 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lintl -lpcre -lpixman-1 -lfontconfig -lexpat -lpng -lz -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -lxcb -lXau -lXdmcp -lX11-xcb -lXcomposite -lXcursor -lXdamage -lXfixes -lXi -lXtst -lgmodule-2.0 -lgthread-2.0 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lcups -ldbus-1 -levent -lXss -lXrandr -lgconf-2 -lgio-2.0 -lsndio -lm -lGL -lpci -latk-1.0 -lgtk-3 -latk-bridge-2.0 -latspi -lgdk-3 -lXinerama -lepoxy -lcairo-gobject -lfreetype -lgdk_pixbuf-2.0 -lxslt -lxml2 -lexecinfo
obj/third_party/libwebm/libwebm.a(mkvmuxerutil.o): In function `mkvmuxer::MakeUID(unsigned int*)':
../../third_party/libwebm/source/mkvmuxer/mkvmuxerutil.cc:(.text._ZN8mkvmuxer7MakeUIDEPj+0x21): warning: rand_r() is not random, it is deterministic.
obj/third_party/libvpx/libvpx.a(add_noise.o): In function `vpx_plane_add_noise_c':
../../third_party/libvpx/source/libvpx/vpx_dsp/add_noise.c:(.text.vpx_plane_add_noise_c+0xa5): warning: rand() may return deterministic values, is that what you want?
obj/services/resource_coordinator/lib/coordinator_impl.o: In function `memory_instrumentation::CoordinatorImpl::FinalizeGlobalMemoryDumpIfAllManagersReplied()':
../../services/resource_coordinator/memory_instrumentation/coordinator_impl.cc:(.text._ZN22memory_instrumentation15CoordinatorImpl44FinalizeGlobalMemoryDumpIfAllManagersRepliedEv+0x9f6): warning: sprintf() is often misused, please use snprintf()
obj/third_party/freetype/freetype_source/sfnt.o: In function `sfnt_get_ps_name':
../../third_party/freetype/src/src/sfnt/sfnt.c:(.text.sfnt_get_ps_name+0x4d2): warning: strcpy() is almost always misused, please use strlcpy()
obj/skia/libskia.a(SkSLCPPCodeGenerator.o): In function `SkSL::CPPCodeGenerator::writef(char const*, char*)':
../../third_party/skia/src/sksl/SkSLCPPCodeGenerator.cpp:(.text._ZN4SkSL16CPPCodeGenerator6writefEPKcPc+0x81): warning: vsprintf() is often misused, please use vsnprintf()
obj/third_party/icu/libicuuc.a(brkiter.o): In function `icu_59::BreakIterator::makeInstance(icu_59::Locale const&, int, UErrorCode&)':
../../third_party/icu/source/common/brkiter.cpp:(.text._ZN6icu_5913BreakIterator12makeInstanceERKNS_6LocaleEiR10UErrorCode+0x119): warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libglib-2.0.so.4200.6: warning: stpcpy() is dangerous; do not use it
obj/third_party/usrsctp/libusrsctp.a(user_environment.o): In function `read_random':
../../third_party/usrsctp/usrsctplib/usrsctplib/user_environment.c:(.text.read_random+0x31): warning: random() may return deterministic values, is that what you want?
/usr/bin/ld: BFD 2.17 internal error, aborting at /usr/src/gnu/usr.bin/binutils-2.17/bfd/merge.c line 863 in bfd_vma _bfd_merged_section_offset(bfd *, asection **, void *, bfd_vma)

/usr/bin/ld: Please report this bug.

c++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error 1 in www/chromium (Makefile:184 'do-build': @cd /usr/obj/ports/chromium-63.0.3239.132/chromium-63.0.3239.132 && env -i CC=cc PYTHO...)
===> Exiting www/chromium with an error
*** Error 1 in www/chromium (/usr/ports/infrastructure/mk/bsd.port.mk:2738 '/usr/obj/ports/chromium-63.0.3239.132/.build_done')
*** Error 1 in www/chromium (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'build')
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147 'build')
Error: job failed with 256 on i386-2