public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiling gcc 4.2.3 in Solaris 10
@ 2008-07-28 16:38 Vardhan, Sundara (GE Infra, Energy)
  2008-07-29 15:06 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-07-28 16:38 UTC (permalink / raw)
  To: gcc-help

Hi All

I am currently in the process of compilig gcc-4.23 in order to install the same. After a few compiles, I get the following error and the compile aborts.

/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc/xgcc -B/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/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  -c -o crt1.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-c1.asm

xgcc: error trying to exec '/usr/local/sparc-sun-solaris2.10/bin': execv: Permission denied
make[3]: *** [crt1.o] Error 1
make[3]: Leaving directory `/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/cots/gnu/gcc-4.2.3'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/cots/gnu/gcc-4.2.3'
make: *** [bootstrap] Error 2

Any ideas or pointers?

With Reagards

Vardhan

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

* Re: Compiling gcc 4.2.3 in Solaris 10
  2008-07-28 16:38 Compiling gcc 4.2.3 in Solaris 10 Vardhan, Sundara (GE Infra, Energy)
@ 2008-07-29 15:06 ` Ian Lance Taylor
  2008-07-29 21:47   ` Vardhan, Sundara (GE Infra, Energy)
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2008-07-29 15:06 UTC (permalink / raw)
  To: Vardhan, Sundara (GE Infra, Energy); +Cc: gcc-help

"Vardhan, Sundara (GE Infra, Energy)" <sundara.vardhan@ge.com> writes:

> I am currently in the process of compilig gcc-4.23 in order to install the same. After a few compiles, I get the following error and the compile aborts.
>
> /cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc/xgcc -B/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/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  -c -o crt1.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-c1.asm
>
> xgcc: error trying to exec '/usr/local/sparc-sun-solaris2.10/bin': execv: Permission denied
> make[3]: *** [crt1.o] Error 1
> make[3]: Leaving directory `/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc'
> make[2]: *** [all-stage2-gcc] Error 2
> make[2]: Leaving directory `/cots/gnu/gcc-4.2.3'
> make[1]: *** [stage2-bubble] Error 2
> make[1]: Leaving directory `/cots/gnu/gcc-4.2.3'
> make: *** [bootstrap] Error 2
>
> Any ideas or pointers?

Incorrect use of the --with-as configure option?

It looks like xgcc is executing a directory when it tries to execute
the assembler.  I don't think that can happen without explicit
misconfiguration.

Ian

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

* RE: Compiling gcc 4.2.3 in Solaris 10
  2008-07-29 15:06 ` Ian Lance Taylor
@ 2008-07-29 21:47   ` Vardhan, Sundara (GE Infra, Energy)
  2008-07-30  2:41     ` Dennis Clarke
  0 siblings, 1 reply; 4+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-07-29 21:47 UTC (permalink / raw)
  To: gcc-help

Hi All

> /cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc/xgcc -B/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/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  -c -o crt1.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-c1.asm
>
> xgcc: error trying to exec '/usr/local/sparc-sun-solaris2.10/bin': execv: Permission denied
> make[3]: *** [crt1.o] Error 1
> make[3]: Leaving directory `/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc'
> make[2]: *** [all-stage2-gcc] Error 2
> make[2]: Leaving directory `/cots/gnu/gcc-4.2.3'
> make[1]: *** [stage2-bubble] Error 2
> make[1]: Leaving directory `/cots/gnu/gcc-4.2.3'
> make: *** [bootstrap] Error 2
>
> Any ideas or pointers?
Still do not know what may have been the problem. However, I cleaned out the gcc-4.2.3 directory, cleaned out /usr/local/sparc-sun-solaris2.10. I then recopied both and it worked fine thereafter. Thanks for all the input. Have not yet completed the compile but it has gone past this and is now in stage-3.

With Regards

Vardhan 

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

* Re: Compiling gcc 4.2.3 in Solaris 10
  2008-07-29 21:47   ` Vardhan, Sundara (GE Infra, Energy)
@ 2008-07-30  2:41     ` Dennis Clarke
  0 siblings, 0 replies; 4+ messages in thread
From: Dennis Clarke @ 2008-07-30  2:41 UTC (permalink / raw)
  To: Vardhan, Sundara (GE Infra, Energy); +Cc: gcc-help

On Tue, Jul 29, 2008 at 11:03 AM, Vardhan, Sundara (GE Infra, Energy)
<sundara.vardhan@ge.com> wrote:
> Hi All
>
>> /cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc/xgcc -B/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/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  -c -o crt1.o -x assembler-with-cpp ../.././gcc/config/sparc/sol2-c1.asm
>>
>> xgcc: error trying to exec '/usr/local/sparc-sun-solaris2.10/bin': execv: Permission denied
>> make[3]: *** [crt1.o] Error 1
>> make[3]: Leaving directory `/cots/gnu/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc'
>> make[2]: *** [all-stage2-gcc] Error 2
>> make[2]: Leaving directory `/cots/gnu/gcc-4.2.3'
>> make[1]: *** [stage2-bubble] Error 2
>> make[1]: Leaving directory `/cots/gnu/gcc-4.2.3'
>> make: *** [bootstrap] Error 2
>>
>> Any ideas or pointers?
> Still do not know what may have been the problem. However, I cleaned out the gcc-4.2.3 directory, cleaned out /usr/local/sparc-sun-solaris2.10. I then recopied both and it worked fine thereafter. Thanks for all the input. Have not yet completed the compile but it has gone past this and is now in stage-3.

Why not GCC 4.2.4 ?

Dennis

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

end of thread, other threads:[~2008-07-29 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-28 16:38 Compiling gcc 4.2.3 in Solaris 10 Vardhan, Sundara (GE Infra, Energy)
2008-07-29 15:06 ` Ian Lance Taylor
2008-07-29 21:47   ` Vardhan, Sundara (GE Infra, Energy)
2008-07-30  2:41     ` Dennis Clarke

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