libtool-patches
[Top][All Lists]
Advanced

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

Re: AIX libstdc++-v3 breakage on gcc-3.0 branch


From: Alexandre Oliva
Subject: Re: AIX libstdc++-v3 breakage on gcc-3.0 branch
Date: 22 May 2001 07:39:12 -0300
User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor)

On May 21, 2001, David Edelsohn <address@hidden> 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  <address@hidden>

        * 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
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

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