octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #54235] configure sets FPICFLAG to '-KPIC' on


From: Michele
Subject: [Octave-bug-tracker] [bug #54235] configure sets FPICFLAG to '-KPIC' on Solaris even with F77='gfortran'
Date: Mon, 2 Jul 2018 20:38:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #8, bug #54235 (project octave):

I discovered this:

# ls -l *std*
-rw-r--r--   1 root     bin      12246176 Nov  4  2014 libstdc++.a
-rwxr-xr-x   1 root     bin          959 Nov  4  2014 libstdc++.la
lrwxrwxrwx   1 root     root          19 Jun 25 11:13 libstdc++.so ->
libstdc++.so.6.0.20
lrwxrwxrwx   1 root     root          19 Jun 22 16:19 libstdc++.so.6 ->
libstdc++.so.6.0.21
-rw-r--r--   1 root     bin         2300 Nov  4  2014
libstdc++.so.6.0.20-gdb.py
-rwxr-xr-x   1 root     bin      11689172 Oct 13  2017 libstdc++.so.6.0.21

So apparently libstdc++.so was pointing to something not there anymore. 
Perhaps I'm being stupid again but I did this:

# ln -s libstdc++.so.6.0.21 libstdc++.so
# 

But it's still not happy:

# gmake FPICFLAG=-fPIC LDFLAGS=/opt/csw/lib
preserving existing HG-ID file
  GEN      libinterp/builtin-defun-decls.h
gmake  all-recursive
gmake[1]: Entering directory '/export/home/michele/octave-4.4.0'
preserving existing HG-ID file
Making all in libgnu
gmake[2]: Entering directory '/export/home/michele/octave-4.4.0/libgnu'
gmake  all-recursive
gmake[3]: Entering directory '/export/home/michele/octave-4.4.0/libgnu'
gmake[4]: Entering directory '/export/home/michele/octave-4.4.0/libgnu'
gmake[4]: Nothing to be done for 'all-am'.
gmake[4]: Leaving directory '/export/home/michele/octave-4.4.0/libgnu'
gmake[3]: Leaving directory '/export/home/michele/octave-4.4.0/libgnu'
gmake[2]: Leaving directory '/export/home/michele/octave-4.4.0/libgnu'
gmake[2]: Entering directory '/export/home/michele/octave-4.4.0'
preserving existing HG-ID file
  GEN      libinterp/builtin-defun-decls.h
  CXXLD    liboctave/liboctave.la
ld: warning: file
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/../../../libgomp.so: linked to
/opt/csw/lib/libgomp.so: attempted multiple inclusion of file
  CXXLD    libinterp/liboctinterp.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/../../../libgfortran.la' seems
to be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/../../../libgomp.la' seems to be
moved
ld: fatal: recording name conflict: file '/opt/csw/lib/libstdc++.so' and file
'/usr/sfw/lib/libstdc++.so' provide identical dependency names: libstdc++.so.6
 (possible multiple inclusion of the same file)
ld: warning: file
/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.so: linked to
/opt/csw/lib/libgomp.so: attempted multiple inclusion of file
ld: fatal: file processing errors. No output written to
libinterp/.libs/liboctinterp.so.5.0.0
gmake[2]: *** [Makefile:11828: libinterp/liboctinterp.la] Error 1
gmake[2]: Leaving directory '/export/home/michele/octave-4.4.0'
gmake[1]: *** [Makefile:26469: all-recursive] Error 1
gmake[1]: Leaving directory '/export/home/michele/octave-4.4.0'
gmake: *** [Makefile:10185: all] Error 2
#




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54235>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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