public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/24946]  New: make[7]: rc: Command not found
@ 2005-11-19 22:32 danglin at gcc dot gnu dot org
  2005-11-21  1:35 ` [Bug ada/24946] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-11-19 22:32 UTC (permalink / raw)
  To: gcc-bugs

make[8]: Leaving directory `/home/dave/gcc-4.1/objdir/gcc/ada/rts'
rm -f rts/libgnat.a rts/libgnarl.a
rc rts/libgnat.a \
   rts/a-caldel.o rts/a-calend.o rts/a-cdlili.o rts/a-cgaaso.o rts/a-cgarso.o
rt
...

It seems AR_FOR_TARGET didn't expand to ar.

2005-11-14  Arnaud Charlet  <charlet@adacore.com>

        * Makefile.in: Add or update g-soccon LIBGNAT pairs for Linux/PPC and
        64-bit Solaris
        Split the Linux version of g-soccon into separate variants for 32 and
64
        bit platforms.
        (gnatlib): Use $(AR_FOR_TARGET) and $(RANLIB_FOR_TARGET)
        vice $(AR) and $(RANLIB). Remove use of host variable $(RANLIB_FLAGS).
        install-gnatlib: Use $(RANLIB_FOR_TARGET) vice $(RANLIB). Remove use
        of host variable $(RANLIB_FLAGS).


-- 
           Summary: make[7]: rc: Command not found
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


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

* [Bug ada/24946] [4.1/4.2 Regression] make[7]: rc: Command not found
  2005-11-19 22:32 [Bug bootstrap/24946] New: make[7]: rc: Command not found danglin at gcc dot gnu dot org
@ 2005-11-21  1:35 ` pinskia at gcc dot gnu dot org
  2005-11-21  9:43 ` charlet at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-21  1:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|make[7]: rc: Command not    |[4.1/4.2 Regression]
                   |found                       |make[7]: rc: Command not
                   |                            |found
   Target Milestone|---                         |4.1.0


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


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

* [Bug ada/24946] [4.1/4.2 Regression] make[7]: rc: Command not found
  2005-11-19 22:32 [Bug bootstrap/24946] New: make[7]: rc: Command not found danglin at gcc dot gnu dot org
  2005-11-21  1:35 ` [Bug ada/24946] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2005-11-21  9:43 ` charlet at gcc dot gnu dot org
  2005-11-21 14:36 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-11-21  9:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from charlet at gcc dot gnu dot org  2005-11-21 09:43 -------
I got a bugzilla internal error when trying to attach a proposed
patch, so here it is inline (be careful with tabs and spaces,
I'd suggest applying the patch manually):

<<
--- libada/Makefile.in.orig     2005-11-21 04:34:39.422364000 -0500
+++ libada/Makefile.in  2005-11-21 04:34:17.812698000 -0500
@@ -75,6 +75,9 @@
         "prefix=$(prefix)" \
         "STAGE_PREFIX=$(STAGE_PREFIX)" \
        "CC=$(host_cc_for_libada)" \
+       "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
+       "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
+       "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
         "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)"

 # Rules to build gnatlib.
>>

Apparently the libada Makefile is not passing some variables to ada/Makefile
properly, so this patch might address the problem you are seeing.
Not clear why we are not seeing this problem on other platforms so far
though.

Arno


-- 


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


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

* [Bug ada/24946] [4.1/4.2 Regression] make[7]: rc: Command not found
  2005-11-19 22:32 [Bug bootstrap/24946] New: make[7]: rc: Command not found danglin at gcc dot gnu dot org
  2005-11-21  1:35 ` [Bug ada/24946] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
  2005-11-21  9:43 ` charlet at gcc dot gnu dot org
@ 2005-11-21 14:36 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-11-21 14:59 ` charlet at adacore dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-11-21 14:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2005-11-21 14:36 -------
Subject: Re:  [4.1/4.2 Regression] make[7]: rc: Command not found

> Apparently the libada Makefile is not passing some variables to ada/Makefile
> properly, so this patch might address the problem you are seeing.
> Not clear why we are not seeing this problem on other platforms so far
> though.

I'm not sure either.  I did notice that the build that had a problem
was using an old version of make (3.79.1).  I removed this and now this
system appears to be behaving similarly to the other hppa-linux system
that I build on.  On the otherhand, I've been building with this version
of make for years.

Dave


-- 


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


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

* [Bug ada/24946] [4.1/4.2 Regression] make[7]: rc: Command not found
  2005-11-19 22:32 [Bug bootstrap/24946] New: make[7]: rc: Command not found danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-11-21 14:36 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-11-21 14:59 ` charlet at adacore dot com
  2005-11-23  3:08 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-11-23  9:02 ` charlet at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: charlet at adacore dot com @ 2005-11-21 14:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from charlet at adacore dot com  2005-11-21 14:59 -------
Subject: Re:  [4.1/4.2 Regression] make[7]: rc: Command not found

> I'm not sure either.  I did notice that the build that had a problem
> was using an old version of make (3.79.1).  I removed this and now this
> system appears to be behaving similarly to the other hppa-linux system
> that I build on.  On the otherhand, I've been building with this version
> of make for years.

Interesting. This might be a bug in the handling of the
"export" directive then, latent up to now, but showing explicitely
now that more variables are used by the Ada Makefile.

Arno


-- 


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


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

* [Bug ada/24946] [4.1/4.2 Regression] make[7]: rc: Command not found
  2005-11-19 22:32 [Bug bootstrap/24946] New: make[7]: rc: Command not found danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-11-21 14:59 ` charlet at adacore dot com
@ 2005-11-23  3:08 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-11-23  9:02 ` charlet at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-11-23  3:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2005-11-23 03:07 -------
Subject: Re:  [4.1/4.2 Regression] make[7]: rc: Command not found

> > I'm not sure either.  I did notice that the build that had a problem
> > was using an old version of make (3.79.1).  I removed this and now this
> > system appears to be behaving similarly to the other hppa-linux system
> > that I build on.  On the otherhand, I've been building with this version
> > of make for years.
> 
> Interesting. This might be a bug in the handling of the
> "export" directive then, latent up to now, but showing explicitely
> now that more variables are used by the Ada Makefile.

I hit the same problem on hppa1.1-hp-hpux10.20 again with make 3.79.1.

rm -f rts/libgnat.a rts/libgnarl.a
rc rts/libgnat.a \
   rts/a-caldel.o rts/a-calend.o rts/a-cdlili.o rts/a-cgaaso.o rts/a-cgarso.o
rt
...
-io.o rts/init.o rts/initialize.o rts/seh_init.o rts/cal.o rts/final.o
rts/trace
bak.o rts/expect.o rts/mkdir.o rts/socket.o rts/raise-gcc.o
mv: /etc/auto_parms.log.old: rename: Permission denied

/sbin/auto_parms, checking network for DHCP server (see /etc/auto_parms.log)

/sbin/auto_parms[8]: /etc/auto_parms.log: Cannot create the specified file.
/sbin/rc[113]: rts/a-caldel.o: The specified number is not valid for this
comman
d.
/sbin/rc[133]: rts/a-caldel.o: The specified number is not valid for this
comman
d.
ttytype: couldn't open /dev/tty for reading

Transition to run-level rts/a-caldel.o is complete.
rc rts/libgccprefix.a \
          ../prefix.o ../../libiberty/concat.o ../../libiberty/xmalloc.o
../../libiberty/xstrdup.o ../../libiberty/xexit.o;
mv: /etc/auto_parms.log.old: rename: Permission denied

/sbin/auto_parms, checking network for DHCP server (see /etc/auto_parms.log)

/sbin/auto_parms[8]: /etc/auto_parms.log: Cannot create the specified file.
/sbin/rc[113]: ../prefix.o: The specified number is not valid for this command.
/sbin/rc[133]: ../prefix.o: The specified number is not valid for this command.
ttytype: couldn't open /dev/tty for reading

Transition to run-level ../prefix.o is complete.
rts/libgccprefix.a
/usr/local/bin/bash: rts/libgccprefix.a: No such file or directory
make[5]: *** [gnatlib] Error 127

I've no idea what's happening (buffer overflow?) but it's not good.
I updated to make 3.80 and this problem didn't occur.

Dave


-- 


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


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

* [Bug ada/24946] [4.1/4.2 Regression] make[7]: rc: Command not found
  2005-11-19 22:32 [Bug bootstrap/24946] New: make[7]: rc: Command not found danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-11-23  3:08 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-11-23  9:02 ` charlet at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-11-23  9:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from charlet at gcc dot gnu dot org  2005-11-23 09:02 -------
So closing as not a GCC bug (likely a GNU make bug).

Arno


-- 

charlet at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-11-23  9:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-19 22:32 [Bug bootstrap/24946] New: make[7]: rc: Command not found danglin at gcc dot gnu dot org
2005-11-21  1:35 ` [Bug ada/24946] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2005-11-21  9:43 ` charlet at gcc dot gnu dot org
2005-11-21 14:36 ` dave at hiauly1 dot hia dot nrc dot ca
2005-11-21 14:59 ` charlet at adacore dot com
2005-11-23  3:08 ` dave at hiauly1 dot hia dot nrc dot ca
2005-11-23  9:02 ` charlet at gcc dot gnu dot org

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