public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/41122]  New: libada multilib string parsing error
@ 2009-08-19 17:30 joel at gcc dot gnu dot org
  2009-08-20 12:03 ` [Bug ada/41122] " ludovic at ludovic-brenta dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-08-19 17:30 UTC (permalink / raw)
  To: gcc-bugs

AWK .. ackkk... acckk... help! Apparently libada has an awk program that can't
handle the m68k multilib.  Calling all Awk experts.. :)

make[2]: BEGIN { FS="[ \t]*[,()][ \t]*"; ORS=" " }; /^M68K_DEVICE/ { CPU=$3;
FLAGS=$8; CPU_NAME=substr($2,2,length($2)-2); MLIB=substr($5,2,length($5)-2);
if ( (CPU_NAME == MLIB) && (match(MLIB, "^68") || MLIB == "cpu32" || MLIB ==
"5206" || MLIB == "5208" || MLIB == "5307" || MLIB == "5329" || MLIB == "5407"
|| MLIB == "5475")) print  "m"MLIB }: Command not found
make[2]: Entering directory
`/home/joel/test-gcc/b-gcc2-m68k/m68k-rtems4.10/libada'
make[2]: BEGIN { FS="[ \t]*[,()][ \t]*"; ORS=" " }; /^M68K_DEVICE/ { CPU=$3;
FLAGS=$8; CPU_NAME=substr($2,2,length($2)-2); MLIB=substr($5,2,length($5)-2);
if ( CPU == "") print  MLIB }: Command not found
/home/joel/test-gcc/gcc-4.3.4/libada/../gcc/config/m68k/t-mlibs:27: *** Error
default cpu '' is not in multilib set ''.  Stop.
make[2]: Leaving directory
`/home/joel/test-gcc/b-gcc2-m68k/m68k-rtems4.10/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: *** Waiting for unfinished jobs....


-- 
           Summary: libada multilib string parsing error
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joel at gcc dot gnu dot org
GCC target triplet: m68k*-*-rtems*


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
@ 2009-08-20 12:03 ` ludovic at ludovic-brenta dot org
  2009-08-20 12:04 ` ludovic at ludovic-brenta dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: ludovic at ludovic-brenta dot org @ 2009-08-20 12:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ludovic at ludovic-brenta dot org  2009-08-20 12:02 -------
At first glance: the makefile seems not to be calling awk at all; the first
word is BEGIN; obviously the command BEGIN is not found.


-- 


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
  2009-08-20 12:03 ` [Bug ada/41122] " ludovic at ludovic-brenta dot org
@ 2009-08-20 12:04 ` ludovic at ludovic-brenta dot org
  2009-08-20 13:00 ` joel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: ludovic at ludovic-brenta dot org @ 2009-08-20 12:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ludovic at ludovic-brenta dot org  2009-08-20 12:04 -------
Actually, the whole awk program, which is presumably between single quotes in
the makefile, is the command which is not found.  The command should be awk.


-- 


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
  2009-08-20 12:03 ` [Bug ada/41122] " ludovic at ludovic-brenta dot org
  2009-08-20 12:04 ` ludovic at ludovic-brenta dot org
@ 2009-08-20 13:00 ` joel at gcc dot gnu dot org
  2009-08-20 13:23 ` bonzini at gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-08-20 13:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from joel at gcc dot gnu dot org  2009-08-20 13:00 -------
Does AWK need to be set in libada/Makefile.in?  Since this works for C/C++, it
must be OK in other places.

In gcc/config/m68k/t-mlibs...

M68K_AWK = $(strip $(shell $(AWK) 'BEGIN { FS="[ \t]*[,()][ \t]*"; ORS=" " }; \
        /^M68K_DEVICE/ { CPU=$$3; FLAGS=$$8; \
        CPU_NAME=substr($$2,2,length($$2)-2); \
        MLIB=substr($$5,2,length($$5)-2); \
        if ($1) print $2 }' $(srcdir)/config/m68k/m68k-devices.def))


-- 


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-08-20 13:00 ` joel at gcc dot gnu dot org
@ 2009-08-20 13:23 ` bonzini at gnu dot org
  2009-08-20 13:57 ` joel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: bonzini at gnu dot org @ 2009-08-20 13:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bonzini at gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-20 13:22:46
               date|                            |


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-08-20 13:23 ` bonzini at gnu dot org
@ 2009-08-20 13:57 ` joel at gcc dot gnu dot org
  2009-08-30 14:27 ` bonzini at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-08-20 13:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from joel at gcc dot gnu dot org  2009-08-20 13:57 -------
Will you be applying it to 4.4 and the head?

And a thank you.  If we ever manage to meet in person, I owe you a beer, wine
or a nice dessert.  Your choice. :)


-- 


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-08-20 13:57 ` joel at gcc dot gnu dot org
@ 2009-08-30 14:27 ` bonzini at gcc dot gnu dot org
  2009-08-30 14:35 ` bonzini at gnu dot org
  2009-10-03  9:53 ` sam at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2009-08-30 14:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bonzini at gnu dot org  2009-08-30 14:26 -------
Subject: Bug 41122

Author: bonzini
Date: Sun Aug 30 14:26:37 2009
New Revision: 151227

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151227
Log:
2009-08-30  Paolo Bonzini  <bonzini@gnu.org>

        PR ada/41122
        * configure.ac: Add AC_PROG_AWK.  Remove useless duplicate
        call to AC_PROG_CC.
        * configure: Regenerate.
        * Makefile.in: Substitute AWK.


Modified:
    trunk/libada/ChangeLog
    trunk/libada/Makefile.in
    trunk/libada/configure
    trunk/libada/configure.ac


-- 


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-08-30 14:27 ` bonzini at gcc dot gnu dot org
@ 2009-08-30 14:35 ` bonzini at gnu dot org
  2009-10-03  9:53 ` sam at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: bonzini at gnu dot org @ 2009-08-30 14:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bonzini at gnu dot org  2009-08-30 14:35 -------
committed to trunk, 4.4 will follow.


-- 


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


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

* [Bug ada/41122] libada multilib string parsing error
  2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2009-08-30 14:35 ` bonzini at gnu dot org
@ 2009-10-03  9:53 ` sam at gcc dot gnu dot org
  7 siblings, 0 replies; 10+ messages in thread
From: sam at gcc dot gnu dot org @ 2009-10-03  9:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from sam at gcc dot gnu dot org  2009-10-03 09:53 -------
(In reply to comment #6)
> committed to trunk, 4.4 will follow.

Any news about the 4.4 commit?


-- 


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


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

* [Bug ada/41122] libada multilib string parsing error
       [not found] <bug-41122-4@http.gcc.gnu.org/bugzilla/>
@ 2011-02-08 21:45 ` joel at gcc dot gnu.org
  0 siblings, 0 replies; 10+ messages in thread
From: joel at gcc dot gnu.org @ 2011-02-08 21:45 UTC (permalink / raw)
  To: gcc-bugs

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

Joel Sherrill <joel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Joel Sherrill <joel at gcc dot gnu.org> 2011-02-08 21:44:25 UTC ---
Builds Ada multilib's on the head for m68k-rtems.  So closing.


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

end of thread, other threads:[~2011-02-08 21:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-19 17:30 [Bug ada/41122] New: libada multilib string parsing error joel at gcc dot gnu dot org
2009-08-20 12:03 ` [Bug ada/41122] " ludovic at ludovic-brenta dot org
2009-08-20 12:04 ` ludovic at ludovic-brenta dot org
2009-08-20 13:00 ` joel at gcc dot gnu dot org
2009-08-20 13:23 ` bonzini at gnu dot org
2009-08-20 13:57 ` joel at gcc dot gnu dot org
2009-08-30 14:27 ` bonzini at gcc dot gnu dot org
2009-08-30 14:35 ` bonzini at gnu dot org
2009-10-03  9:53 ` sam at gcc dot gnu dot org
     [not found] <bug-41122-4@http.gcc.gnu.org/bugzilla/>
2011-02-08 21:45 ` joel at gcc dot gnu.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).