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: Rainer Tammer
Subject: Re: tagdemo link problem libtool HEAD / AIX 5.3
Date: Sun, 13 Jan 2008 17:48:10 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7

Hello Ralf,

Ralf Wildenhues wrote:
Hello Rainer,

could you do this for me?

temporarily remove /opt/freeware/bin from your $PATH, ensure the only
`ld' and `ar' and `nm' programs found are those from AIX, if need be
specify gcc and g++ with full path: CC=/path/to/gcc CXX=/path/to/g++ and
post output of:

  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:

export TESTS="tests/tagdemo-static.test \
             tests/tagdemo-make.test \
             tests/tagdemo-exec.test \
             tests/tagdemo-conf.test \
             tests/tagdemo-make.test \
             tests/tagdemo-exec.test \
             tests/tagdemo-shared.test \
             tests/tagdemo-make.test \
             tests/tagdemo-exec.test"

==================
All 9 tests passed
==================

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

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


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'
| BFD: .libs/baz.o: Unrecognized storage class 111 for .text symbol 
`_ZTS6barbaz'
| BFD: .libs/baz.o: Unrecognized storage class 111 for .text symbol 
`_ZTS6foobar'
| BFD: .libs/baz.o: Unrecognized storage class 111 for .data symbol 
`_ZTV14barbaz_derived'
| BFD: .libs/baz.o: Unrecognized storage class 111 for .data symbol 
`_ZTI14barbaz_derived'
| BFD: .libs/baz.o: Unrecognized storage class 111 for .data symbol 
`_ZTI6barbaz'
| BFD: .libs/baz.o: Unrecognized storage class 111 for .data symbol 
`_ZTV6foobar'
| BFD: .libs/baz.o: Unrecognized storage class 111 for .data symbol 
`_ZTI6foobar'

look like a binutils problem, and this bug report hints to it too:
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24859>

Thanks,
Ralf


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

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

Do you like me to perform additional tests ??


Bye
 Rainer





reply via email to

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