This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Creating libgcj for AIX


>>>>> "Dean" == Dean Hill <dhill@hotmail.com> writes:

Dean> The line that is so long is attempting to execute the 'nm' command
Dean> with a list of all the object files needed for libgcj. There are so
Dean> many object files, that the 'nm' line is too long and 'nm' fails with
Dean> the error:
Dean>     ./libtool[3463]: /bin/nm: arg list too long

Dean> o When people have built libgcj on other systems, how do they avoid
Dean> the "arg list is too long" errors?

libtool has support for very long argument lists via the `-objectlist'
argument.  However, I think most libgcj developers use systems (like
Linux) where no export file is needed.  So my guess is that this part
of libtool was never updated for long argument lists.

Dean> o How do I get 'nm' to generate the export file successfully?

If my theory is correct you will most likely need to modify libtool to
handle this situation.  I don't know anything about AIX export files,
so I can't say whether it is even possible to build them in parts.

Dean> o If I can get 'nm' to create the export file successfully, will I
Dean> still need huge amounts of disk space for generating the reloadable
Dean> object files?

libgcj is pretty big, but 460M does seem excessive.  Perhaps something
else is going wrong.

Tom


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