------- Comment #3 from kkojima at gcc dot gnu dot org  2010-06-20 10:56 -------
I can reproduce it on an old ppc darwin.  It looks that this
darwin's sed doesn't support the 'i' modifier for the 's' command
and drops all multilibs list specified.
Does the patch below work for you?

--- gcc/config.gcc~     2010-04-07 19:34:00.000000000 +0900
+++ gcc/config.gcc      2010-06-20 18:08:46.000000000 +0900
@@ -2315,7 +2315,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian
        target_cpu_default=SELECT_`echo ${sh_cpu_default}|tr
abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_`
        tm_defines=${tm_defines}' SH_MULTILIB_CPU_DEFAULT=\"'`echo
$sh_cpu_default|sed s/sh/m/`'\"'
        tm_defines="$tm_defines SUPPORT_`echo $sh_cpu_default | sed 's/^m/sh/'
| tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_`=1"
-       sh_multilibs=`echo $sh_multilibs | sed -e 's/,/ /g' -e 's/^sh/m/i' -e
's/ sh/ m/gi' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ_ abcdefghijklmnopqrstuvwxyz-`
+       sh_multilibs=`echo $sh_multilibs | sed -e 's/,/ /g' -e 's/^[Ss][Hh]/m/'
-e 's/ [Ss][Hh]/ m/g' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ_
abcdefghijklmnopqrstuvwxyz-`
        for sh_multilib in ${sh_multilibs}; do
                case ${sh_multilib} in
                m1 | m2 | m2e | m3 | m3e | \


-- 

kkojima at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.5.0 4.6.0
      Known to work|                            |4.4.4
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-20 10:56:53
               date|                            |
            Summary|[SuperH] Multilib           |[4.5/4.6 Regression] [SH]
                   |configuration does not work |Multilib configuration does
                   |as expected                 |not work as expected on
                   |                            |darwin


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

Reply via email to