[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status
From: |
Ralf Wildenhues |
Subject: |
Re: Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status |
Date: |
Tue, 14 Sep 2010 20:06:16 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hello Rainer,
* Rainer Tammer wrote on Tue, Sep 14, 2010 at 03:45:35PM CEST:
> On 20:59, Ralf Wildenhues wrote:
> > * Rainer Tammer wrote on Wed, Aug 25, 2010 at 10:26:06AM CEST:
> >> this is the current status of libtool (git master, 2010-08-25) on AIX 5.3:
> >> FAIL: tests/f77demo-exec.test
> >> FAIL: tests/f77demo-exec.test
> >> FAIL: tests/fcdemo-exec.test
> >> FAIL: tests/fcdemo-exec.test
> >>
> >> -> path in exec missing (path to the fortran libs)
> > I'm sorry but I have to ask for your help on this part, because on the
> > AIX 5.3 system I can test on, these tests pass for me with gfortran 4.2.
> > Specifically, can I ask you to try a 'git bisect' on this issue in order
> > to find out which commit introduced the breakage? Do you know how git
> > bisect works? If not, looking at the git-bisect(1) manpage quickly
> > can't hurt.
>
> Before I start with the bisect could you please post the output of:
>
> dump -nv tests/f77demo/.libs/fprogram | head -n 25
See below at the end. Did you ever confirm by the way that this was a
regression in Libtool, and that it wasn't due to, say, a change in
compiler version or setup? That should be the first step, before
starting bisect.
> and an
>
> ls -al /usr/lib/*libgfortran.*
Empty.
> I just did a complete new checkout and unfortunately the problem persists.
>
> I have this Fortran:
>
> # gfortran --version
> GNU Fortran (GCC) 4.2.4
> Copyright (C) 2007 Free Software Foundation, Inc.
I have 4.2.4, too, but it may be modified by the vendor. It seems to
have -blibpath set at configure time, but I don't think that should
translate to a setting at run time:
cat >a.c <<EOF
int main () { return 0; }
EOF
/opt/fsw/gcc42/bin/gcc -v -o a a.c
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: /opt/build/gcc-4.2.4/configure --enable-nls
--with-included-gettext --enable-shared --enable-threads
--with-local-prefix=/opt/fsw/gcc42 --with-gmp=/opt/fsw/libgmp42
--with-mpfr=/opt/fsw/libmpfr23 --with-gmp-ldflags=-Wl,-brtl
-Wl,-blibpath:/opt/fsw/libgmp42/lib:/usr/lib --with-mpfr-ldflags=-Wl,-brtl
-Wl,-blibpath:/opt/fsw/libmpfr23/lib:/usr/lib
--enable-languages=ada,c,c++,fortran --datadir=/opt/fsw/gcc42/share
--with-gxx-include-dir=/opt/fsw/gcc42/include/c++ --prefix=/opt/fsw/gcc42
Thread model: aix
gcc version 4.2.4
/opt/fsw/gcc42/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2/cc1 -quiet -v a.c -quiet
-dumpbase a.c -auxbase a -version -o /tmp//cc6fc1cd.s
ignoring nonexistent directory
"/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/../../../../powerpc-ibm-aix5.3.0.0/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/fsw/gcc42/include
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/include
/usr/include
End of search list.
GNU C version 4.2.4 (powerpc-ibm-aix5.3.0.0)
compiled by GNU C version 4.2.4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 7be76c37eb1daea89bec498f78dc310c
as -u -mppc -o /tmp//ccwLPock.o /tmp//cc6fc1cd.s
/opt/fsw/gcc42/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2/collect2 -bpT:0x10000000
-bpD:0x20000000 -btextro -bnodelcsect -o a /lib/crt0.o
-L/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2
-L/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/../../.. /tmp//ccwLPock.o
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/libgcc.a
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/libgcc_eh.a -lc
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/libgcc.a
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/libgcc_eh.a
cat >a.f90 <<EOF
program main
end
EOF
$ /opt/fsw/gcc42/bin/gfortran -v -o a a.f90
Driving: /opt/fsw/gcc42/bin/gfortran -v -o a a.f90 -lgfortranbegin -lgfortran
-lm -shared-libgcc
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: /opt/build/gcc-4.2.4/configure --enable-nls
--with-included-gettext --enable-shared --enable-threads
--with-local-prefix=/opt/fsw/gcc42 --with-gmp=/opt/fsw/libgmp42
--with-mpfr=/opt/fsw/libmpfr23 --with-gmp-ldflags=-Wl,-brtl
-Wl,-blibpath:/opt/fsw/libgmp42/lib:/usr/lib --with-mpfr-ldflags=-Wl,-brtl
-Wl,-blibpath:/opt/fsw/libmpfr23/lib:/usr/lib
--enable-languages=ada,c,c++,fortran --datadir=/opt/fsw/gcc42/share
--with-gxx-include-dir=/opt/fsw/gcc42/include/c++ --prefix=/opt/fsw/gcc42
Thread model: aix
gcc version 4.2.4
/opt/fsw/gcc42/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2/f951 a.f90 -quiet
-dumpbase a.f90 -auxbase a -version -I
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/finclude -o /tmp//cctzCooE.s
GNU F95 version 4.2.4 (powerpc-ibm-aix5.3.0.0)
compiled by GNU C version 4.2.4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -u -mppc -o /tmp//ccuHY1B7.o /tmp//cctzCooE.s
/opt/fsw/gcc42/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2/collect2 -bpT:0x10000000
-bpD:0x20000000 -btextro -bnodelcsect -o a /lib/crt0.o
-L/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2
-L/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/../../.. /tmp//ccuHY1B7.o
-lgfortranbegin -lgfortran -lm -lgcc_s
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/libgcc.a -lc -lgcc_s
/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/libgcc.a
ld: 0711-224 WARNING: Duplicate symbol: .__divdi3
ld: 0711-224 WARNING: Duplicate symbol: .__moddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivdi3
ld: 0711-224 WARNING: Duplicate symbol: .__umoddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivmoddi4
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> Maybe the Fortran sample is working because you have symlinks to /usr/lib ??
No, but the test in libltdl/m4/libtool.m4:_LT_SYS_MODULE_PATH_AIX sets
lt_cv_aix_libpath='/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2:/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/../../..:/usr/lib:/lib
...'
(see config.log or config.cache).
Cheers,
Ralf
$ dump -nv tests/f77demo/.libs/fprogram | head -n 25
tests/f77demo/.libs/fprogram:
***Loader Section***
Loader Header Information
VERSION# #SYMtableENT #RELOCent LENidSTR
0x00000001 0x0000001c 0x0000004b 0x0000012d
#IMPfilID OFFidSTR LENstrTBL OFFstrTBL
0x00000006 0x00000644 0x00000136 0x00000771
***Import File Strings***
INDEX PATH BASE MEMBER
0
/tmp/build-powerpc-ibm-aix5.3.0.0-gcc/_inst-f77demo/lib:/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2:/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2/../../..:/usr/lib:/lib
1 libc.a shr.o
2 libgfortran.a libgfortran.so.2
3 libfoo.a libfoo.so.0
4 libfoo3.a libfoo3.so.0
5 libgcc_s.a shr.o
***Loader Symbol Table Information***
[Index] Value Scn IMEX Sclass Type IMPid Name
[0] 0x200008f8 .data RW SECdef [noIMid] __rtinit
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Ralf Wildenhues, 2010/09/02
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/12
- Re: Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/14
- Re: Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status,
Ralf Wildenhues <=
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/15
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/19
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Ralf Wildenhues, 2010/09/20
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/21
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Ralf Wildenhues, 2010/09/21
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/22
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Ralf Wildenhues, 2010/09/22
- Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/22
Re: Re: libtool-2.2.11a on AIX 5.3 current git master 2010-08-25 /status, Rainer Tammer, 2010/09/18