public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/39172]  New: libada parsing of multilib options
@ 2009-02-12 19:23 joel at gcc dot gnu dot org
  2009-02-12 19:29 ` [Bug ada/39172] " joel at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-02-12 19:23 UTC (permalink / raw)
  To: gcc-bugs

The magic that groks the multilib set in libada is unable to process the
one for the m68k.  Maybe someone who is configure/awk proficient can spot
the issue.  This works on other targets.

        make -C ../.././gcc/ada "MAKEOVERRIDES=" "LDFLAGS=" "LN_S=ln -s"
"SHELL=/bin/sh" "GNATLIBFLAGS=-W -Wall -gnatpg " "GNATLIBCFLAGS=-g -O2 "
"TARGET_LIBGCC2_CFLAGS=" "THREAD_KIND=native" "TRACE=no" "MULTISUBDIR="
"libsubdir=/home/joel/test-gcc/install/lib/gcc/m68k-rtems4.10/4.4.0"
"objext=.o" "prefix=/home/joel/test-gcc/install"
"exeext=.exeext.should.not.be.used "
'CC=the.host.compiler.should.not.be.needed'
"GCC_FOR_TARGET=/home/joel/test-gcc/b-gcc2-m68k/./gcc/xgcc
-B/home/joel/test-gcc/b-gcc2-m68k/./gcc/ -nostdinc
-B/home/joel/test-gcc/b-gcc2-m68k/m68k-rtems4.10/newlib/ -isystem
/home/joel/test-gcc/b-gcc2-m68k/m68k-rtems4.10/newlib/targ-include -isystem
/home/joel/test-gcc/gcc-svn/newlib/libc/include
-B/home/joel/test-gcc/install/m68k-rtems4.10/bin/
-B/home/joel/test-gcc/install/m68k-rtems4.10/lib/ -isystem
/home/joel/test-gcc/install/m68k-rtems4.10/include -isystem
/home/joel/test-gcc/install/m68k-rtems4.10/sys-include"
"CFLAGS=-B/home/joel/test-gcc/bsp-install/m68k-rtems4.10/mcf5206elite/lib/   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" gnatlib \
        && touch stamp-libada
make[3]: 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 == "5407" || MLIB ==
"5475")) print  "m"MLIB }: Command not found
make[3]: Entering directory `/home/joel/test-gcc/b-gcc2-m68k/gcc/ada'
make[3]: 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


-- 
           Summary: libada parsing of multilib options
           Product: gcc
           Version: unknown
            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 host triplet: i686-pc-linux-gnu
GCC target triplet: m68k-rtems4.10


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
@ 2009-02-12 19:29 ` joel at gcc dot gnu dot org
  2009-02-12 21:36 ` bonzini at gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-02-12 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from joel at gcc dot gnu dot org  2009-02-12 19:29 -------
this is on the svn trunk as libada multilib is new since 4.3.


-- 


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
  2009-02-12 19:29 ` [Bug ada/39172] " joel at gcc dot gnu dot org
@ 2009-02-12 21:36 ` bonzini at gnu dot org
  2009-02-25 16:43 ` schwab at suse dot de
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: bonzini at gnu dot org @ 2009-02-12 21:36 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-02-12 21:36:18
               date|                            |


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
  2009-02-12 19:29 ` [Bug ada/39172] " joel at gcc dot gnu dot org
  2009-02-12 21:36 ` bonzini at gnu dot org
@ 2009-02-25 16:43 ` schwab at suse dot de
  2009-02-25 16:57 ` schwab at suse dot de
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2009-02-25 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schwab at suse dot de  2009-02-25 16:43 -------
The problem seems to be that the AWK makefile variable is not properly passed
down to submakes.


-- 


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-02-25 16:43 ` schwab at suse dot de
@ 2009-02-25 16:57 ` schwab at suse dot de
  2009-02-25 16:58 ` schwab at suse dot de
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2009-02-25 16:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from schwab at suse dot de  2009-02-25 16:57 -------
Created an attachment (id=17360)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17360&action=view)
Candidate patch


-- 


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-02-25 16:57 ` schwab at suse dot de
@ 2009-02-25 16:58 ` schwab at suse dot de
  2009-02-25 17:04 ` bonzini at gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2009-02-25 16:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from schwab at suse dot de  2009-02-25 16:58 -------
Can you please try out the attached patch?


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|m68k-rtems4.10              |m68k-*.*


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-02-25 16:58 ` schwab at suse dot de
@ 2009-02-25 17:04 ` bonzini at gnu dot org
  2009-02-25 17:05 ` joel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: bonzini at gnu dot org @ 2009-02-25 17:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bonzini at gnu dot org  2009-02-25 17:03 -------
Subject: Re:  libada parsing of multilib options

schwab at suse dot de wrote:
> ------- Comment #3 from schwab at suse dot de  2009-02-25 16:57 -------
> Created an attachment (id=17360)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17360&action=view)
>  --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17360&action=view)
> Candidate patch

That's fine, or you can probably add AWK=@AWK@ in
gcc/ada/gcc-interface/Makefile.in.  That was the patch I was meaning to
test.

If you don't want to test this other thing, your patch is okay if it is
tested.


-- 


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-02-25 17:04 ` bonzini at gnu dot org
@ 2009-02-25 17:05 ` joel at gcc dot gnu dot org
  2009-02-26 11:07 ` schwab at suse dot de
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-02-25 17:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from joel at gcc dot gnu dot org  2009-02-25 17:04 -------
Can you include the generated files please?  I do not have autoconf 2.59
installed.   I can test the Ada build quickly though.

Thanks.


-- 


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2009-02-25 17:05 ` joel at gcc dot gnu dot org
@ 2009-02-26 11:07 ` schwab at suse dot de
  2009-02-26 15:48 ` bonzini at gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2009-02-26 11:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from schwab at suse dot de  2009-02-26 11:07 -------
(In reply to comment #5)
> That's fine, or you can probably add AWK=@AWK@ in
> gcc/ada/gcc-interface/Makefile.in.  That was the patch I was meaning to
> test.

I agree, this is a much simpler patch.  Unfortunately there is more to do:

gawk: fatal: cannot open file
`../../../gcc/gcc/ada/config/m68k/m68k-devices.def' for reading (No such file
or directory)

The reference to $(srcdir) is not working correctly.


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2009-02-12 21:36:18         |2009-02-26 11:07:00
               date|                            |


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2009-02-26 11:07 ` schwab at suse dot de
@ 2009-02-26 15:48 ` bonzini at gnu dot org
  2009-02-27  7:40 ` bonzini at gnu dot org
  2009-02-27  9:57 ` schwab at suse dot de
  10 siblings, 0 replies; 13+ messages in thread
From: bonzini at gnu dot org @ 2009-02-26 15:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from bonzini at gnu dot org  2009-02-26 15:48 -------
Subject: Re:  libada parsing of multilib options

I'll ping Marcello Presulli to submit his patch.

Paolo


-- 


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2009-02-26 15:48 ` bonzini at gnu dot org
@ 2009-02-27  7:40 ` bonzini at gnu dot org
  2009-02-27  9:57 ` schwab at suse dot de
  10 siblings, 0 replies; 13+ messages in thread
From: bonzini at gnu dot org @ 2009-02-27  7:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from bonzini at gnu dot org  2009-02-27 07:40 -------
Andreas, the patch you posted on gcc-patches is okay.  Thanks very much!


-- 


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


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

* [Bug ada/39172] libada parsing of multilib options
  2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2009-02-27  7:40 ` bonzini at gnu dot org
@ 2009-02-27  9:57 ` schwab at suse dot de
  10 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2009-02-27  9:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from schwab at suse dot de  2009-02-27 09:57 -------
Fixed.


-- 

schwab at suse dot de changed:

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


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


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

* [Bug ada/39172] libada parsing of multilib options
       [not found] <bug-39172-4@http.gcc.gnu.org/bugzilla/>
@ 2014-03-16  8:33 ` schwab at gcc dot gnu.org
  0 siblings, 0 replies; 13+ messages in thread
From: schwab at gcc dot gnu.org @ 2014-03-16  8:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Andreas Schwab <schwab at gcc dot gnu.org> ---
Author: schwab
Date: Sun Mar 16 08:32:23 2014
New Revision: 208605

URL: http://gcc.gnu.org/viewcvs?rev=208605&root=gcc&view=rev
Log:
PR ada/39172
* gcc/ada/gcc-interface/Makefile.in (target_cpu_default): Revert
2013-10-11 change.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/Makefile.in


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

end of thread, other threads:[~2014-03-16  8:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-12 19:23 [Bug ada/39172] New: libada parsing of multilib options joel at gcc dot gnu dot org
2009-02-12 19:29 ` [Bug ada/39172] " joel at gcc dot gnu dot org
2009-02-12 21:36 ` bonzini at gnu dot org
2009-02-25 16:43 ` schwab at suse dot de
2009-02-25 16:57 ` schwab at suse dot de
2009-02-25 16:58 ` schwab at suse dot de
2009-02-25 17:04 ` bonzini at gnu dot org
2009-02-25 17:05 ` joel at gcc dot gnu dot org
2009-02-26 11:07 ` schwab at suse dot de
2009-02-26 15:48 ` bonzini at gnu dot org
2009-02-27  7:40 ` bonzini at gnu dot org
2009-02-27  9:57 ` schwab at suse dot de
     [not found] <bug-39172-4@http.gcc.gnu.org/bugzilla/>
2014-03-16  8:33 ` schwab 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).