libtool passing `-Wl,--whole-archive'

2000-05-18 Thread Mocha
SYSTEM: NetBSD-1.4Y (-current ELF) on DEC Alpha i'm trying to compile PHP4.0RC2 which uses libtool 1.3.4. libtool seems to be passing a -Wl to ld which doesn't recognizes it. /bin/sh /usr/pkg/bin/libtool --silent --mode=link gcc -g -O2 -I/usr/pkg/include -Wall -o libphp4.la -rpath /usr/local/

Re: libtool passing `-Wl,--whole-archive'

2000-05-18 Thread Mocha
At 03:13 PM 5/18/00 -0300, Alexandre Oliva wrote: >On May 18, 2000, Mocha <[EMAIL PROTECTED]> wrote: > > > /bin/sh /usr/pkg/bin/libtool --silent --mode=link gcc -g -O2 > -I/usr/pkg/include > > >Please remove this flag and

Re: libtool passing `-Wl,--whole-archive'

2000-05-20 Thread Mocha
At 05:46 AM 5/20/00 -0300, Alexandre Oliva wrote: >On May 18, 2000, Mocha <[EMAIL PROTECTED]> wrote: > > > SYSTEM: NetBSD-1.4Y (-current ELF) on DEC Alpha > > > i'm trying to compile PHP4.0RC2 which uses libtool 1.3.4. libtool seems > > to be passing a

Re: libtool passing `-Wl,--whole-archive'

2000-05-20 Thread Mocha
At 08:14 AM 5/20/00 -0300, Alexandre Oliva wrote: >On May 20, 2000, Mocha <[EMAIL PROTECTED]> wrote: > > > i tried something similar to this patch.. and it didn't work. but i > > applied yours anyway.. and this is the result.. > >Try it on libtool 1.3.4. The

BUG? libtool not passing rpath to ld

2000-05-21 Thread Mocha
does libtool include -rpath's in shared objects? cause i don't see it toward the end when i 'make' in php4rc2. ... (cd . && ln -s php_virtual_cwd.lo php_virtual_cwd.o) /usr/bin/ld -Bshareable main.lo internal_functions.lo snprintf.lo php_sprintf.lo configuration-pa rser.lo configuration-scanner

Re: BUG? libtool not passing rpath to ld

2000-05-21 Thread Mocha
At 08:49 PM 5/21/00 -0300, Alexandre Oliva wrote: >On May 21, 2000, Mocha <[EMAIL PROTECTED]> wrote: > > > does libtool include -rpath's in shared objects? > >Not in release 1.3.4. In the CVS tree, there's the hardcode_into_libs >flag that's used to de

Re: BUG? libtool not passing rpath to ld

2000-05-21 Thread Mocha
At 02:00 AM 5/22/00 -0300, Alexandre Oliva wrote: >On May 22, 2000, Mocha <[EMAIL PROTECTED]> wrote: > > > any idea why it's broken in CVS? > >Not yet. I haven't had time to investigate yet :-( thanks for your reply. here is the patch for that Wl and an inter-

test failed

2000-05-29 Thread Mocha
# make check | grep FAIL FAIL: demo-exec.test FAIL: demo-exec.test FAIL: demo-exec.test FAIL: hardcode.test FAIL: build-relink.test that was on NetBSD-1.4Y/Alpha (ELF) and libtool 1.3.5. how can in find out why the test failed and track down the errors.