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

But that doesn't help at all if the underlaying compiler, and more
importantly the loader, does not support the new archive
structure. You can't simply install GNU ar and have your system 'ld'
parse the new archive. And there are many, many legacy systems
out there that have gcc installed, but it's 'ld' implementation
is simply collect.

It's certainly a valid argument saying that PHP4 doesn't support
the legacy systems that worked just fine with PHP3. If that's
the decision, then that's it.

Sascha Schumann wrote:
>
> 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>
>

-- 
===========================================================================
   Jim Jagielski   [|]   jim <email protected>   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

-- 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>