Unable to install gcc (SUNW0gccfss)

Hi!! Need help in installing gcc on SUN Solaris 9 (64 bit). After download gcc from SUN site, I followed the installation instructions but when I try to add tha package, pkgadd -d SUNW0gccfss, its giving me a "ERROR: no packages were found in </usr/local/apache/softw/SUNW0gccfss>".

Please help me install gcc on SOLARIS.

Thanks,

[363 byte] By [mfaizm] at [2007-11-25 23:11:41]
# 1

Make sure you specify the name of the directory after the -d option where you have downloaded, unzipped, and untarred the package.

pkgadd -d <download_directory_path> SUNW0gccfss

For example, if you the downloaded package is in /tmp/download

pkgadd -d /tmp/download SUNW0gccfss

Check http://cooltools.sunsource.net/gcc/install.html for more information.

raj_prakash at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2

Thanks Raj. I was able to install gcc. But I couldn't compile a test C program. The error I got is,

ld.so.1: /opt/gcc/libexec/gcc/sparc-sun-solaris2.9/4.0.2/cc1: fatal: lib_I_dbg_gen.so.1: open failed: No such file or directory

gcc: Internal error: Killed (program cc1)

Please submit a full bug report to

<URL:http://cooltools.sunsource.net Issue Tracker>.

I looked for lib_I_dbg_gen.so.1, but couldn't find it. I am running it on a 64-bit SOLARIS 9 machine. Do I have to re-install SOLARIS?

mfaizm at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 3

You will need to install the Sun Code Generator for SPARC

systems package (SUNW0scgfss) as well. This library is in

this package.

Please follow the download/installation instructions in

http://cooltools.sunsource.net/gcc/install.html

to download and install this package.

a_tong at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 4
I've looked everywhere and it is NOT in the package! Where do I get it?
pm_lim at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 5
It is the second item on the GCC for SPARC systemsproduct download page. It is the package in thezipped tar file SUNW0scgfss.tar.gz.
a_tong at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 6

Hi ALL,

AS per the instructions on the website :- http://cooltools.sunsource.net/gcc/install.html , i installed the scg package & then i installed the gcc package. Both the installation was successfull.

But if i execute a simple C Program ( Just a Hello World Program ), i am getting the following ERROR Message ;-

ld: fatal: relocation error: file /opt/gcc/lib/gcc/sparc-sun-solaris2.9/4.0.2/crtbegin.o: section .rela.text: invalid relocation type: 0x52

collect2: ld returned 1 exit status

So Can anyone give some good solution...

Thanking All in advance..

K.S.Madhavan

KSMadhavan at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 7
Maybe the link error was due to a wrong version of 'ld'.Did you use /usr/ccs/bin/ld?If you link your program with -v option, you should see'ld' version number like this:ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.390
ChihHung at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 8

> ld: fatal: relocation error: file

> /opt/gcc/lib/gcc/sparc-sun-solaris2.9/4.0.2/crtbegin.o

> : section .rela.text: invalid relocation type: 0x52

> collect2: ld returned 1 exit status

it's a gotdata relocation.

Make sure you have all the required patches installed.

alexey_ at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 9
Hi K.S.Madhavan,I am having the same problem, I was wondering if you found a solution?ld: fatal: relocation error: file /opt/gcc/lib/gcc/sparc-sun-solaris2.9/4.0.2/crtbegin.o: section .rela.text: invalid relocation type: 0x52Thanks,Barry
housty at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 10

> Hi K.S.Madhavan,

>

> I am having the same problem, I was wondering if you

> found a solution?

>

> ld: fatal: relocation error: file

> /opt/gcc/lib/gcc/sparc-sun-solaris2.9/4.0.2/crtbegin.o

> : section .rela.text: invalid relocation type: 0x52

>

> Thanks,

> Barry

Barry,

you seems to be using an old version.

Could you try to download and install newer version 4.0.3 ?

Please make sure that you have all the required patches installed.

If problem still persists, please send us your solaris version, ld version and 'patchadd -p' output to gccfss-bugs at sun.com

Thanks

Alex.

alexey_ at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 11

Hi Alex,

I installed the new gcc version 4.0.3 from http://www.sun.com/download/products.xml?id=44e24b9d

I am still getting the same error when using the compiler "gcc hello.c".

What patches should I install?

Regards,

Barry

My version of solaris is:

SunOS marta 5.9 Generic_112233-03 sun4u sparc SUNW,UltraAX-i2

Patchadd -p:

Patch: 111703-02 Obsoletes: Requires: Incompatibles: Packages: SUNWsprot SUNWsprox SUNWxcu4t

Patch: 111711-01 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC

Patch: 111712-01 Obsoletes: Requires: 111711-01 Incompatibles: Packages: SUNWlibCx

Patch: 111722-01 Obsoletes: Requires: Incompatibles: Packages: SUNWlibm SUNWlibms SUNWlmsx

Patch: 112233-03 Obsoletes: 112737-03 113150-03 113156-01 113158-01 113159-01 113163-01 Requires: Incompatibles: Packages: FJSVhea SUNWcar SUNWcarx SUNWcsr SUNWcsu SUNWcsxu SUNWhea SUNWmdb SUNWmdbx

Patch: 112540-06 Obsoletes: Requires: Incompatibles: Packages: SUNWifb SUNWifbcf SUNWifbw SUNWifbx

Patch: 112565-08 Obsoletes: Requires: Incompatibles: Packages: SUNWgfb SUNWgfbcf SUNWgfbr SUNWgfbw SUNWgfbx

Patch: 112601-04 Obsoletes: Requires: Incompatibles: Packages: TSIpgx TSIpgxw TSIpgxx

Patch: 112617-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdmn

Patch: 112620-01 Obsoletes: Requires: Incompatibles: Packages: SUNWafb SUNWafbw SUNWafbx

Patch: 112621-02 Obsoletes: Requires: Incompatibles: Packages: SUNWffb SUNWffbw SUNWffbx

Patch: 112622-05 Obsoletes: Requires: Incompatibles: Packages: SUNWm64 SUNWm64cf SUNWm64w SUNWm64x

Patch: 112661-02 Obsoletes: Requires: Incompatibles: Packages: SUNWj3irt SUNWxi18n SUNWxi18x SUNWxim SUNWximx

Patch: 112764-02 Obsoletes: Requires: Incompatibles: Packages: SUNWqfed SUNWqfedu SUNWqfedx

Patch: 112771-05 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbax SUNWmfrun

Patch: 112783-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwopt

Patch: 112785-09 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt SUNWxwplt SUNWxwplx SUNWxwsrv

Patch: 112787-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwopt

Patch: 112804-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtezt

Patch: 112805-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtab SUNWdtbas SUNWdthev SUNWdthez

Patch: 112806-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst

Patch: 112807-02 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte

Patch: 112808-03 Obsoletes: Requires: Incompatibles: Packages: SUNWtltk SUNWtltkx

Patch: 112809-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjmfp

Patch: 112810-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst

Patch: 112811-01 Obsoletes: Requires: Incompatibles: Packages: SUNWolrte

Patch: 112812-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas SUNWdtdte

Patch: 112817-06 Obsoletes: Requires: Incompatibles: Packages: SUNWcea SUNWceax SUNWced SUNWcedu SUNWcedx

Patch: 112834-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea

Patch: 112835-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 112836-02 Obsoletes: Requires: Incompatibles: Packages: SUNWusb SUNWusbx

Patch: 112837-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdhcsu

Patch: 112838-02 Obsoletes: Requires: Incompatibles: Packages: SUNWefcx

Patch: 112839-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx

Patch: 112840-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx

Patch: 112841-04 Obsoletes: 112736-03 Requires: 112840-01 Incompatibles: Packages: SUNWdrcrx

Patch: 112854-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 112874-09 Obsoletes: Requires: Incompatibles: Packages: SUNWarc SUNWarcx SUNWcsl SUNWcslx SUNWcsr SUNWcstl SUNWcstlx SUNWdpl SUNWdplx

Patch: 112875-01 Obsoletes: Requires: Incompatibles: Packages: SUNWrcmds

Patch: 112902-07 Obsoletes: 112653-04 Requires: 112233-01 Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea

Patch: 112903-02 Obsoletes: 112687-02 Requires: 112902-01 Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 112904-01 Obsoletes: 112701-02 Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 112905-02 Obsoletes: 112713-02 Requires: 112233-01 Incompatibles: Packages: SUNWcarx SUNWcsr SUNWcsu SUNWcsxu SUNWhea

Patch: 112906-01 Obsoletes: 112714-02 Requires: Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea

Patch: 112907-01 Obsoletes: 112724-03 Requires: Incompatibles: Packages: SUNWgss SUNWgssk SUNWgsskx SUNWgssx

Patch: 112908-04 Obsoletes: 112726-03 Requires: 112907-01 Incompatibles: Packages: SUNWcar SUNWcarx SUNWcstl SUNWcstlx SUNWgssk SUNWgsskx SUNWkrbu SUNWkrbux

Patch: 112911-02 Obsoletes: 112652-03 113155-01 Requires: 112912-01 Incompatibles: Packages: SUNWcsr SUNWcsu SUNWhea

Patch: 112912-01 Obsoletes: 112688-02 Requires: Incompatibles: Packages: SUNWcsl SUNWcstl

Patch: 112913-01 Obsoletes: 112696-02 Requires: Incompatibles: Packages: SUNWfruip

Patch: 112914-04 Obsoletes: 112698-02 113153-01 Requires: 112911-02 Incompatibles: Packages: SUNWcsr SUNWcsu SUNWroute

Patch: 112915-01 Obsoletes: 112699-02 Requires: Incompatibles: Packages: SUNWrcmdc

Patch: 112916-01 Obsoletes: 112700-02 Requires: Incompatibles: Packages: SUNWroute

Patch: 112917-01 Obsoletes: 112702-02 Requires: Incompatibles: Packages: SUNWcsu SUNWcsxu

Patch: 112918-01 Obsoletes: 112703-02 Requires: Incompatibles: Packages: SUNWcsu SUNWhea

Patch: 112919-01 Obsoletes: 112704-02 Requires: Incompatibles: Packages: SUNWcsu

Patch: 112920-02 Obsoletes: 112712-02 Requires: Incompatibles: Packages: SUNWarc SUNWarcx SUNWcsl SUNWcslx SUNWcsr SUNWcstl SUNWcstlx SUNWhea SUNWmdb SUNWmdbx

Patch: 112921-01 Obsoletes: 112725-02 Requires: 112908-01 Incompatibles: Packages: SUNWcstl SUNWcstlx SUNWkdcu SUNWkrbu SUNWkrbux

Patch: 112922-01 Obsoletes: 112728-02 Requires: 112908-01 Incompatibles: Packages: SUNWcstl SUNWkdcu SUNWkrbu

Patch: 112923-02 Obsoletes: 112729-02 Requires: 112908-01 Incompatibles: Packages: SUNWkdcu SUNWkrbu

Patch: 112924-01 Obsoletes: 112730-02 Requires: 112908-01 Incompatibles: Packages: SUNWkrbu

Patch: 112925-02 Obsoletes: 112731-02 Requires: 112908-01 Incompatibles: Packages: SUNWkdcu SUNWkrbu

Patch: 112926-03 Obsoletes: 112732-02 Requires: Incompatibles: Packages: SUNWcstl SUNWcstlx SUNWocf SUNWocfh SUNWocfr SUNWocfx

Patch: 112927-01 Obsoletes: 112733-02 Requires: Incompatibles: Packages: SUNWhea

Patch: 112928-01 Obsoletes: 112738-02 Requires: Incompatibles: Packages: SUNWroute

Patch: 112929-01 Obsoletes: 112739-02 Requires: Incompatibles: Packages: SUNWhea

Patch: 112941-03 Obsoletes: 112949-01 113358-01 Requires: Incompatibles: Packages: SUNWadmap

Patch: 112943-04 Obsoletes: Requires: Incompatibles: Packages: SUNWlvma SUNWlvmg

Patch: 112945-05 Obsoletes: Requires: Incompatibles: Packages: SUNWmga SUNWpmgr SUNWwbapi SUNWwbcou SUNWwbdev SUNWwbpro

Patch: 112951-04 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt

Patch: 112954-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 112955-01 Obsoletes: Requires: Incompatibles: Packages: SUNWatfsr SUNWcarx

Patch: 112958-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx SUNWcstl SUNWcstlx

Patch: 112959-01 Obsoletes: Requires: Incompatibles: Packages: SUNWfruid SUNWfruix

Patch: 112960-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx SUNWhea SUNWnisu

Patch: 112961-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcar SUNWcarx

Patch: 112962-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx

Patch: 112963-03 Obsoletes: 112833-01 Requires: Incompatibles: Packages: SUNWarc SUNWbtool SUNWbtoox SUNWcsl SUNWcslx SUNWcsr SUNWcsu SUNWcsxu SUNWhea SUNWosdem SUNWtoo SUNWtoox

Patch: 112964-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 112965-01 Obsoletes: Requires: Incompatibles: Packages: SUNWeridx SUNWhea

Patch: 112966-01 Obsoletes: Requires: Incompatibles: Packages: SUNWvolu

Patch: 112967-04 Obsoletes: Requires: 112233-01 Incompatibles: Packages: SUNWcsu SUNWncar SUNWncarx SUNWncau SUNWncaux

Patch: 112968-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 112969-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr SUNWvolr

Patch: 112970-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx

Patch: 112971-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 112972-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmibii SUNWsasnm SUNWsasnx

Patch: 112975-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea

Patch: 112987-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx

Patch: 112998-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113024-02 Obsoletes: Requires: 112233-01 Incompatibles: Packages: SUNWwrsmx

Patch: 113025-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpiclu

Patch: 113026-02 Obsoletes: Requires: Incompatibles: Packages: SUNWmdr SUNWmdx

Patch: 113027-01 Obsoletes: Requires: Incompatibles: Packages: SUNWfruid SUNWfruix

Patch: 113028-01 Obsoletes: Requires: Incompatibles: Packages: SUNWosdem SUNWqos SUNWqosx

Patch: 113029-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx SUNWcstl SUNWcstlx

Patch: 113030-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113031-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu SUNWxcu4

Patch: 113032-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr SUNWcsu

Patch: 113033-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea

Patch: 113061-01 Obsoletes: Requires: Incompatibles: Packages: SUNWeuluf SUNWeulux

Patch: 113068-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx

Patch: 113069-03 Obsoletes: Requires: Incompatibles: Packages: SUNWhea SUNWmdr SUNWmdx

Patch: 113070-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbip

Patch: 113071-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113072-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113073-02 Obsoletes: 113005-02 Requires: 113454-01 Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113074-03 Obsoletes: Requires: Incompatibles: Packages: SUNWdrr

Patch: 113075-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu SUNWesxu

Patch: 113076-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdhcm

Patch: 113077-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcar SUNWcarx

Patch: 113085-01 Obsoletes: Requires: Incompatibles: Packages: SUNWtxfnt

Patch: 113086-01 Obsoletes: Requires: Incompatibles: Packages: SUNWciu8 SUNWciu8x

Patch: 113096-02 Obsoletes: Requires: 112785-05 Incompatibles: Packages: SUNWxwplt

Patch: 113098-03 Obsoletes: Requires: 112785-05 113096-01 Incompatibles: Packages: SUNWxwinc SUNWxwplt SUNWxwplx SUNWxwrtl SUNWxwrtx

Patch: 113100-01 Obsoletes: Requires: 113096-01 Incompatibles: Packages: SUNWxwplt SUNWxwsrv

Patch: 113145-02 Obsoletes: Requires: Incompatibles: Packages: NATEvplr

Patch: 113146-01 Obsoletes: Requires: Incompatibles: Packages: SUNWapchd SUNWapchr SUNWapchu

Patch: 113168-02 Obsoletes: Requires: Incompatibles: Packages: SUNWjxmft

Patch: 113218-04 Obsoletes: Requires: 112233-02 Incompatibles: Packages: SUNWcar SUNWcarx SUNWcsr

Patch: 113219-01 Obsoletes: Requires: 112233-01 Incompatibles: Packages: SUNWcar SUNWcarx

Patch: 113220-01 Obsoletes: Requires: 112233-01 Incompatibles: Packages: SUNWcarx

Patch: 113221-02 Obsoletes: Requires: Incompatibles: Packages: SUNWkvm

Patch: 113222-02 Obsoletes: Requires: Incompatibles: Packages: SUNWnfssr SUNWnfssx

Patch: 113223-01 Obsoletes: Requires: Incompatibles: Packages: SUNWidn SUNWidnx

Patch: 113224-01 Obsoletes: Requires: Incompatibles: Packages: SUNWefcux

Patch: 113225-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113226-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhmd SUNWhmdx

Patch: 113228-01 Obsoletes: Requires: Incompatibles: Packages: SUNWweuox

Patch: 113273-01 Obsoletes: Requires: Incompatibles: Packages: SUNWsshdu

Patch: 113274-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl

Patch: 113275-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113276-02 Obsoletes: Requires: 113454-01 Incompatibles: Packages: SUNWmdr SUNWmdx

Patch: 113277-03 Obsoletes: Requires: 112233-02 112834-02 Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea SUNWssad SUNWssadx

Patch: 113278-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnfscu SUNWnfssu

Patch: 113279-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea SUNWnfscr SUNWnfscx

Patch: 113280-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113281-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu

Patch: 113282-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmdu

Patch: 113313-01 Obsoletes: Requires: Incompatibles: Packages: SUNWinst

Patch: 113318-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnfscr SUNWnfscx

Patch: 113319-04 Obsoletes: Requires: Incompatibles: Packages: SUNWarc SUNWcsl SUNWcslx

Patch: 113320-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpd SUNWpdx

Patch: 113321-02 Obsoletes: Requires: Incompatibles: Packages: SUNWhea SUNWluxd SUNWluxdx SUNWluxl SUNWluxlx

Patch: 113322-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbnuu

Patch: 113323-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113324-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr SUNWhea

Patch: 113325-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpmu

Patch: 113326-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu SUNWsutl

Patch: 113327-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpppdu

Patch: 113328-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113329-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpsu

Patch: 113330-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113331-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnfssu

Patch: 113332-03 Obsoletes: 113540-01 Requires: Incompatibles: Packages: SUNWkvm SUNWkvmx

Patch: 113333-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmdu

Patch: 113334-01 Obsoletes: Requires: Incompatibles: Packages: SUNWudfr SUNWudfrx

Patch: 113335-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113361-02 Obsoletes: Requires: Incompatibles: Packages: SUNWged SUNWgedu SUNWgedx

Patch: 113374-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt

Patch: 113432-03 Obsoletes: Requires: Incompatibles: Packages: FJSVcpc FJSVcpcx FJSVhea FJSVmdb

Patch: 113434-02 Obsoletes: Requires: Incompatibles: Packages: SUNWadmc

Patch: 113445-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx

Patch: 113446-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx

Patch: 113447-01 Obsoletes: Requires: Incompatibles: Packages: SUNWkvm

Patch: 113449-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113451-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcstl SUNWcsu

Patch: 113453-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113454-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113456-01 Obsoletes: 113006-01 Requires: 113073-02 113276-02 Incompatibles: Packages: SUNWcsu SUNWcsxu

Patch: 113457-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea

Patch: 113459-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113464-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhea

Patch: 113467-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx SUNWcsr

Patch: 113470-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwdv SUNWxwdvx

Patch: 113471-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcpcu SUNWcsu SUNWesu SUNWmdb SUNWrmwbu SUNWscpu SUNWtnfc SUNWtoo SUNWtoox

Patch: 113472-01 Obsoletes: Requires: Incompatibles: Packages: SUNWesu SUNWesxu

Patch: 113475-02 Obsoletes: 113165-01 Requires: 112874-06 Incompatibles: Packages: SUNWcsl SUNWcslx

Patch: 113476-04 Obsoletes: 113152-01 113166-01 Requires: 112874-06 112960-03 Incompatibles: Packages: SUNWcsl SUNWcslx

Patch: 113477-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr SUNWdrr

Patch: 113480-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx

Patch: 113481-03 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu

Patch: 113482-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr

Patch: 113483-01 Obsoletes: Requires: Incompatibles: Packages: SUNWypu

Patch: 113488-01 Obsoletes: Requires: Incompatibles: Packages: SUNWfruip

Patch: 113489-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcarx

Patch: 113490-01 Obsoletes: Requires: Incompatibles: Packages: SUNWaudd SUNWauddx SUNWaudh

Patch: 113491-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmdu

Patch: 113492-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113493-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl SUNWcslx

Patch: 113494-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113495-01 Obsoletes: Requires: Incompatibles: Packages: SUNWkvm SUNWkvmx

Patch: 113496-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113503-01 Obsoletes: Requires: Incompatibles: Packages: SUNWced SUNWcedx

Patch: 113504-01 Obsoletes: Requires: Incompatibles: Packages: SUNWinst

Patch: 113513-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwpsr

Patch: 113538-03 Obsoletes: Requires: Incompatibles: Packages: SUNWdrr SUNWdrrx

Patch: 113541-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt

Patch: 113543-01 Obsoletes: Requires: Incompatibles: Packages: FJSVhea

Patch: 113571-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdrcrx SUNWefclx

Patch: 113572-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdoc

Patch: 113573-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpiclu

Patch: 113574-01 Obsoletes: Requires: 113573-01 Incompatibles: Packages: SUNWpiclu

Patch: 113575-01 Obsoletes: Requires: Incompatibles: Packages: SUNWsndmr SUNWsndmu

Patch: 113576-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113577-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu SUNWcsxu

Patch: 113578-01 Obsoletes: Requires: Incompatibles: Packages: SUNWkvm

Patch: 113579-01 Obsoletes: Requires: Incompatibles: Packages: SUNWypu

Patch: 113580-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr SUNWcsu

Patch: 113584-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnamos SUNWnamox SUNWweuos SUNWweuox

Patch: 113628-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmc

Patch: 113713-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu

Patch: 113742-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmc

Patch: 113799-01 Obsoletes: Requires: Incompatibles: Packages: SUNWsregu

barry_houston at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 12

> Patch: 112963-03

it shows that your linker patch is too old.

the required patches are:

http://cooltools.sunsource.net/gcc/4.0.3/ReleaseNotes.html#patches

It's best to use the latest linker patch which is 112963-29:

http://sunsolve.central.sun.com/cgi/pdownload.pl?target=112963-29&method=h

please let us know if it fixes your problem.

alexey_ at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 13

Thanks Alex that solved the problem with the gcc.

However when using the cc I get the following error:

"language optional software package not installed".

I know the usr/ucb/cc script I am executing is a wrapper which calls the native C compiler with the /usr/ucb includes and libraries. I have both the SUNWscpu and SUNWbtool packages installed, however I am missing SPROcc. Do you know where I could get this?

Thanks again,

Barry

barry_houston at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 14
The Sun Studio 11 software is FREE for SDN members. http://developers.sun.com/sunstudio/downloads/
alexey_ at 2007-7-5 18:01:40 > top of Java-index,Open Source Technologies,OpenSPARC...
# 15

Would just like to know...

I installed SUNW0gccfss 4.0.3 and SUNW0scgfss on a Solaris 10 system. When I set my path to /opt/gcc/inst and call gcc with any option such as:

bash-3.00$ gcc -v

bash: /opt/gcc/bin/gcc: Invalid argument

.. it always says "Invlid argument".

Has anybody seen this before?

Kind Regards

Johan

JohanHellstroma at 2007-7-21 14:29:58 > top of Java-index,Open Source Technologies,OpenSPARC...
# 16
Have you tried the fully qualified path:/opt/gcc/bin/gcc -vIf this works then the problem is not GCCFSS.I also grep'd the sources and can find no instance of "Invalid argument" in the GCCFSS sources.-Ross
Rossa at 2007-7-21 14:29:59 > top of Java-index,Open Source Technologies,OpenSPARC...
# 17
I should also add that I tried this on various Solaris 10 systems and it worked fine.-Ross
Rossa at 2007-7-21 14:29:59 > top of Java-index,Open Source Technologies,OpenSPARC...