Re: [PHP4] Problem with old versions of 'ar'
| From: | Sascha Schumann | Date: | Tue, 28 Mar 2000 12:23:04 +0000 |
| Subject: | Re: [PHP4] Problem with old versions of 'ar' | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-17308@lists.php.net to get a copy of this message | ||
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