GNU linker error

Use this forum for all posts and questions about the free QCAD Community Edition version 3

Moderator: andrew

Post Reply
sagitter
Junior Member
Posts: 15
Joined: Mon Dec 05, 2016 12:31 pm

GNU linker error

Post by sagitter » Fri Jul 20, 2018 11:19 am

Hi all.

I'm getting a linker error when try to compile qcad-3.21.2.2 on Fedora 29 (devel branch):

Code: Select all

g++ -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-rpath,'$ORIGIN' -Wl,-O1 -Wl,-rpath-link,/usr/lib64 -shared -o libqcadoperations.so release/RAddObjectOperation.o release/RAddObjectsOperation.o release/RChangePropertyOperation.o release/RClickReferencePointOperation.o release/RClipboardOperation.o release/RCopyOperation.o release/RDeleteAllEntitiesOperation.o release/RDeleteObjectOperation.o release/RDeleteObjectsOperation.o release/RDeleteSelectionOperation.o release/RMixedOperation.o release/RModifyObjectOperation.o release/RModifyObjectsOperation.o release/RMoveReferencePointOperation.o release/RMoveSelectionOperation.o release/RPasteOperation.o release/RScaleSelectionOperation.o  -L/builddir/build/BUILD/qcad-3.21.2.2/release -lqcadcore -lqcadentity -lQt5PrintSupport -lQt5Svg -lQt5OpenGL -lQt5Help -lQt5UiTools -lQt5Designer -lQt5Widgets -lQt5Gui -lQt5Script -lQt5ScriptTools -lQt5Sql -lQt5XmlPatterns -lQt5Network -lQt5Xml -lQt5Core -lGL -lpthread  
`.text.unlikely' referenced in section `.text' of release/RDeleteObjectOperation.o: defined in discarded section `.text.unlikely[_ZN5QListI14QSharedPointerI7RObjectEE18detach_helper_growEii]' of release/RDeleteObjectOperation.o
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile.Release:135: ../../release/libqcadoperations.so] Error 1
make[3]: Leaving directory '/builddir/build/BUILD/qcad-3.21.2.2/src/operations'
Full build log https://koji.fedoraproject.org/koji/get ... =build.log
Dependencies list: https://kojipkgs.fedoraproject.org//wor ... 6/root.log

sagitter
Junior Member
Posts: 15
Joined: Mon Dec 05, 2016 12:31 pm

Re: GNU linker error

Post by sagitter » Sun Jul 22, 2018 4:18 pm

I used no parallel jobs with Make for compiling without errors.

Post Reply

Return to “QCAD Community Edition”