1 |
On 20/01/18 00:10, Christoph Böhmwalder wrote: |
2 |
> Hey everyone, |
3 |
> |
4 |
> I tried building qtdeclarative-5.9.3 today, but the linker failed: |
5 |
> |
6 |
> $ cat build.log |
7 |
> ------- >8 ------- |
8 |
> g++-6.4.0 -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -shared -o libparticlesplugin.so .obj/plugin.o |
9 |
> -L/var/tmp/portage/dev-qt/qtdeclarative-5.9.3/work/qtdeclarative-opensource-src-5.9.3/lib -lQt5QuickParti |
10 |
> cles -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread |
11 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libQt5Gui.so:(*IND*+0x0): multiple definition of |
12 |
> `__bss_start' |
13 |
|
14 |
Is this for the profile upgrade? I had this too, because for some weird |
15 |
reason, emerge wants to rebuild qtdeclarative and qtgui before it |
16 |
rebuilds qtcore. So it tried to link the new PIC-enabled qtdeclarative |
17 |
against the old non-PIC qtcore. The result was this exact build error. |
18 |
|
19 |
If you indeed ran into this due to the @world rebuild that's required by |
20 |
the profile update, you can ignore it and resume the @world rebuild with |
21 |
--skipfirst. Or use --keep-going to skip over all build failures, and |
22 |
then rebuild failed packages manually at the end. |