This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Re-posting to the right mailing lists...



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





-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]