This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Report about -static failing when libgcj.a built with GNU ar
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: java at gcc dot gnu dot org
- Cc: janm at transactionware dot com
- Date: Wed, 24 Apr 2002 09:54:10 -0500 (CDT)
- Subject: Re: Report about -static failing when libgcj.a built with GNU ar
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
- References: <200204240715.g3O7FvI38158@latour.rsch.comm.mot.com>
In article <000c01c1eb92$5ca033c0$8201a8c0@mosm1> you write:
> I reported something similar on FreeBSD some time ago:
> http://gcc.gnu.org/ml/java/2001-10/msg00090.html
Hi Jan,
Your patch was probably good if we just want to fix FreeBSD but please
note that (unless I'm confused) this issue affects -static on all
platforms that use recent releases of GNU ar not just FreeBSD.
Although I mainly use FreeBSD, I attempt to wear my gcc hat as much as
possible when putting patches into the FSF tree.
Another issue to consider: GNU ar 2.9.1 doesn't accept P. Even
FreeBSD 4 (and Red Hat 6.1) shipped with GNU ar 2.9.1. In any event,
no static configuration patch will really account for this issue
properly since users could have installed on any system a copy of GNU
ar that (a) allows P and (b) requires P to properly build libgcj.a.
We are suppose to adapt to what we actually find; never assume based
on OS type and version.
Regards,
Loren