[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #2 from James Ballantine  ---
I downloaded the source tar file from the gnu gcc repository.
As I stated 4.3.0 is not on the system, the latest version of gcc is 3.4.6.
I don't have any fortran code, the failure was during the build of the R-3.2.2
package


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #4 from James Ballantine  ---
Yes, I built it on a solaris10 system.
ODIN $ which gfortran   
/usr/local/add-on/gcc/bin/gfortran
ODIN $ /usr/local/add-on/gcc/bin/gfortran -v
Using built-in specs.
COLLECT_GCC=/usr/local/add-on/gcc/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/add-on/gcc-5.2.0/libexec/gcc/sparc-sun-solaris2.10/5.2.0/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: ../configure --prefix=/usr/local/add-on/gcc-5.2.0
--with-as=/usr/local/add-on/binutils/bin/as
--with-ld=/usr/local/add-on/binutils/bin/ld
Thread model: posix
gcc version 5.2.0 (GCC)


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #10 from James Ballantine  ---
Dominique,

The way this system is managed, is that all packages that are not "official"
ones are put in a separate add-on directory which are then added to the front
of paths, or before the /usr "standard" directories.  So I can see what source
was download, built and installed, and while gcc-4.3.2 was built, it was not
installed, and the prefix in the Makefile is /usr/local/add-on/gcc-4.3.2,
which doesn't exist:

ODIN $ ls /usr/local/add-on/gcc-4.3.2
/usr/local/add-on/gcc-4.3.2: No such file or directory

As for /usr/local/lib and /usr/lib(/libgcc_s.so.1) here is what is on the
system:

ODIN $ ls /usr/local/lib
X11@aliases diff3*  libv9.a oprsub* pine.conf
ODIN $ ls /usr/lib/libgcc*
/usr/lib/libgcc*: No such file or directory

Andrew,

As I stated in my intial report, the LD_LIBRARY_PATH does include the GCC_5.2.0
lib directory.


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #6 from James Ballantine  ---
Gcc-4.3.0 has never been on the system as other then the source code for 4.3.2,
in a directory not in any $PATH.
Yes gmp, mpfr, ... are all in the top level directory tree.


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #13 from James Ballantine  ---
Here is the ldd on the executable:

ODIN $ ldd bin/exec/R 
libICE.so.6 =>   /usr/lib/libICE.so.6
libSM.so.6 =>/usr/lib/libSM.so.6
libRblas.so =>   (file not found)
libgfortran.so.3 =>  /usr/local/add-on/gcc/lib/libgfortran.so.3
libm.so.2 => /usr/lib/libm.so.2
libreadline.so.6 =>  /usr/lib/libreadline.so.6
libcurses.so.1 =>/usr/lib/libcurses.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libsocket.so.1 =>/usr/lib/libsocket.so.1
librt.so.1 =>/usr/lib/librt.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
libiconv.so.2 => /usr/lib/libiconv.so.2
libicuuc.so.3 => /usr/lib/libicuuc.so.3
libicui18n.so.3 =>   /usr/lib/libicui18n.so.3
libgomp.so.1 =>  /usr/local/add-on/gcc/lib/libgomp.so.1
libpthread.so.1 =>   /usr/lib/libpthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/add-on/gcc/lib/libgcc_s.so.1
libmp.so.2 =>/usr/lib/libmp.so.2
libmd.so.1 =>/usr/lib/libmd.so.1
libscf.so.1 =>   /usr/lib/libscf.so.1
libaio.so.1 =>   /usr/lib/libaio.so.1
libicudata.so.3 =>   /usr/lib/libicudata.so.3
libCrun.so.1 =>  /usr/lib/libCrun.so.1
libdoor.so.1 =>  /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 =>   /usr/lib/libgen.so.1
/platform/SUNW,SPARC-Enterprise/lib/libc_psr.so.1

And
ODIN $ ls -l /usr/local/add-on/gcc
lrwxrwxrwx   1 jwb  staff 27 Sep  2 13:42 /usr/local/add-on/gcc ->
/usr/local/add-on/gcc-5.2.0/


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #12 from James Ballantine  ---
Andrew,

This will take some time, R is just a script that executes another executable.
I will post the results when I find the executable.


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #15 from James Ballantine  ---
That is in the lib dir that is a peer of the bin dir., i.e.
both directly under /usr/local/src/add-on/R-3.2.2,
but then the bin/exec/R is normally run from a shell script
that is bin/R, so that could be a issue because I ran ldd
on the executable rather than from within the script


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #16 from James Ballantine  ---
I've added the ldd to the R script, and now I get:

ODIN $ ./My_R --version   
ldd: exec: cannot read file: Is a directory
/usr/local/src/add-on/R-3.2.2/bin/exec/R:
libICE.so.6 =>   /usr/openwin/lib/libICE.so.6
libSM.so.6 =>/usr/openwin/lib/libSM.so.6
libRblas.so =>   /usr/local/src/add-on/R-3.2.2/lib/libRblas.so
libgfortran.so.3 =>  /usr/local/add-on/gcc/lib/libgfortran.so.3
libm.so.2 => /usr/lib/libm.so.2
libreadline.so.6 =>  /usr/lib/libreadline.so.6
libcurses.so.1 =>/usr/lib/libcurses.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libsocket.so.1 =>/usr/lib/libsocket.so.1
librt.so.1 =>/usr/lib/librt.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
libiconv.so.2 => /usr/lib/libiconv.so.2
libicuuc.so.3 => /usr/lib/libicuuc.so.3
libicui18n.so.3 =>   /usr/lib/libicui18n.so.3
libgomp.so.1 =>  /usr/local/add-on/gcc/lib/libgomp.so.1
libpthread.so.1 =>   /usr/lib/libpthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
libgcc_s.so.1 (GCC_4.3.0) => (version not found)
libgcc_s.so.1 (GCC_4.2.0) => (version not found)
libmp.so.2 =>/usr/lib/libmp.so.2
libmd.so.1 =>/usr/lib/libmd.so.1
libscf.so.1 =>   /usr/lib/libscf.so.1
libaio.so.1 =>   /usr/lib/libaio.so.1
libicudata.so.3 =>   /usr/lib/libicudata.so.3
libCrun.so.1 =>  /usr/lib/libCrun.so.1
libdoor.so.1 =>  /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 =>   /usr/lib/libgen.so.1
/platform/SUNW,SPARC-Enterprise/lib/libc_psr.so.1
ldd: --version: cannot open file: No such file or directory

So now to find and fix the R build so it doesn't use /usr/sfw/lib.


[Bug fortran/67454] GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

--- Comment #18 from James Ballantine  ---
It's a solaris directory that I think is for freeware.


[Bug fortran/67454] New: GCC-5.2.0 `GCC_4.3.0' not found (required by file /usr/local/add-on/gcc/lib/libgfortran.so.3)

2015-09-04 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67454

Bug ID: 67454
   Summary: GCC-5.2.0 `GCC_4.3.0' not found (required by file
/usr/local/add-on/gcc/lib/libgfortran.so.3)
   Product: gcc
   Version: 5.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: j.ballantine at gmail dot com
  Target Milestone: ---

When attempting to build R-3.2.2, the processing fails with:
ld.so.1: R: fatal: libgcc_s.so.1: version `GCC_4.3.0' not found (required by
file /usr/local/add-on/gcc/lib/libgfortran.so.3)
GCC 4.3.0 is not on the system, and gcc version was 3.4.6 when 5.2.0 was built.
the LD_LIBRARY_PATH includes a pointer to /usr/local/add-on/gcc/lib which is a
soft link to the gcc-5.2.0 install
/usr/local/add-on/gcc -> /usr/local/add-on/gcc-5.2.0/


[Bug libgcc/66809] New: stage 1 build failure in libgcc on sparc-sun-solaris2.10

2015-07-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66809

Bug ID: 66809
   Summary: stage 1 build failure in libgcc on
sparc-sun-solaris2.10
   Product: gcc
   Version: 4.8.5
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgcc
  Assignee: unassigned at gcc dot gnu.org
  Reporter: j.ballantine at gmail dot com
  Target Milestone: ---

Created attachment 35933
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35933action=edit
Full config log from sparc-sun-solaris2.10/libgcc

Build during stage 1 of gcc failed in sparc-sun-solaris2.10/libgcc,
with error of
configure:3605: error: in
`/usr/local/src/add-on/gcc-4.8.5/objdir/sparc-sun-solaris2.10/libgcc':
configure:3608: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

config.log shows:

xgcc (GCC) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3358: $? = 0
configure:3347: /usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/xgcc
-B/usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/ -B/usr
/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/bin/
-B/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/lib/ -isystem /us
r/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/include -isystem
/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/sys-in
clude-v 5
Reading specs from /usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/specs
COLLECT_GCC=/usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/xgcc
COLLECT_LTO_WRAPPER=/usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: ../configure --prefix=/usr/local/add-on/gcc-4.8.5
--with-gmp=/usr/local/add-on/gmp --with-mpc=/usr/loca
l/add-on/mpc --with-mpfr=/usr/local/add-on/mpfr
Thread model: posix
gcc version 4.8.5 (GCC) 
configure:3358: $? = 0
configure:3347: /usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/xgcc
-B/usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/ -B/usr
/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/bin/
-B/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/lib/ -isystem /us
r/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/include -isystem
/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/sys-in
clude-V 5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3358: $? = 1
configure:3347: /usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/xgcc
-B/usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/ -B/usr
/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/bin/
-B/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/lib/ -isystem /us
r/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/include -isystem
/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/sys-in
clude-qversion 5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3358: $? = 1
configure:3374: /usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/xgcc
-B/usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/ -B/usr
/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/bin/
-B/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/lib/ -isystem /us
r/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/include -isystem
/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/sys-in
clude-o conftest -g -O2   conftest.c  5
ld.so.1: cc1: fatal: libmpc.so.3: open failed: No such file or directory
xgcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
configure:3377: $? = 4
configure:3565: checking for suffix of object files
configure:3587: /usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/xgcc
-B/usr/local/src/add-on/gcc-4.8.5/objdir/./gcc/ -B/usr
/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/bin/
-B/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/lib/ -isystem /us
r/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/include -isystem
/usr/local/add-on/gcc-4.8.5/sparc-sun-solaris2.10/sys-in
clude-c -g -O2  conftest.c 5
ld.so.1: cc1: fatal: libmpc.so.3: open failed: No such file or directory
xgcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,

Location of mpc compiled lib is:
ODIN $ lsl /usr/local/add-on/mpc/lib
total 713
-rwxr-xr-x   1 jwb  staff  92136 Jul  7 14:46 libmpc.so.3.0.0*
-rwxr-xr-x   1 jwb  staff   1133 Jul  7 14:46 libmpc.la*
-rw-r--r--   1 jwb  staff 145732 Jul  7 14:46 libmpc.a
lrwxrwxrwx   1 jwb  staff 15 Jul  7 14:46 libmpc.so.3 -
libmpc.so.3.0.0*
lrwxrwxrwx   1 jwb  staff 15 Jul  7 14:46 libmpc.so -
libmpc.so.3.0.0*
drwxr-sr-x   2 jwb  staff  7 Jul  7 14:46 ./
drwxr-sr-x   5 jwb  staff  5 Jul  7 14:46 ../


[Bug libgcc/66809] stage 1 build failure in libgcc on sparc-sun-solaris2.10

2015-07-08 Thread j.ballantine at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66809

--- Comment #2 from James Ballantine j.ballantine at gmail dot com ---
If you look at attachment, you will see that he options
for --with-gmp=/usr/local/add-on/gmp --with-mpc=/usr/local/add-on/mpc
--with-mpfr=/usr/local/add-on/mpfr were set