bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tagdemo link problem libtool HEAD / AIX 5.3


From: Ralf Wildenhues
Subject: Re: tagdemo link problem libtool HEAD / AIX 5.3
Date: Sun, 13 Jan 2008 17:53:45 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Rainer Tammer wrote on Sun, Jan 13, 2008 at 05:48:10PM CET:
> >
> >  TESTS="tagdemo-static.test tagdemo-make tagdemo-exec.test
> >         tagdemo-conf.test tagdemo-make tagdemo-exec.test
> >         tagdemo-shared.test tagdemo-make tagdemo-exec.test" \
> >  VERBOSE=yes make -e check
> >
> >  
> 
> The above TESTS="..."  is not working... I have modified it to:

Oh, sorry about that glitch.

> ... and the "BFD: ..." errors are gone.

Cool.  But you're saying the link errors remain?

> The IBM AIX Linux Toolbox contains ar / nm from GNU binutils 2.14 20030612.
> Currently I am trying to build GNU binutils 2.18.50 on AIX 5.3.
> 
> Is it possible / advisable to always use the AIX ar/nm version ??

It should be if you configure like this:
  ./configure AR=ar NM="nm -B" ...

or, if the GNU stuff is first in $PATH, use their absolute names.

> The AIX Linux Toolbox is quite common on AIX installations.... this is a 
> nightmare.
> 
> To be sure I just executed all tests (part 1 - till the start of the new 
> testsuite) with gcc 4.2.2 and AIX ar/nm.
> The gcc 4.2.2 is not from the IBM AIX Linux toolbox. This version is 
> from www.perzl.org.
> 
> Result:
> 
> ====================
> All 124 tests passed
> ====================

Great!

> >These warnings:
> >| libtool: link: /opt/freeware/bin/nm -B -Bpg  .libs/baz.o   | awk '{ if 
> >((($ 2 == "T") || ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) != 
> >".")) { print $ 3 } }' | sort -u > .libs/libbaz.exp
> >| BFD: .libs/baz.o: Unrecognized storage class 111 for .text symbol 
> >`_ZTS14barbaz_derived'
[...]
> Just to be sure I will rerun the following tests:
> 
> branch-1.5
> 
> AIX 5.3 / VisualAge C/C++ 6.0
> AIX 5.3 / gcc 4.2.2 with AIX ar/nm
> AIX 5.3 / gcc 4.2.2 with ar/nm from GNU binutils 2.18.50
> AIX 6.1 / XL C/C++ 9.0

FWIW, I don't think you need to rerun the XL tests at all, neither
branch-1-5 nor HEAD.

> HEAD
> 
> AIX 5.3 / VisualAge C/C++ 6.0
> AIX 5.3 / gcc 4.2.2 with AIX ar/nm
> AIX 5.3 / gcc 4.2.2 with ar/nm from GNU binutils 2.18.50
> 
> This will take some time as the HEAD tests tend to runn very slow on my 
> old test machine :-((

If you want to speedup you can use bash as shell:
  export CONFIG_SHELL=/bin/bash
  $CONFIG_SHELL ./configure [...]

Thanks for all your testing.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]