[Bug 1933775]
(In reply to Jonathan Wakely from comment #11) > Yes, it was fixed by r11-4187 but the problem is still present on the gcc-10 > branch. I think that commit simply makes it possible to use oneTBB, which doesn't give a warning. But if you use TBB 2020.3 or older, then you still get a warning. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933775 Title: libgcc-s1 and libstdc++6 depend on broken libtbb2 package To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1933775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933775]
Maybe we could do something like this: --- a/libstdc++-v3/include/pstl/parallel_backend_tbb.h +++ b/libstdc++-v3/include/pstl/parallel_backend_tbb.h @@ -15,6 +15,11 @@ #include "parallel_backend_utils.h" +#ifndef TBB_SUPPRESS_DEPRECATED_MESSAGES +# define TBB_SUPPRESS_DEPRECATED_MESSAGES 1 +# define _GLIBCXX_UNDEF_SUPPRESS +#endif + // Bring in minimal required subset of Intel TBB #include #include @@ -25,6 +30,11 @@ #include #include +#ifdef _GLIBCXX_UNDEF_SUPPRESS +# undef TBB_SUPPRESS_DEPRECATED_MESSAGES +# undef _GLIBCXX_UNDEF_SUPPRESS +#endif + #if TBB_INTERFACE_VERSION < 1 #error Intel(R) Threading Building Blocks 2018 is required; older versions are not supported. #endif -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933775 Title: libgcc-s1 and libstdc++6 depend on broken libtbb2 package To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1933775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1974265]
Maybe a dup of PR 104435 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1974265 Title: `demangle_const` causes infinite recursion and stack overflow To manage notifications about this bug go to: https://bugs.launchpad.net/binutils/+bug/1974265/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933775]
Yes, it was fixed by r11-4187 but the problem is still present on the gcc-10 branch. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933775 Title: libgcc-s1 and libstdc++6 depend on broken libtbb2 package To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1933775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 305460]
No, but "the first non-pure, non-inline virtual function in the class" is easy for the user to find. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305460 Title: [PR42540] c++ error message [vtable undefined] is unhelpful To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/305460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 305460]
(In reply to Eyal Rozenberg from comment #16) > I'm not quite sure what a key function is, Then read the link I gave you in PR 104918 comment 1. > Not just learners. If you have a large class with many methods, whose > implementation is spread across many files, it can take quite a bit of time > to figure out which method implementation is missing. The first one. They key function is the first non-inline, non-pure virtual function. Read the wiki page. I didn't write that page and suggest you read it just for fun. The linker could easily say that, with no changes from GCC. That belongs in the binutils bugzilla though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305460 Title: [PR42540] c++ error message [vtable undefined] is unhelpful To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/305460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 305460]
(In reply to Eyal Rozenberg from comment #16) > The compiler could store information in the compiled object listing the > virtual members for which no implementation was found, due to which reason > the vtable was not defined already. In this specific example, storing the > name of "A::B()" somewhere. In every file that includes the header defining A? Consider the case where you include the header in ten files, and define the virtual functions in one of them. Nine out of ten files do not contain a definitions of the virtual functions, so they would each contain the same info naming every virtual function in the class. Then do that for every polymorphic class in every object file. This is a lot more info being written out, and most of it will never be used. You have nine files saying "this function is missing" and one not saying it. What exactly does the linker do with that information? Why would that be better than comment 7 here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305460 Title: [PR42540] c++ error message [vtable undefined] is unhelpful To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/305460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 305460]
*** Bug 104918 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305460 Title: [PR42540] c++ error message [vtable undefined] is unhelpful To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/305460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933775]
Tom, it looks like that fix landed upstream after our last sync. Should we use it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933775 Title: libgcc-s1 and libstdc++6 depend on broken libtbb2 package To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1933775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933775]
There's no easy solution. Intel contributed the PSTL headers with a dependency on TBB task.h header, then deprecated that header in a later TBB release. You need to either use an older TBB, or suppress the warning. There is a plan to add an OpenMP backend to PSTL, which will remove the TBB dependency, but it's not ready yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933775 Title: libgcc-s1 and libstdc++6 depend on broken libtbb2 package To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1933775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1933775]
requires TBB, as documented: https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017 "Note 3: The Parallel Algorithms have an external dependency on Intel TBB 2018 or later. If the header is included then -ltbb must be used to link to TBB." If you use the parallel algos (or just include their headers) then the TBB headers are included. That's by design, they don't work otherwise. We can't do anythign about the fact that Intel deprecated their own API shortly after using contributing the PSTL headers to GCC, which depend on that API. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1933775 Title: libgcc-s1 and libstdc++6 depend on broken libtbb2 package To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1933775/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 305460]
*** Bug 96283 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305460 Title: [PR42540] c++ error message [vtable undefined] is unhelpful To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/305460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 305460]
(In reply to Zhihao Yuan from comment #11) > 1. Adjust the error message to say, "The first non-inline, non-pure function > may not have a definition in ." That error comes from the linker. The linker is not part of GCC, so this is the wrong place to ask for linker changes. > 2. Add extra information to name the key function, and pass it to the > linker, generate an error message to match MSVC's quality. That's what comment 7 suggested. Comment 10 links to the response to that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305460 Title: [PR42540] c++ error message [vtable undefined] is unhelpful To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/305460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 305460]
(In reply to Jonathan Wakely from comment #3) > The linker error alone doesn't make the root cause obvious, but it's a > fairly well known and well documented problem: > http://www.parashift.com/c++-faq-lite/strange-inheritance.html#faq-23.10 A better link is now: https://gcc.gnu.org/wiki/VerboseDiagnostics#undefined_reference_to_vtable_for_X -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305460 Title: [PR42540] c++ error message [vtable undefined] is unhelpful To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/305460/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1687868] [NEW] package mouseemu 0.16-0ubuntu9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
*** This bug is a duplicate of bug 1672157 *** https://bugs.launchpad.net/bugs/1672157 Public bug reported: running on Lubuntu ProblemType: Package DistroRelease: Ubuntu 17.04 Package: mouseemu 0.16-0ubuntu9 ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8 Uname: Linux 4.10.0-20-generic i686 ApportVersion: 2.20.4-0ubuntu4 AptOrdering: mouseemu:i386: Install NULL: ConfigurePending Architecture: i386 Date: Wed May 3 14:01:59 2017 DuplicateSignature: package:mouseemu:0.16-0ubuntu9 Setting up mouseemu (0.16-0ubuntu9) ... Creating /dev/input/uinput.../var/lib/dpkg/info/mouseemu.postinst: 34: /var/lib/dpkg/info/mouseemu.postinst: MAKEDEV: not found dpkg: error processing package mouseemu (--configure): subprocess installed post-installation script returned error exit status 127 ErrorMessage: subprocess installed post-installation script returned error exit status 127 InstallationDate: Installed on 2017-05-02 (0 days ago) InstallationMedia: Lubuntu 17.04 "Zesty Zapus" - Release i386 (20170412) RelatedPackageVersions: dpkg 1.18.10ubuntu2 apt 1.4 SourcePackage: mouseemu Title: package mouseemu 0.16-0ubuntu9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: mouseemu (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1687868 Title: package mouseemu 0.16-0ubuntu9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mouseemu/+bug/1687868/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1439451]
doko, this fails for me with 4.8.1, and 4.7.4 and 4.8.0 There are no changes between 4.8.1 and 4.8.2 that could have affected this. Are you sure it's a regression? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1439451 Title: std::uncaught_exception() returns true after catching an exception thrown with std::rethrow_exception To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1439451/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1199210]
*** Bug 61067 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1199210 Title: lp:mir FTBFS: surface_info.h:52:13: error: looser throw specifier for ‘virtual mir::input::SurfaceInfoController::~SurfaceInfoController()’ To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1199210/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1201246]
*** Bug 61067 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1201246 Title: lp:mir FTBFS: error: looser throw specifier for ‘testing::NiceMockM::~NiceMock() To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1201246/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1186943]
Trunk: http://gcc.gnu.org/r198975 4.8.1: http://gcc.gnu.org/r198976 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1186943 Title: FTBFS with gcc-4.8: error: invalid qualifiers on non-member function type To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1186943/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 856614] Re: package nvidia-current (not installed) failed to install/upgrade: nvidia-current kernel module failed to build
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/856614 Title: package nvidia-current (not installed) failed to install/upgrade: nvidia-current kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/856614/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 856614] [NEW] package nvidia-current (not installed) failed to install/upgrade: nvidia-current kernel module failed to build
Public bug reported: will not install on Laptop with nvidia gt555m optimus ProblemType: Package DistroRelease: Ubuntu 10.04 Package: nvidia-current (not installed) ProcVersionSignature: Ubuntu 2.6.38-11.50~lucid1-generic 2.6.38.8 Uname: Linux 2.6.38-11-generic i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Thu Sep 22 19:16:32 2011 DkmsStatus: acpi-call, 240611, 2.6.38-11-generic, i686: installed ErrorMessage: nvidia-current kernel module failed to build InstallationMedia: Ubuntu 10.04.3 LTS Lucid Lynx - Release i386 (20110720.1) MachineType: Medion X6816 PackageVersion: 195.36.24-0ubuntu1~10.04 ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic root=UUID=29c9c280-3a26-4755-96cf-b7013bf94f95 ro quiet splash SourcePackage: nvidia-graphics-drivers Title: package nvidia-current (not installed) failed to install/upgrade: nvidia-current kernel module failed to build dmi.bios.date: 07/18/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 204 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: X6816 dmi.board.vendor: Medion dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 9 dmi.chassis.vendor: Medion dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr204:bd07/18/2011:svnMedion:pnX6816:pvr1.0:rvnMedion:rnX6816:rvr1.0:cvnMedion:ct9:cvr1.0: dmi.product.name: X6816 dmi.product.version: 1.0 dmi.sys.vendor: Medion glxinfo: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden system: distro: Ubuntu codename: lucid architecture: i686 kernel: 2.6.38-11-generic ** Affects: nvidia-graphics-drivers (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 lucid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/856614 Title: package nvidia-current (not installed) failed to install/upgrade: nvidia-current kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/856614/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591819]
There's no need to repeat the same info you already provided, please provide what you _didn't_ provide, as requested by http://gcc.gnu.org/bugs/#report we need preprocessed source, and preferably a minimal testcase that has been reduced to the smallest example that still shows the problem -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591819 Title: compiled program segfault when -O0 is used to compile To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-defaults/+bug/591819/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs