Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-3388

Linking issue in corelibs/U2View

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14
    • Fix Version/s: 1.14.1
    • Component/s: None
    • Labels:
    • Environment:

      Mageia 5 x86_64
      GCC 4.9.2 (snapshot), Qt4 4.8.6

    • Tests Type:
      Untestable
    • Sprint:
      DEV-11/09/2016

      Description

      I'm the maintainer of the Ugene package for Mageia (currently available only to users of the development version of Mageia 5).

      I'm faced with an linking issue when building Ugene with GCC 4.9.2 (dev snapshot). At first I thought it was an underlinking issue triggered by my use of the "Wl,-no-undefined" LDFLAG, but the issue is still there without this flag.

      cd src/corelibs/U2Gui/ && make -f Makefile 
      make[1]: Entering directory '/home/akien/Mageia/Checkout/ugene/BUILD/ugene-1.14.0/src/corelibs/U2Gui'
      make -f Makefile.Release
      make[2]: Entering directory '/home/akien/Mageia/Checkout/ugene/BUILD/ugene-1.14.0/src/corelibs/U2Gui'
      rm -f libU2Gui.so.1.0.0 libU2Gui.so libU2Gui.so.1 libU2Gui.so.1.0
      g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-O1 -shared -Wl,-soname,libU2Gui.so.1 -o libU2Gui.so.1.0.0 _tmp/obj/release/MainWindow.o _tmp/obj/release/Notification.o _tmp/obj/release/NotificationWidget.o _tmp/obj/release/ObjectViewModel.o _tmp/obj/release/ObjectViewTasks.o _tmp/obj/release/OpenViewTask.o _tmp/obj/release/ProjectParsing.o _tmp/obj/release/UnloadDocumentTask.o _tmp/obj/release/GroupHeaderImageWidget.o _tmp/obj/release/GroupOptionsWidget.o _tmp/obj/release/OptionsPanel.o _tmp/obj/release/OptionsPanelGroup.o _tmp/obj/release/OptionsPanelWidget.o _tmp/obj/release/OPWidgetFactory.o _tmp/obj/release/OPWidgetFactoryRegistry.o _tmp/obj/release/ShowHideSubgroupWidget.o _tmp/obj/release/AddNewDocumentDialogImpl.o _tmp/obj/release/AuthenticationDialog.o _tmp/obj/release/AuthenticationWidget.o _tmp/obj/release/BaseDocumentFormatConfigurators.o _tmp/obj/release/BreakpointConditionEditDialog.o _tmp/obj/release/CreateAnnotationDialog.o _tmp/obj/release/CreateAnnotationWidgetController.o _tmp/obj/release/CreateDocumentFromTextDialogController.o _tmp/obj/release/CreateObjectRelationDialogController.o _tmp/obj/release/CredentialsAskerGui.o _tmp/obj/release/DialogUtils.o _tmp/obj/release/DocumentFormatComboboxController.o _tmp/obj/release/DownloadRemoteFileDialog.o _tmp/obj/release/EditQualifierDialog.o _tmp/obj/release/EditSequenceDialogController.o _tmp/obj/release/ExportAnnotations2CSVTask.o _tmp/obj/release/ExportAnnotationsDialog.o _tmp/obj/release/ExportDocumentDialogController.o _tmp/obj/release/ExportImageDialog.o _tmp/obj/release/ExportObjectUtils.o _tmp/obj/release/GlassView.o _tmp/obj/release/GObjectComboBoxController.o _tmp/obj/release/GraphUtils.o _tmp/obj/release/GScrollBar.o _tmp/obj/release/GUIUtils.o _tmp/obj/release/HBar.o _tmp/obj/release/HelpButton.o _tmp/obj/release/ImportDialogsFactories.o _tmp/obj/release/InputWidgetsControllers.o _tmp/obj/release/LastUsedDirHelper.o _tmp/obj/release/ObjectViewTreeController.o _tmp/obj/release/PositionSelector.o _tmp/obj/release/ProjectDocumentComboBoxController.o _tmp/obj/release/ProjectTreeItemSelectorDialog.o _tmp/obj/release/RangeSelector.o _tmp/obj/release/RegionSelector.o _tmp/obj/release/RemovePartFromSequenceDialogController.o _tmp/obj/release/SaveDocumentGroupController.o _tmp/obj/release/ScaleBar.o _tmp/obj/release/ScriptEditorDelegate.o _tmp/obj/release/ScriptEditorDialog.o _tmp/obj/release/ScriptEditorWidget.o _tmp/obj/release/ScriptHighlighter.o _tmp/obj/release/SearchGenbankSequenceDialogController.o _tmp/obj/release/SeqPasterWidgetController.o _tmp/obj/release/SuggestCompleter.o _tmp/obj/release/TextEditorDialog.o _tmp/obj/release/TreeWidgetUtils.o _tmp/obj/release/GenbankLocationValidator.o _tmp/obj/release/ImageExportTask.o _tmp/obj/release/WidgetScreenshotExportTask.o _tmp/obj/release/AceImportDialog.o _tmp/obj/release/LogView.o _tmp/obj/release/ConnectionHelper.o _tmp/obj/release/DocumentFolders.o _tmp/obj/release/FolderNameDialog.o _tmp/obj/release/ProjectTreeController.o _tmp/obj/release/ProjectTreeControllerModeSettings.o _tmp/obj/release/ProjectUpdater.o _tmp/obj/release/ProjectUtils.o _tmp/obj/release/ProjectViewModel.o _tmp/obj/release/CommonImportOptionsDialog.o _tmp/obj/release/EditConnectionDialog.o _tmp/obj/release/ImportOptionsWidget.o _tmp/obj/release/ImportToDatabaseDialog.o _tmp/obj/release/ItemToImportEditDialog.o _tmp/obj/release/SharedConnectionsDialog.o _tmp/obj/release/moc_AppSettingsGUI.o _tmp/obj/release/moc_MainWindow.o _tmp/obj/release/moc_Notification.o _tmp/obj/release/moc_NotificationWidget.o _tmp/obj/release/moc_ObjectViewModel.o _tmp/obj/release/moc_ObjectViewTasks.o _tmp/obj/release/moc_OpenViewTask.o _tmp/obj/release/moc_PluginViewer.o _tmp/obj/release/moc_ProjectParsing.o _tmp/obj/release/moc_ProjectView.o _tmp/obj/release/moc_UnloadDocumentTask.o _tmp/obj/release/moc_GroupHeaderImageWidget.o _tmp/obj/release/moc_OptionsPanel.o _tmp/obj/release/moc_OptionsPanelWidget.o _tmp/obj/release/moc_OPWidgetFactory.o _tmp/obj/release/moc_OPWidgetFactoryRegistry.o _tmp/obj/release/moc_ShowHideSubgroupWidget.o _tmp/obj/release/moc_AddNewDocumentDialogImpl.o _tmp/obj/release/moc_AuthenticationDialog.o _tmp/obj/release/moc_AuthenticationWidget.o _tmp/obj/release/moc_BaseDocumentFormatConfigurators.o _tmp/obj/release/moc_BreakpointConditionEditDialog.o _tmp/obj/release/moc_CreateAnnotationDialog.o _tmp/obj/release/moc_CreateAnnotationWidgetController.o _tmp/obj/release/moc_CreateDocumentFromTextDialogController.o _tmp/obj/release/moc_CreateObjectRelationDialogController.o _tmp/obj/release/moc_DialogUtils.o _tmp/obj/release/moc_DocumentFormatComboboxController.o _tmp/obj/release/moc_DownloadRemoteFileDialog.o _tmp/obj/release/moc_EditQualifierDialog.o _tmp/obj/release/moc_EditSequenceDialogController.o _tmp/obj/release/moc_ExportAnnotations2CSVTask.o _tmp/obj/release/moc_ExportAnnotationsDialog.o _tmp/obj/release/moc_ExportDocumentDialogController.o _tmp/obj/release/moc_ExportImageDialog.o _tmp/obj/release/moc_GlassView.o _tmp/obj/release/moc_GObjectComboBoxController.o _tmp/obj/release/moc_GUIUtils.o _tmp/obj/release/moc_HelpButton.o _tmp/obj/release/moc_InputWidgetsControllers.o _tmp/obj/release/moc_ObjectViewTreeController.o _tmp/obj/release/moc_PositionSelector.o _tmp/obj/release/moc_ProjectDocumentComboBoxController.o _tmp/obj/release/moc_ProjectTreeItemSelectorDialogImpl.o _tmp/obj/release/moc_RangeSelector.o _tmp/obj/release/moc_RegionSelector.o _tmp/obj/release/moc_RemovePartFromSequenceDialogController.o _tmp/obj/release/moc_SaveDocumentGroupController.o _tmp/obj/release/moc_ScaleBar.o _tmp/obj/release/moc_ScriptEditorDelegate.o _tmp/obj/release/moc_ScriptEditorDialog.o _tmp/obj/release/moc_ScriptEditorWidget.o _tmp/obj/release/moc_ScriptHighlighter.o _tmp/obj/release/moc_SearchGenbankSequenceDialogController.o _tmp/obj/release/moc_SeqPasterWidgetController.o _tmp/obj/release/moc_SuggestCompleter.o _tmp/obj/release/moc_TextEditorDialog.o _tmp/obj/release/moc_AceImportDialog.o _tmp/obj/release/moc_LogView.o _tmp/obj/release/moc_FolderNameDialog.o _tmp/obj/release/moc_ProjectTreeController.o _tmp/obj/release/moc_ProjectViewModel.o _tmp/obj/release/moc_EditConnectionDialog.o _tmp/obj/release/moc_ImportOptionsWidget.o _tmp/obj/release/moc_ImportToDatabaseDialog.o _tmp/obj/release/moc_ItemToImportEditDialog.o _tmp/obj/release/moc_SharedConnectionsDialog.o _tmp/obj/release/qrc_U2Gui.o   -L/usr/lib64 -L../../_release -lU2Core -lU2Formats -lU2Private -lQtScript -L/usr/lib64 -lQtSvg -L/usr/lib -lQtSql -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread  
      _tmp/obj/release/OPWidgetFactoryRegistry.o: In function `~SequenceInfoFactory':
      /home/akien/Mageia/Checkout/ugene/BUILD/ugene-1.14.0/src/corelibs/U2Gui/../../include/U2View/../../corelibs/U2View/src/ov_sequence/sequence_info/SequenceInfoFactory.h:41: undefined reference to `vtable for U2::SequenceInfoFactory'
      /home/akien/Mageia/Checkout/ugene/BUILD/ugene-1.14.0/src/corelibs/U2Gui/../../include/U2View/../../corelibs/U2View/src/ov_sequence/sequence_info/SequenceInfoFactory.h:41: undefined reference to `vtable for U2::SequenceInfoFactory'
      _tmp/obj/release/OPWidgetFactoryRegistry.o: In function `U2::SequenceInfoFactory::~SequenceInfoFactory()':
      /home/akien/Mageia/Checkout/ugene/BUILD/ugene-1.14.0/src/corelibs/U2Gui/../../include/U2View/../../corelibs/U2View/src/ov_sequence/sequence_info/SequenceInfoFactory.h:41: undefined reference to `vtable for U2::SequenceInfoFactory'
      collect2: error: ld returned 1 exit status
      Makefile.Release:413: recipe for target '../../_release/libU2Gui.so.1.0.0' failed
      make[2]: *** [../../_release/libU2Gui.so.1.0.0] Error 1
      make[2]: Leaving directory '/home/akien/Mageia/Checkout/ugene/BUILD/ugene-1.14.0/src/corelibs/U2Gui'
      Makefile:34: recipe for target 'release' failed
      make[1]: *** [release] Error 2
      make[1]: Leaving directory '/home/akien/Mageia/Checkout/ugene/BUILD/ugene-1.14.0/src/corelibs/U2Gui'
      Makefile:454: recipe for target 'sub-src-corelibs-U2Gui-make_default-ordered' failed
      make: *** [sub-src-corelibs-U2Gui-make_default-ordered] Error 2
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dkandrov Denis Kandrov
              Reporter:
              Akien Rémi Verschelde
              Assigned Tester:
              Artyom Savchenko
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified