libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug fix for libtool 1.4.2 AIX 5


From: Christian Ferrari
Subject: Bug fix for libtool 1.4.2 AIX 5
Date: Mon, 16 Dec 2002 18:43:18 +0100
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2

Bug: this is what happens with 1.4.2 release when target library is not in local dir:

libtool gcc -shared -rpath /home/tiian/Spazio22/lib -o ../../../../lib/lib
log.la ../../../../obj/liblog/liblog.lo
rm -fr ../../../../lib/.libs/liblog.la ../../../../lib/.libs/liblog.* ../../../../lib/.libs/liblog.*
generating symbol list for `liblog.la'
/usr/linux/bin/nm -B ../../../../obj/liblog/liblog.o | sed -n -e 's/^.*[]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\
3 \3/p' | sed 's/.* //' | sort | uniq > ../../../../lib/.libs/liblog.exp
cc -Wl,-bM:SRE -o ../../../../lib/.libs/liblog.so.0 ../../../../obj/liblog/liblog.o -lc ${wl}-berok -Wl,-bnoentry -Wl,-bexport:../../../../lib/.libs/liblog.exp
ar -crlo .libs/liblog.a .libs/liblog.so.0
ar: No such file or directory
ar: 0707-113 The fopen system call failed on file .libs/liblog.a.
make: *** [../../../../lib/liblog.la] Error 1

and this is as it should be:

libtool gcc -shared -rpath /home/tiian/Spazio22/lib -o ../../../../lib/lib
log.la ../../../../obj/liblog/liblog.lo
rm -fr ../../../../lib/.libs/liblog.la ../../../../lib/.libs/liblog.* ../../../../lib/.libs/liblog.*
generating symbol list for `liblog.la'
/usr/linux/bin/nm -B  ../../../../obj/liblog/liblog.o   | sed -n -e 's/^.*[
]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\
3 \3/p' | sed 's/.* //' | sort | uniq > ../../../../lib/.libs/liblog.exp
cc -Wl,-bM:SRE -o ../../../../lib/.libs/liblog.so.0 ../../../../obj/liblog/libl og.o -lc ${wl}-berok -Wl,-bnoentry -Wl,-bexport:../../../../lib/.libs/liblog.exp
ar -crlo ../../../../lib/.libs/liblog.a ../../../../lib/.libs/liblog.so.0
creating ../../../../lib/liblog.la
(cd ../../../../lib/.libs && rm -f liblog.la && ln -s ../liblog.la liblog.la)

Attached I post the fixed libtool file related to package libtool-1.4.2-1.src.rpm distributed by IBM for AIX systems: look for key "20021216" to find out the small fix.

Does someone want to check if the bug is a 1.4.3 bug too?
Will someone fix the official CVS repository?

Thanks, Regards

Christian


--
______________________________________

Christian Ferrari
c/o PRIMEUR ITALIA
Via E. Mattei, 1/106 A
30020 Marcon (VE) - ITALY

Tel.:    +39 041 5950998
Fax:     +39 041 5951024
Mobile:  +39 348 8960572
E-mail:  address@hidden

Attachment: libtool.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]