public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39671]  New: solaris 10 with gcc 3.4.3
@ 2009-04-07  9:25 abhinav dot dubey at hcl dot in
  2009-04-07 10:08 ` [Bug c/39671] " ebotcazou at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: abhinav dot dubey at hcl dot in @ 2009-04-07  9:25 UTC (permalink / raw)
  To: gcc-bugs

tring to compile batch libraries with make commang but geeting an error 
$ make -f retek.mk retek rms resa 2>&1 | tee libretek.log
cc -DNDEBUG  -I.  -I/data/rmsdb/rms/oracle/lib/src 
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/plsql/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/sqllib/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/network/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/demo     -g   -Xa  -xstrconst
-dalign -xF   -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S
-Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44
-Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER
-DBIT64 -DMACHINE64 -K PIC -DPRECOMP
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs 
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/include  
-I/data/u01/app/oracle/product/10.2.0/db_1/oracore/include
-I/data/u01/app/oracle/product/10.2.0/db_1/oracore/public
-I/data/u01/app/oracle/product/10.2.0/db_1/oracore/port/include
-I/data/u01/app/oracle/product/10.2.0/db_1/xdk/include
-I/data/u01/app/oracle/product/10.2.0/db_1/xdk/public
-I/data/u01/app/oracle/product/10.2.0/db_1/nlsrtl/include  
-I/data/u01/app/oracle/product/10.2.0/db_1/slax/include   -I. -DSLMXMX_ENABLE
-DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT    -c saoranumadd.c -o `basename
/data/rmsdb/rms/oracle/lib/src/saoranumadd.o`
cc: PIC: No such file or directory
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
cc: unrecognized option `-Xa'
cc: unrecognized option `-K'
Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
cc: language code=abs44 not recognized
cc: saoranumadd.c: linker input file unused because linking not done
*** Error code 1
make: Fatal error: Command failed for target `saoranumadd.o'
...

also try to compile by gcc comman ... the famous hello word program..
$ gcc -c -Wall -D_GNU_SOURCE abhi.c -o abhi.o
$ gcc -c abhi.o abhi.c
gcc: abhi.o: linker input file unused because linking not done
..
have tried all possible fixes
urgently need to up system .. any help will be highly appreciated.

Thanks,


-- 
           Summary: solaris 10 with gcc 3.4.3
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: abhinav dot dubey at hcl dot in


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
@ 2009-04-07 10:08 ` ebotcazou at gcc dot gnu dot org
  2009-04-07 10:39 ` abhinav dot dubey at hcl dot in
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-04-07 10:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2009-04-07 10:08 -------
> also try to compile by gcc comman ... the famous hello word program..
> $ gcc -c -Wall -D_GNU_SOURCE abhi.c -o abhi.o
> $ gcc -c abhi.o abhi.c
> gcc: abhi.o: linker input file unused because linking not done
> ..
> have tried all possible fixes

gcc -o abhi abhi.o


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
  2009-04-07 10:08 ` [Bug c/39671] " ebotcazou at gcc dot gnu dot org
@ 2009-04-07 10:39 ` abhinav dot dubey at hcl dot in
  2009-04-07 10:42 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: abhinav dot dubey at hcl dot in @ 2009-04-07 10:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from abhinav dot dubey at hcl dot in  2009-04-07 10:39 -------
(In reply to comment #0)
> tring to compile batch libraries with make commang but geeting an error 
> $ make -f retek.mk retek rms resa 2>&1 | tee libretek.log
> cc -DNDEBUG  -I.  -I/data/rmsdb/rms/oracle/lib/src 
> -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public 
> -I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/public 
> -I/data/u01/app/oracle/product/10.2.0/db_1/plsql/public 
> -I/data/u01/app/oracle/product/10.2.0/db_1/sqllib/public 
> -I/data/u01/app/oracle/product/10.2.0/db_1/network/public 
> -I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/demo     -g   -Xa  -xstrconst
> -dalign -xF   -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S
> -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44
> -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER
> -DBIT64 -DMACHINE64 -K PIC -DPRECOMP
> -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs 
> -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public
> -I/data/u01/app/oracle/product/10.2.0/db_1/precomp/include  
> -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/include
> -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/public
> -I/data/u01/app/oracle/product/10.2.0/db_1/oracore/port/include
> -I/data/u01/app/oracle/product/10.2.0/db_1/xdk/include
> -I/data/u01/app/oracle/product/10.2.0/db_1/xdk/public
> -I/data/u01/app/oracle/product/10.2.0/db_1/nlsrtl/include  
> -I/data/u01/app/oracle/product/10.2.0/db_1/slax/include   -I. -DSLMXMX_ENABLE
> -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT    -c saoranumadd.c -o `basename
> /data/rmsdb/rms/oracle/lib/src/saoranumadd.o`
> cc: PIC: No such file or directory
> Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
> cc: unrecognized option `-Xa'
> cc: unrecognized option `-K'
> Configured with:
> /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
> --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
> --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
> --enable-shared
> Thread model: posix
> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> cc: language code=abs44 not recognized
> cc: saoranumadd.c: linker input file unused because linking not done
> *** Error code 1
> make: Fatal error: Command failed for target `saoranumadd.o'
> ...
> also try to compile by gcc comman ... the famous hello word program..
> $ gcc -c -Wall -D_GNU_SOURCE abhi.c -o abhi.o
> $ gcc -c abhi.o abhi.c
> gcc: abhi.o: linker input file unused because linking not done
> ..
> have tried all possible fixes
> urgently need to up system .. any help will be highly appreciated.
> Thanks,

(In reply to comment #1)
> > also try to compile by gcc comman ... the famous hello word program..
> > $ gcc -c -Wall -D_GNU_SOURCE abhi.c -o abhi.o
> > $ gcc -c abhi.o abhi.c
> > gcc: abhi.o: linker input file unused because linking not done
> > ..
> > have tried all possible fixes
> gcc -o abhi abhi.o


Thanks.. it getting compiled in this manner and showed that my gcc compiler
working fine  but for batch libraries using make command ,I am still getting
the same error as 
$ make -f retek.mk retek rms resa 2>&1 | tee libretek.log
cc -DNDEBUG  -I.  -I/data/rmsdb/rms/oracle/lib/src 
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/plsql/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/sqllib/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/network/public 
-I/data/u01/app/oracle/product/10.2.0/db_1/rdbms/demo     -g   -Xa  -xstrconst
-dalign -xF   -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S
-Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44
-Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -D_REENTRANT -DSS_64BIT_SERVER
-DBIT64 -DMACHINE64 -K PIC -DPRECOMP
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs 
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/public
-I/data/u01/app/oracle/product/10.2.0/db_1/precomp/include  
-I/data/u01/app/oracle/product/10.2.0/db_1/oracore/include
-I/data/u01/app/oracle/product/10.2.0/db_1/oracore/public
-I/data/u01/app/oracle/product/10.2.0/db_1/oracore/port/include
-I/data/u01/app/oracle/product/10.2.0/db_1/xdk/include
-I/data/u01/app/oracle/product/10.2.0/db_1/xdk/public
-I/data/u01/app/oracle/product/10.2.0/db_1/nlsrtl/include  
-I/data/u01/app/oracle/product/10.2.0/db_1/slax/include   -I. -DSLMXMX_ENABLE
-DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT    -c saoranumadd.c -o `basename
/data/rmsdb/rms/oracle/lib/src/saoranumadd.o`
cc: PIC: No such file or directory
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
cc: unrecognized option `-Xa'
cc: unrecognized option `-K'
Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
cc: language code=abs44 not recognized
cc: saoranumadd.c: linker input file unused because linking not done
*** Error code 1
make: Fatal error: Command failed for target `saoranumadd.o'
..
Please help me in solving this issue also...

Thanks,


-- 

abhinav dot dubey at hcl dot in changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
  2009-04-07 10:08 ` [Bug c/39671] " ebotcazou at gcc dot gnu dot org
  2009-04-07 10:39 ` abhinav dot dubey at hcl dot in
@ 2009-04-07 10:42 ` ebotcazou at gcc dot gnu dot org
  2009-04-07 11:46 ` abhinav dot dubey at hcl dot in
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-04-07 10:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ebotcazou at gcc dot gnu dot org  2009-04-07 10:42 -------
> Please help me in solving this issue also...

Your Makefile expects Sun CC and you're using GCC.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
                   ` (2 preceding siblings ...)
  2009-04-07 10:42 ` ebotcazou at gcc dot gnu dot org
@ 2009-04-07 11:46 ` abhinav dot dubey at hcl dot in
  2009-04-07 13:29 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: abhinav dot dubey at hcl dot in @ 2009-04-07 11:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from abhinav dot dubey at hcl dot in  2009-04-07 11:46 -------
(In reply to comment #3)
> > Please help me in solving this issue also...
> Your Makefile expects Sun CC and you're using GCC.

There should not be any difference as i directed cc to gcc

$ cc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Is it somthing with a Sun cc?.Do I need to install Sun cc compiler or some work
around is possible.


-- 

abhinav dot dubey at hcl dot in changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
                   ` (3 preceding siblings ...)
  2009-04-07 11:46 ` abhinav dot dubey at hcl dot in
@ 2009-04-07 13:29 ` ebotcazou at gcc dot gnu dot org
  2009-04-07 13:34 ` abhinav dot dubey at hcl dot in
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-04-07 13:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ebotcazou at gcc dot gnu dot org  2009-04-07 13:29 -------
> There should not be any difference as i directed cc to gcc

Your bug.  The Makefile expects Sun CC since it uses Sun CC options.  So you
need to use Sun CC.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
                   ` (4 preceding siblings ...)
  2009-04-07 13:29 ` ebotcazou at gcc dot gnu dot org
@ 2009-04-07 13:34 ` abhinav dot dubey at hcl dot in
  2009-04-07 13:38 ` ebotcazou at gcc dot gnu dot org
  2009-04-10  5:29 ` abhinav dot dubey at hcl dot in
  7 siblings, 0 replies; 9+ messages in thread
From: abhinav dot dubey at hcl dot in @ 2009-04-07 13:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from abhinav dot dubey at hcl dot in  2009-04-07 13:34 -------
(In reply to comment #5)
> > There should not be any difference as i directed cc to gcc
> Your bug.  The Makefile expects Sun CC since it uses Sun CC options.  So you
> need to use Sun CC.

Thanks a lot , Is there any workaround for this problem,Becouse SunCC compiler
is paid.
Please let me know from where I can easly get Sun CC compiler.

Thanks,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
                   ` (5 preceding siblings ...)
  2009-04-07 13:34 ` abhinav dot dubey at hcl dot in
@ 2009-04-07 13:38 ` ebotcazou at gcc dot gnu dot org
  2009-04-10  5:29 ` abhinav dot dubey at hcl dot in
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-04-07 13:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from ebotcazou at gcc dot gnu dot org  2009-04-07 13:38 -------
> Thanks a lot , Is there any workaround for this problem,Becouse SunCC compiler
> is paid.

You need to read the documentation of the software you're trying to build and
see whether GCC is supported; if so, follow the instructions; if not, you need
to install Sun CC.

> Please let me know from where I can easly get Sun CC compiler.

http://www.sun.com


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c/39671] solaris 10 with gcc 3.4.3
  2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
                   ` (6 preceding siblings ...)
  2009-04-07 13:38 ` ebotcazou at gcc dot gnu dot org
@ 2009-04-10  5:29 ` abhinav dot dubey at hcl dot in
  7 siblings, 0 replies; 9+ messages in thread
From: abhinav dot dubey at hcl dot in @ 2009-04-10  5:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from abhinav dot dubey at hcl dot in  2009-04-10 05:29 -------
I changed the compiler and its works.. thanks a lot for your advice


-- 

abhinav dot dubey at hcl dot in changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39671


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-04-10  5:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-07  9:25 [Bug c/39671] New: solaris 10 with gcc 3.4.3 abhinav dot dubey at hcl dot in
2009-04-07 10:08 ` [Bug c/39671] " ebotcazou at gcc dot gnu dot org
2009-04-07 10:39 ` abhinav dot dubey at hcl dot in
2009-04-07 10:42 ` ebotcazou at gcc dot gnu dot org
2009-04-07 11:46 ` abhinav dot dubey at hcl dot in
2009-04-07 13:29 ` ebotcazou at gcc dot gnu dot org
2009-04-07 13:34 ` abhinav dot dubey at hcl dot in
2009-04-07 13:38 ` ebotcazou at gcc dot gnu dot org
2009-04-10  5:29 ` abhinav dot dubey at hcl dot in

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).