- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: AIX libstdc++-v3 breakage on gcc-3.0 branch
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 22 May 2001 07:39:12 -0300
- Cc: gcc at gcc dot gnu dot org, libtool-patches at gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105211930.PAA23098@makai.watson.ibm.com>
On May 21, 2001, David Edelsohn <dje@watson.ibm.com> wrote:
> The import of libtool 1.4a 1.641.2.254 has broken libstdc++-v3 on
> the gcc-3.0 branch.
> The fix of the quoting typo when defining
> allow_undefined_flag='${wl}-berok'
> now means that there is no space in archive_expsym_cmds:
> ${wl}-bnoentry${allow_undefined_flag}
> I presume that a space should be added in the definition of
> archive_expsym_cmds?
ltcf-c.sh and ltcf-gcj.sh have the space in allow_undefined_flag, so
I'm fixing ltcf-cxx.sh to conform:
Index: ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.
Index: ltcf-cxx.sh
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltcf-cxx.sh,v
retrieving revision 1.1.2.45
diff -u -p -r1.1.2.45 ltcf-cxx.sh
--- ltcf-cxx.sh 2001/05/20 18:14:01 1.1.2.45
+++ ltcf-cxx.sh 2001/05/22 10:38:00
@@ -196,8 +196,8 @@ case $host_os in
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
# Warning - without using the other run time loading flags, -berok will
# link without error, but may produce a broken library.
- no_undefined_flag='${wl}-bnoerok'
- allow_undefined_flag='${wl}-berok'
+ no_undefined_flag=' ${wl}-bnoerok'
+ allow_undefined_flag=' ${wl}-berok'
# -bexpall does not export symbols beginning with underscore (_)
always_export_symbols=yes
# Exported symbols can be pulled into shared objects from archives