libtool
[Top][All Lists]
Advanced

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

[sr #108201] libtool problems with -export-symbols-regex on solaris with


From: Richard PALO
Subject: [sr #108201] libtool problems with -export-symbols-regex on solaris with gcc-4.7.x
Date: Sat, 15 Dec 2012 11:18:58 +0000
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/17.0 Firefox/17.0

Follow-up Comment #15, sr #108201 (project libtool):

could you please post your testsuite.log for the following command:

gmake CC=g++ check-local

it is possible that this is yet another bug (either in libtool or in gcc...)

When I only run test 45 with

    gmake CC=g++ check-local TESTSUITEFLAGS="45 -d"

The test fails with the following extract from
tests/testsuite.dir/045/testsuite.log :
==============
eval '/home/richard/src/libtool/libtool --mode=link g++ -g -O2  -no-undefined
-o liba.la a.lo 
               -rpath
/home/richard/src/libtool/tests/testsuite.dir/045/inst/lib' 
./export.at:171: eval '$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la
a.lo 
               -rpath $libdir' $exportsyms
stderr:
g++: error: unrecognized command line option '-no-undefined'
stdout:
libtool: link: g++ -shared  -fPIC -DPIC -nostdlib  -no-undefined
/usr/lib/amd64/crti.o /usr/lib/amd64/values-Xa.o /opt/pkg/gcc47/lib
/gcc/x86_64-sun-solaris2.11/4.7.2/crtbegin.o  .libs/a.o  
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2 -L/opt/pkg/gcc47/lib
/gcc/x86_64-sun-solaris2.11/4.7.2/../../../../x86_64-sun-solaris2.11/lib/amd64
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2
/../../../amd64 -L/lib/amd64 -L/usr/lib/amd64
-L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/../../../../x86_64-sun-solaris2.
11/lib -L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2/../../.. -lstdc++
-lm -lc -lgcc_s /opt/pkg/gcc47/lib/gcc/x86_64-sun-sol
aris2.11/4.7.2/crtend.o /usr/lib/amd64/crtn.o  -O2   -Wl,-h -Wl,liba.so.0 -o
.libs/liba.so.0.0.0
./export.at:171: exit code was 1, expected 0






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108201>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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