[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847822: qt3d-opensource-src: FTBFS on powerpc: __atomic_fetch_add_8 undefined



On domingo, 11 de diciembre de 2016 22:15:17 ART Aaron M. Ucko wrote:
> Source: qt3d-opensource-src
> Version: 5.7.1~20161122+dfsg-2
> Severity: important
> Justification: fails to build from source
> 
> The latest build of qt3d-opensource-src for powerpc (admittedly not a
> release architecture) failed:
> 
>   g++ -specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,--as-needed
> -Wl,--no-undefined -Wl,--version-script,Qt3DCore.version -Wl,-O1
> -Wl,--enable-new-dtags -shared -Wl,-soname,libQt53DCore.so.5 -o
> libQt53DCore.so.5.7.1 .obj/qtickclock.o ...
> obj/moc_propertychangehandler_p.o  -lQt5Gui -lQt5Network -lQt5Core
> -lpthread -lGL .obj/qnodeid.o: In function `std::__atomic_base<unsigned
> long long>::fetch_add(unsigned long long, std::memory_order)':
> /usr/include/c++/6/bits/atomic_base.h:514: undefined reference to
> `__atomic_fetch_add_8' collect2: error: ld returned 1 exit status
> 
> Could you please take a look?  Linking against -latomic might help;

Flags are really set from qtbase itself. And qtbase requires gcc atomics 
support (not sure if that's really involved, but I think so).


-- 
http://xkcd.com/162/

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: