C++ demangler horrors

Alexandre Oliva aoliva@redhat.com
Tue Jul 1 13:47:00 GMT 2003


On Jun 28, 2003, "H. J. Lu" <hjl@lucon.org> wrote:

> On Sat, Jun 28, 2003 at 07:59:00AM -0700, H. J. Lu wrote:

>> My patch doesn't requrie it. But some people don't like the way I solved
>> the problem with
>> 
>> ar -d ....
>> ar rc ....

It's not about not liking.  Consider a parallel build in which someone
is linking with libiberty while demangler goes and modifies it.  Bad
idea.  And splitting this into demangler like this won't fix it:

> all:
> 	$(MAKE) -C ../libiberty [new_demangler|old_demangler]

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list