[Bug 219633] devel/qt5-qdoc: build fails due to __bss_start at Qt_5 and _edata at Qt_5 being multiply defined by qt5-core

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 29 13:12:13 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219633

            Bug ID: 219633
           Summary: devel/qt5-qdoc: build fails due to __bss_start at Qt_5
                    and _edata at Qt_5 being multiply defined by qt5-core
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: jau at iki.fi
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

See below an example how the build fails on FreeBSD-10.3-stable on amd64...
The multiple definitions come from qt5-core, but other than that I don't
have the foggiest idea why this happens.


--- ../../bin/qdoc ---
c++ -Wl,--as-needed -fstack-protector -Wl,--gc-sections -pthread
-Wl,-rpath,/usr/local/lib/qt5 -o ../../bin/qdoc .obj/atom.o  .obj/codechunk.o 
.obj/codemarker.o  .obj/codeparser.o  .obj/config.o  .obj/cppcodemarker.o 
.obj/cppcodeparser.o  .obj/doc.o  .obj/editdistance.o  .obj/generator.o 
.obj/helpprojectwriter.o  .obj/htmlgenerator.o  .obj/location.o  .obj/main.o 
.obj/node.o  .obj/openedlist.o  .obj/plaincodemarker.o  .obj/puredocparser.o 
.obj/qdocdatabase.o  .obj/qdoctagfiles.o  .obj/qdocindexfiles.o  .obj/quoter.o 
.obj/separator.o  .obj/text.o  .obj/tokenizer.o  .obj/tree.o  .obj/yyindent.o 
.obj/jscodemarker.o  .obj/qmlcodemarker.o  .obj/qmlcodeparser.o 
.obj/qmlmarkupvisitor.o  .obj/qmlvisitor.o  
-L/usr/ports/devel/qt5-qdoc/work/qttools-opensource-src-5.7.1/lib
-L/usr/local/lib -L/usr/local/lib/qt5 -lQt5QmlDevTools -lQt5Core
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): multiple
definition of `__bss_start at Qt_5'
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): first defined
here
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): multiple
definition of `_edata at Qt_5'
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x27c28): first defined
here
/usr/local/lib/qt5/libQt5Core.so:(.data.rel.ro.local+0x2b3d8): multiple
definition of `_end at Qt_5'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [../../bin/qdoc] Error code 1

make[1]: stopped in
/usr/ports/devel/qt5-qdoc/work/qttools-opensource-src-5.7.1/src/qdoc
1 error

make[1]: stopped in
/usr/ports/devel/qt5-qdoc/work/qttools-opensource-src-5.7.1/src/qdoc
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list