Hello,

On Fri, 19 Jan 2018, Christoph Böhmwalder wrote:
>I tried building qtdeclarative-5.9.3 today, but the linker failed:
>
>$ cat build.log
>g++-6.4.0 -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -shared -o 
>libparticlesplugin.so .obj/plugin.o
>-L/var/tmp/portage/dev-qt/qtdeclarative-5.9.3/work/qtdeclarative-opensource-src-5.9.3/lib
> -lQt5QuickParti
>cles -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
>/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0):
> multiple definition of
> `__bss_start'
[..]

From the build log it seems you have compiled Qt5Gui (etc.) with
g++-7.2.0, and now try to use g++-6.4.0. I don't think that works.

Try again using 7.2.0 (unless you want to recompile qt with 6.4.0
again).

There's a wiki page on updating gcc:
https://wiki.gentoo.org/wiki/Upgrading_GCC

Have a look at the output of

    revdep-rebuild -vp --library 'libstdc++.so.6' -- --exclude gcc

(with either 6.4.0 or 7.2.0 selected), that should give you an idea
what you forgot to recompile.

HTH,
-dnh

-- 
My favourite electro-junk store acquired that [Microsoft Operations]
Point of Sale POS more than a year ago.  They still write up the
receipts by hand.  The computer the POS runs on is mostly used for
web browsing.        - Brian

Reply via email to