At 3:42 Uhr -0500 03.02.2002, Dave Vasilevsky wrote:
>I think I have a fix for the libtool convenience library bug, I've 
>included a diff to ltmain.sh.
>
>This bug occurs in libtool 1.4 and higher (possibly earlier versions 
>too, though I haven't seen that yet). Basically it happens when 
>libtool causes cc to link a "convenience library" with a .al 
>extension twice. You get errors where a symbol is multiply defined 
>from the same file, like this:
>
>cc <...> -all_load dir/.libs/libfoo.al <...> dir/.libs/libfoo.al
>ld: multiple definitions of symbol _foo_bar
>dir/.libs/libfoo.al(foo.lo) definition of _foo_bar in section (__TEXT,__text)
>dir/.libs/libfoo.al(foo.lo) definition of _foo_bar in section (__TEXT,__text)
>/usr/bin/libtool: internal link edit command failed
>
>So far, this patch has worked with audiofile, gdk-pixbuf, and 
>nautilus. This patch can has been worked around by adding 
>--disable-shared as a param to configure, since this error only 
>occurs when creating shared libs. If anyone else has a package which 
>uses --disable-shared for this reason, or uses some other workaround 
>to this bug, please test this patch so I can send it upstream.

What you should do before you submit a libtool patch:

1) Get a non-OS X box, and install the latest libtool source on that
2) Run the test suite and verify that all tests pass
3) Apply your patch, run the test suite still passes all test
4) Congrats, you are ready to submit it!


Also, you failed to mention against which version (1.4.0, 1.4.1, 
1.4.2, CVS?) your patch is made.


Cheers,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to