Re: [PHP-DEV] [PHP4] Problem with old versions of 'ar' From: Sascha Schumann (sascha <email protected>)
Date: 03/28/00

On Tue, Mar 28, 2000 at 12:06:23AM -0500, Jim Jagielski wrote:
> Just a FYI. This is more an issue with libtool than with PHP4,
> but it does effect PHP4.
>
> Older versions of 'ar' limit names to 14 or so chars. That's no
> real big deal, since the archives are OK, it's just that if
> you add 'this_is_a_really_long_function.o' to the archive,
> that name will be truncated.
>
> Sooooo when you 'ar x' it out, what you will get in return is
> a file called something like 'this_is_a_reall'. Note the lack of
> .o This means when libtools then creates a big archive from all
> the object files it's extracted from the archives, _it only
> adds those with a .o or .lo extension_! This means quite a few Zend
> functions, for example, aren't loaded into libphp4.a and any
> links when compiling fail.

The PHP Group is aware of this limitation. We recommened to install
GNU binutils to overcome the system's limit.

> Anyone know who to contact @ Gnu about this? Maybe another option
> to libtool that bypasses the scan for .o/.lo ??

Well, I don't think it makes sense to invest much time into
supporting really old legacy systems like SunOS 4.

- Sascha

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>