PATCH: Use libgcj_convenience.la ( Re: libjava bootstrap failure on sparc-sun-solaris2.8)
Alexandre Oliva
aoliva@redhat.com
Wed Jun 5 14:12:00 GMT 2002
On Jun 5, 2002, Daniel Jacobowitz <drow@mvista.com> wrote:
> I don't know the mechanics of this bug, but would dividing it into
> multiple convenience libraries help?
Yup. The problem is that POSIX mandates ar to use only the basename
of a pathname to identify object files in archives. The rest of the
pathname is dropped. As old (and newer) versions of ar comply with
this rule, when you add a set of object files to an archive, then
extract them back, you not only lose all directory information: you
may also lose some of the object files, either at time of archiving or
extraction, depending on the flags you pass to ar.
But using convenience archives is just silly in this case. There's
absolutely no reason to do it.
--
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 Professional serial bug killer
More information about the Java
mailing list