Hi Ian,
Thank you so much for the help. Both of those options did not work.
Somehow, the program was able to get buggy libmpfr. I think it might be
because I am using /usr/ccs/bin/ld and that ld is giving preference to
libraries in /usr/lib.
In my case, /usr/lib/libmpc.so.3 pointed to /opt
On Fri, Aug 24, 2018 at 11:48 PM, Amandeep Gautam
wrote:
> Hi Ian,
>I compiled GMP, MPFR and MPC from source. Next, I configured gcc with
> modified options:
>
> $srcdir/configure \
> --prefix=$prefix \
> --enable-languages=go \
> --with-as=/opt/csw/gnu/as --with-gnu-as \
> --w
Hi Ian,
I compiled GMP, MPFR and MPC from source. Next, I configured gcc with
modified options:
$srcdir/configure \
--prefix=$prefix \
--enable-languages=go \
--with-as=/opt/csw/gnu/as --with-gnu-as \
--with-ld=/usr/ccs/bin/ld --without-gnu-ld \
--with-gmp-include=/usr/gnu/
Running inside the gdb worked. Seems like a problem with libmpfr. Will try
compiling it from source.
Following is the end of the GDB output:
/export/home/amandeep/gccgo-src/libgo/go/fmt/scan.go:658:43: error:
expected integer, floating, complex, or string type
s.errorString("integer overflow
On Thu, Aug 23, 2018 at 2:14 PM, Amandeep Gautam
wrote:
>
> /export/home/amandeep/gccgo-obj/./gcc/go1
> /export/home/amandeep/gccgo-src/libgo/go/fmt/doc.go
> /export/home/amandeep/gccgo-src/libgo/go/fmt/format.go
> /export/home/amandeep/gccgo-src/libgo/go/fmt/print.go
> /export/home/amandeep/gccgo
Thanks. I did do that befor but thought you meant different. I ran the
following:
/export/home/amandeep/gccgo-obj/./gcc/gccgo
-B/export/home/amandeep/gccgo-obj/./gcc/
-B/usr/gnu/sparc-sun-solaris2.10/bin/ -B/usr/gnu/sparc-sun-solaris2.10/lib/
-isystem /usr/gnu/sparc-sun-solaris2.10/include -is
On Thu, Aug 23, 2018 at 1:24 AM, Amandeep Gautam
wrote:
> Hi Ian,
> I ran the following after changing directory to
> /export/home/amandeep/gccgo-obj/sparc-sun-solaris2.10/libgo/:
>
> files=`echo /export/home/amandeep/gccgo-src/libgo/go/fmt/doc.go
> /export/home/amandeep/gccgo-src/libgo/go/fmt/f
Hi Ian,
I ran the following after changing directory to
/export/home/amandeep/gccgo-obj/sparc-sun-solaris2.10/libgo/:
files=`echo /export/home/amandeep/gccgo-src/libgo/go/fmt/doc.go
/export/home/amandeep/gccgo-src/libgo/go/fmt/format.go
/export/home/amandeep/gccgo-src/libgo/go/fmt/print.go
/
On Sun, Aug 19, 2018 at 9:39 PM, Amandeep Gautam
wrote:
> gmake[3]: Entering directory
> '/export/home/amandeep/gccgo-obj/sparc-sun-solaris2.10/libgo'
> gmake[4]: Entering directory
> '/export/home/amandeep/gccgo-obj/sparc-sun-solaris2.10/libgo'
> /opt/csw/bin/gmkdir -p .; files=`echo
> /export/h
On Sun, Aug 19, 2018 at 9:47 AM, Amandeep Gautam
wrote:
> I have been trying to install GCCGO on Solaris 10 with the following script:
>
> dir=/export/home/amandeep
> srcdir=$dir/gccgo-src
> objdir=$dir/gccgo-obj
> prefix=/usr/gnu
>
>
> # Create Directory
> mkdir -p $objdir
> sudo mkdir -p $prefix
I have been trying to install GCCGO on Solaris 10 with the following
script:
dir=/export/home/amandeep
srcdir=$dir/gccgo-src
objdir=$dir/gccgo-obj
prefix=/usr/gnu
# Create Directory
mkdir -p $objdir
sudo mkdir -p $prefix
# Exports
export PATH=/opt/csw/bin:/usr/sbin:$PATH:/usr/sfw/bin:/usr/cc
11 matches
Mail list logo