romikb Posted August 29, 2017 Report Share Posted August 29, 2017 Emerge can't building any version of gparted. Build fail when try to link. /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wall -march=core-avx-i -O2 -pipe -std=gnu++11 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o gpartedbin BlockSpecial.o Copy_Blocks.o DMRaid.o Device.o DialogFeatures.o DialogManageFlags.o Dialog_Base_Partition.o Dialog_Disklabel.o Dialog_FileSystem_Label.o Dialog_Partition_Copy.o Dialog_Partition_Info.o Dialog_Partition_Name.o Dialog_Partition_New.o Dialog_Partition_Resize_Move.o Dialog_Progress.o Dialog_Rescue_Data.o DrawingAreaVisualDisk.o FS_Info.o FileSystem.o Frame_Resizer_Base.o Frame_Resizer_Extended.o GParted_Core.o HBoxOperations.o LVM2_PV_Info.o LUKS_Info.o Mount_Info.o Operation.o OperationChangeUUID.o OperationCheck.o OperationCopy.o OperationCreate.o OperationDelete.o OperationDetail.o OperationFormat.o OperationLabelFileSystem.o OperationNamePartition.o OperationResizeMove.o Partition.o PartitionLUKS.o PartitionVector.o PipeCapture.o Proc_Partitions_Info.o ProgressBar.o SWRaid_Info.o TreeView_Detail.o Utils.o Win_GParted.o btrfs.o exfat.o ext2.o f2fs.o fat16.o hfs.o hfsplus.o jfs.o linux_swap.o lvm2_pv.o luks.o main.o nilfs2.o ntfs.o reiser4.o reiserfs.o ufs.o xfs.o -lgthread-2.0 -pthread -lglib-2.0 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lparted-fs-resize -lparted -ldl -luuid libtool: link: x86_64-pc-linux-gnu-g++ -Wall -march=core-avx-i -O2 -pipe -std=gnu++11 -Wl,-O1 -Wl,--sort-common -o gpartedbin BlockSpecial.o Copy_Blocks.o DMRaid.o Device.o DialogFeatures.o DialogManageFlags.o Dialog_Base_Partition.o Dialog_Disklabel.o Dialog_FileSystem_Label.o Dialog_Partition_Copy.o Dialog_Partition_Info.o Dialog_Partition_Name.o Dialog_Partition_New.o Dialog_Partition_Resize_Move.o Dialog_Progress.o Dialog_Rescue_Data.o DrawingAreaVisualDisk.o FS_Info.o FileSystem.o Frame_Resizer_Base.o Frame_Resizer_Extended.o GParted_Core.o HBoxOperations.o LVM2_PV_Info.o LUKS_Info.o Mount_Info.o Operation.o OperationChangeUUID.o OperationCheck.o OperationCopy.o OperationCreate.o OperationDelete.o OperationDetail.o OperationFormat.o OperationLabelFileSystem.o OperationNamePartition.o OperationResizeMove.o Partition.o PartitionLUKS.o PartitionVector.o PipeCapture.o Proc_Partitions_Info.o ProgressBar.o SWRaid_Info.o TreeView_Detail.o Utils.o Win_GParted.o btrfs.o exfat.o ext2.o f2fs.o fat16.o hfs.o hfsplus.o jfs.o linux_swap.o lvm2_pv.o luks.o main.o nilfs2.o ntfs.o reiser4.o reiserfs.o ufs.o xfs.o -pthread -Wl,--as-needed -lgthread-2.0 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lparted-fs-resize -lparted -ldl -luuid -pthread Copy_Blocks.o: In function `GParted::copy_blocks::set_progress_info()': Copy_Blocks.cc:(.text+0x667): undefined reference to `Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)' Copy_Blocks.cc:(.text+0xb35): undefined reference to `Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)' Copy_Blocks.cc:(.text+0xdf5): undefined reference to `Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)' Copy_Blocks.o: In function `GParted::copy_blocks::copy()': Copy_Blocks.cc:(.text+0x16aa): undefined reference to `Glib::ust Please help. glib is latest available - 2.23-r4 Link to comment Share on other sites More sharing options...
0 romikb Posted August 30, 2017 Author Report Share Posted August 30, 2017 I migrate to gcc-5 long time ago and have no issues since that. I rebuild dev-cpp/glibmm and dev-cpp/gtkmm and after this gparted build without issues. Thank you. Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted August 30, 2017 Report Share Posted August 30, 2017 Yes, glibc is 2.23-r4. server meta-repo # gcc-config -l [1] x86_64-pc-linux-gnu-5.3.0 * it could happen that you didn't rebuild the ebuilds which affected by ABI changes between gcc-4 and gcc-5. Follow http://www.funtoo.org/News:GCC_Update Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted August 29, 2017 Report Share Posted August 29, 2017 2.23-r4 would be glibc, not glib. Show output of gcc-config -l Link to comment Share on other sites More sharing options...
0 romikb Posted August 29, 2017 Author Report Share Posted August 29, 2017 Yes, glibc is 2.23-r4. server meta-repo # gcc-config -l [1] x86_64-pc-linux-gnu-5.3.0 * Link to comment Share on other sites More sharing options...
0 cardinal Posted August 29, 2017 Report Share Posted August 29, 2017 Rebuild dev-cpp/glibmmhttps://developer.gnome.org/glibmm/stable/classGlib_1_1ustring.htmlGlib::ustring::ustring https://wiki.gentoo.org/wiki/Upgrading_from_gcc-4.x_to_gcc-5.xhttps://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html Link to comment Share on other sites More sharing options...
Question
romikb
Emerge can't building any version of gparted. Build fail when try to link.
Please help.
glib is latest available - 2.23-r4
Link to comment
Share on other sites
5 answers to this question
Recommended Posts