1 |
Hello, |
2 |
|
3 |
On Fri, 19 Jan 2018, Christoph Böhmwalder wrote: |
4 |
>I tried building qtdeclarative-5.9.3 today, but the linker failed: |
5 |
> |
6 |
>$ cat build.log |
7 |
>g++-6.4.0 -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -shared -o libparticlesplugin.so .obj/plugin.o |
8 |
>-L/var/tmp/portage/dev-qt/qtdeclarative-5.9.3/work/qtdeclarative-opensource-src-5.9.3/lib -lQt5QuickParti |
9 |
>cles -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread |
10 |
>/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): multiple definition of |
11 |
> `__bss_start' |
12 |
[..] |
13 |
|
14 |
From the build log it seems you have compiled Qt5Gui (etc.) with |
15 |
g++-7.2.0, and now try to use g++-6.4.0. I don't think that works. |
16 |
|
17 |
Try again using 7.2.0 (unless you want to recompile qt with 6.4.0 |
18 |
again). |
19 |
|
20 |
There's a wiki page on updating gcc: |
21 |
https://wiki.gentoo.org/wiki/Upgrading_GCC |
22 |
|
23 |
Have a look at the output of |
24 |
|
25 |
revdep-rebuild -vp --library 'libstdc++.so.6' -- --exclude gcc |
26 |
|
27 |
(with either 6.4.0 or 7.2.0 selected), that should give you an idea |
28 |
what you forgot to recompile. |
29 |
|
30 |
HTH, |
31 |
-dnh |
32 |
|
33 |
-- |
34 |
My favourite electro-junk store acquired that [Microsoft Operations] |
35 |
Point of Sale POS more than a year ago. They still write up the |
36 |
receipts by hand. The computer the POS runs on is mostly used for |
37 |
web browsing. - Brian |