libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 0/2] sysroot patches followup


From: Ralf Wildenhues
Subject: Re: [PATCH 0/2] sysroot patches followup
Date: Sat, 14 Aug 2010 09:18:57 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Ralf Wildenhues wrote on Thu, Aug 12, 2010 at 11:28:31PM CEST:
> Thanks.  So far, with a merge of sysroot to master, I see one regression
> on AIX with runtimelinking (configure LDFLAGS=-Wl,-brtl)

OK so this one really is a regression with the patch series.  bisect
converges at the "teach libtool -L= and -R=" patch.

I think the issue is that some code paths now absolutize formerly
relative paths to in-tree deplibs which then somewhere messes up
later.  Below's a context diff of good vs. bad log output.

I'm still not sure whether it's the patch or the test that is wrong.
Will investigate further, but might be a couple of days.  I'm sure
this is fixable though.

Cheers,
Ralf

*** log-good-v2.2.10-82-g3334f7e        Sat Aug 14 07:06:53 2010
--- log-bad-v2.2.10-84-gadb8f84 Sat Aug 14 07:04:26 2010
***************
*** 49,53 ****
  stdout:
  libtool: link: /bin/nm -B -BCpg  .libs/liba1.o   | awk '{ if ((($ 2 == "T") 
|| ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) != ".")) { print $ 3 } }' 
| sort -u > .libs/liba1.exp
! libtool: link: cc -qlanglvl=extc89 -o .libs/liba1.so.0.0.0  .libs/liba1.o   
-Wl,-blibpath:/home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/tests/testsuite.dir/106/c/.libs:/nowhere:/usr/vac/lib:/usr/lib:/lib
 -L../c/.libs -lcee -lc -Wl,-bnoentry  -qlanglvl=extc89 -Wl,-brtl   `if test 
"x-berok" != "x"; then func_echo_all "-Wl,-berok"; else :; fi` 
-Wl,-bexport:.libs/liba1.exp -Wl,-G
  libtool: link: (cd ".libs" && rm -f "liba1.so.0" && ln -s "liba1.so.0.0.0" 
"liba1.so.0")
  libtool: link: (cd ".libs" && rm -f "liba1.so" && ln -s "liba1.so.0.0.0" 
"liba1.so")
--- 49,53 ----
  stdout:
  libtool: link: /bin/nm -B -BCpg  .libs/liba1.o   | awk '{ if ((($ 2 == "T") 
|| ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) != ".")) { print $ 3 } }' 
| sort -u > .libs/liba1.exp
! libtool: link: cc -qlanglvl=extc89 -o .libs/liba1.so.0.0.0  .libs/liba1.o   
-Wl,-blibpath:/home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/tests/testsuite.dir/106/c/.libs:/nowhere:/usr/vac/lib:/usr/lib:/lib
 
-L/home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/tests/testsuite.dir/106/c/.libs
 -lcee -lc -Wl,-bnoentry  -qlanglvl=extc89 -Wl,-brtl   `if test "x-berok" != 
"x"; then func_echo_all "-Wl,-berok"; else :; fi` -Wl,-bexport:.libs/liba1.exp 
-Wl,-G
  libtool: link: (cd ".libs" && rm -f "liba1.so.0" && ln -s "liba1.so.0.0.0" 
"liba1.so.0")
  libtool: link: (cd ".libs" && rm -f "liba1.so" && ln -s "liba1.so.0.0.0" 
"liba1.so")
***************
*** 93,104 ****
  ++ /home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/libtool --mode=link cc 
-qlanglvl=extc89 -g -Wl,-brtl -o liba3.la liba3.lo -L../c -lcee -rpath /nowhere
  stderr:
  stdout:
  libtool: link: /bin/nm -B -BCpg  .libs/liba3.o   | awk '{ if ((($ 2 == "T") 
|| ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) != ".")) { print $ 3 } }' 
| sort -u > .libs/liba3.exp
! libtool: link: cc -qlanglvl=extc89 -o .libs/liba3.so.0.0.0  .libs/liba3.o   
-Wl,-blibpath:/home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/tests/testsuite.dir/106/c/.libs:/nowhere:/usr/vac/lib:/usr/lib:/lib
 
-L/home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/tests/testsuite.dir/106/c/.libs
 -L/home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/tests/testsuite.dir/106/c 
-lcee -lc -Wl,-bnoentry  -qlanglvl=extc89 -Wl,-brtl   `if test "x-berok" != 
"x"; then func_echo_all "-Wl,-berok"; else :; fi` -Wl,-bexport:.libs/liba3.exp 
-Wl,-G
! libtool: link: (cd ".libs" && rm -f "liba3.so.0" && ln -s "liba3.so.0.0.0" 
"liba3.so.0")
! libtool: link: (cd ".libs" && rm -f "liba3.so" && ln -s "liba3.so.0.0.0" 
"liba3.so")
! libtool: link: ar cru .libs/liba3.a  liba3.o
! libtool: link: ranlib .libs/liba3.a
! libtool: link: ( cd ".libs" && rm -f "liba3.la" && ln -s "../liba3.la" 
"liba3.la" )
  ++ cat
  ++ cd a/b
--- 93,102 ----
  ++ /home/rwild/lt/build-powerpc-ibm-aix5.3.0.0-rtl/libtool --mode=link cc 
-qlanglvl=extc89 -g -Wl,-brtl -o liba3.la liba3.lo -L../c -lcee -rpath /nowhere
  stderr:
+ ld: 0706-006 Cannot find or open library file: -l cee
+       ld:open(): No such file or directory
  stdout:
  libtool: link: /bin/nm -B -BCpg  .libs/liba3.o   | awk '{ if ((($ 2 == "T") 
|| ($ 2 == "D") || ($ 2 == "B")) && (substr($ 3,1,1) != ".")) { print $ 3 } }' 
| sort -u > .libs/liba3.exp
! libtool: link: cc -qlanglvl=extc89 -o .libs/liba3.so.0.0.0  .libs/liba3.o   
-L../c -lcee -lc -Wl,-bnoentry  -qlanglvl=extc89 -Wl,-brtl   `if test "x-berok" 
!= "x"; then func_echo_all "-Wl,-berok"; else :; fi` 
-Wl,-bexport:.libs/liba3.exp -Wl,-G
! ../../libtool/tests/deplibs-ident.at:53: exit code was 255, expected 0
  ++ cat
  ++ cd a/b




reply via email to

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