public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dipanjan Das <its.dipanjan.das@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: Installing gcc 4.7.2 on Solaris 10 - SPARC platform
Date: Wed, 05 Dec 2012 16:14:00 -0000	[thread overview]
Message-ID: <CAEK-7J+375xRR7cWMa16q+yQC454Xv2bhBo92Tx3WF7BY-DPtQ@mail.gmail.com> (raw)

Solaris 10 shipped with an old gcc, probably version 3.7.2, under
/usr/sfw/bin. My project required to be built by gcc >=4.3 to be
compiled successfully. Therefore, I installed a pre-compiled gcc 3.4.6
from [sunfreeware.com|sunfreeware.com] and successfully compiled
latest version (2.23.1) of GNU binutils. Also I could successfully
build GMP, MPC, MPFR libraries required as a pre-requisite to compile
gcc. But, I get the error message as follows: (Last few lines of
several KBs of 'make' log)

/home/Dip/Workspace/gcc-build/./gcc/xgcc
-B/home/Dip/Workspace/gcc-build/./gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/
-B/usr/local/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sparc-sun-solaris2.10/include -isystem
/usr/local/sparc-sun-solaris2.10/sys-include -g -O2 -m64 -O2 -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC
-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I.
-I../../.././gcc -I../../../../gcc-4.7.2/libgcc
-I../../../../gcc-4.7.2/libgcc/. -I../../../../gcc-4.7.2/libgcc/../gcc
-I../../../../gcc-4.7.2/libgcc/../include -DHAVE_CC_TLS -o _ctors.o
-MT _ctors.o -MD -MP -MF _ctors.dep -DL_ctors -c
../../../../gcc-4.7.2/libgcc/libgcc2.c -fvisibility=hidden
-DHIDE_EXPORTS
/home/Dip/Workspace/gcc-build/./gcc/xgcc
-B/home/Dip/Workspace/gcc-build/./gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/
-B/usr/local/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sparc-sun-solaris2.10/include -isystem
/usr/local/sparc-sun-solaris2.10/sys-include -g -O2 -m64 -O2 -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC
-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I.
-I../../.././gcc -I../../../../gcc-4.7.2/libgcc
-I../../../../gcc-4.7.2/libgcc/. -I../../../../gcc-4.7.2/libgcc/../gcc
-I../../../../gcc-4.7.2/libgcc/../include -DHAVE_CC_TLS -o _ffssi2.o
-MT _ffssi2.o -MD -MP -MF _ffssi2.dep -DL_ffssi2 -c
../../../../gcc-4.7.2/libgcc/libgcc2.c -fvisibility=hidden
-DHIDE_EXPORTS
/var/tmp//ccT2zOsO.s: Assembler messages:
/var/tmp//ccT2zOsO.s:636: Error: unknown pseudo-op: `.group'
*make[5]: *** [_ffssi2.o] Error 1*
make[5]: Leaving directory
`/home/Dip/Workspace/gcc-build/sparc-sun-solaris2.10/sparcv9/libgcc'
*make[4]: *** [multi-do] Error 1*
make[4]: Leaving directory
`/home/Dip/Workspace/gcc-build/sparc-sun-solaris2.10/libgcc'
*make[3]: *** [all-multi] Error 2*
make[3]: Leaving directory
`/home/Dip/Workspace/gcc-build/sparc-sun-solaris2.10/libgcc'
*make[2]: *** [all-stage1-target-libgcc] Error 2*
make[2]: Leaving directory `/home/Dip/Workspace/gcc-build'
*make[1]: *** [stage1-bubble] Error 2*
make[1]: Leaving directory `/home/Dip/Workspace/gcc-build'
*make: *** [all] Error 2*

Does that ring any bell? Has anyone been able to build gcc >=4.3 from
source under Solaris 10 successfully? Please suggest. My project
urgently needs it, but all the activities are stalled.

--

Thanks & Regards,

Dipanjan

             reply	other threads:[~2012-12-05 16:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 16:14 Dipanjan Das [this message]
2012-12-05 17:04 ` Dennis Clarke
2012-12-05 18:28   ` Holmes.Sherlock
2012-12-16  0:31     ` Holmes.Sherlock
2012-12-16  9:07       ` Kai Ruottu
2012-12-16  9:39         ` Holmes.Sherlock
2012-12-16 21:45           ` Dennis Clarke
2012-12-17  0:04             ` Holmes.Sherlock
2012-12-16 21:51       ` Dennis Clarke
2012-12-17  0:09         ` Holmes.Sherlock
2012-12-17  0:43           ` Dennis Clarke
2012-12-17  0:59             ` Holmes.Sherlock
2012-12-17 17:40       ` Tom Christensen
2012-12-17 17:49         ` Dennis Clarke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEK-7J+375xRR7cWMa16q+yQC454Xv2bhBo92Tx3WF7BY-DPtQ@mail.gmail.com \
    --to=its.dipanjan.das@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).