On Sun, Jul 08, 2001 at 10:45:31PM -0400, Matt Zimmerman wrote: > On Sun, Jul 08, 2001 at 11:01:52PM +0200, Robert Bihlmeyer wrote: > > > I read on -devel that compiling packages with g++ 3 is problematic > > since they will not correctly link with C++ libraries built with an > > older compiler. I figure this will not be a problem for my package > > because it does not depend on any C++ libraries other than libstdc++, > > which should be ok. Normal C libraries are no bother, I assume. Is > > this correct? > > If the problem occurs only on certain architectures, you may want to try it > yourself on as many as possible before switching entirely to g++-3.0. What is gained by this? Either he uses g++-3.0 for building these himself or he will still have to deal with all the problems. If he builds them with g++-3.0 he may just as well Build-Depend: on it and be done with it. In fact, if he doesn't Build-Depend: on g++-3.0 but does build manually with it, it might cause major trouble (NMU's, or just someone trying to build himself from sources without knowing he needs 3.0) > On some > Debian architectures, 3.0 is already the default compiler (see the source for > gcc-defaults, I think). If those are the same architectures where your package > has problems, then there is no problem for Debian. I think if those were the architectures, he wouldn't know of any problems... > As long as it doesn't link against any other C++ libraries, it should work, > yes. Whether or not this is a good idea, I'm not sure. There are issues with > g++-3.0 other than ABI compatibility (such as debugging). It seems to be > available on all platforms, though, so it might be worth a try if it turns out > to be necessary. It might be wise to restrict the change to the problematic > architectures, though. If the package builds fine with g++-3.0, and must be built with it even on some arches, I don't see why one would want to restrict this usage. It will become the default compiler eventually anyway. Regards, Filip -- <Coderjoe> gib, perl? <gib> methinks perl is the programmer's Swiss Army Chainsaw
Attachment:
pgpzsPvH_OYhl.pgp
Description: PGP signature