|
From: | Gary V. Vaughan |
Subject: | Re: template test with subdirs failure for HEAD on darwin [WAS support standalone libltdl [libtool--gary--1.0--patch-23]] |
Date: | Sun, 21 Aug 2005 19:57:50 +0100 |
Hallo Ralf! On 21 Aug 2005, at 17:35, Ralf Wildenhues wrote:
* Gary V. Vaughan wrote on Sun, Aug 21, 2005 at 05:44:05PM CEST:On 21 Aug 2005, at 16:16, Ralf Wildenhues wrote:Can you get a demangled name of the symbol __Z2a2c?I dunno. This is the kind of horror that makes me avoid C++ as if it were perl ;-)Bob answered this already, but if you have GNU binutils nm, you can compare the difference of `nm' and `nm --demangle' of the objectscreated in this test. I assume g++ uses the same mangling on darwin, sothat would be: a2(char)This function is used in libb, and also in a template in the b.hh headerwhich is instantiated in main().
Argh! You're making my brain hurt :-( Bjarne Stroustrup is evil!!
I wrote the test with different link lines to find out what is portableand what is not. If you comment out the AT_CHECKs below the comments # lib convenience and # both installed (both of these do not link libb.la against liba.la), does the test succeed then? If so, could you commit a patch doing this for host_osdarwin? (I would still like to test this for other systems, even if our link lines are not portable, it provides nice information. Maybe add acomment to this extent.)
Okay, done. I didn't add the comment, because I don't know whether it is
inherent non-portability in what you are trying to do, or a stupidity in darwin. When 2.0 is out, and HEAD gets some testing on more hosts and compilers we'll soon find out... Thanks for the pointers :-) Cheers, Gary. --Gary V. Vaughan ())_. gary@ {lilith.warpmail.net,gnu.org},address@hidden
Research Scientist ( '/ http://www.tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/{libtool,m4} Technical Author `(_~)_ http://sources.redhat.com/autobook
PGP.sig
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |