------- Additional Comments From amylaar at gcc dot gnu dot org  2005-05-11 
18:39 -------
[I would continue to handle this in email, but sending doesn't work right now.]

Aldy Hernandez wrote:

>  
>
>
>The problem is that target_flags_explicit was not being set on the
>options that set additional masks.  Silly me for not understanding
>how c-opt.c worked.
>
>The patch below fixes your problem.  I'm testing on ppc-linux right now,
>but a preliminary test shows your problem being resolved.  Could you
>please test on your configuration?
>
>David/Geoff, could you take a peek at this?
>
>Thanks.
>
>       * config/rs6000/rs6000.c (rs6000_handle_option): Set
>       target_flags_explicit when appropriate.
>
   
This gets me past the point of building eabi.o (actually, it builds two of
these).  But now I get a new failure:

make[3]: Entering directory `/mnt/scratch/nightly/2005-05-11/ppc/gcc'
/mnt/scratch/nightly/2005-05-11/ppc/./gcc/xgcc
-B/mnt/scratch/nightly/2005-05-11/ppc/./gcc/ -nostdinc
-B/mnt/scratch/nightly/2005-05-11/ppc/powerpc-eabisim/newlib/ -isystem
/mnt/scratch/nightly/2005-05-11/ppc/powerpc-eabisim/newlib/targ-include -isystem
/mnt/scratch/nightly/2005-05-11/srcw/newlib/libc/include
-B/usr/local/powerpc-eabisim/bin/ -B/usr/local/powerpc-eabisim/lib/ -isystem
/usr/local/powerpc-eabisim/include -isystem
/usr/local/powerpc-eabisim/sys-include
-L/mnt/scratch/nightly/2005-05-11/ppc/./ld -O2 -DIN_GCC -DCROSS_COMPILE   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -Ile -I../../srcw/gcc
-I../../srcw/gcc/le -I../../srcw/gcc/../include
-I../../srcw/gcc/../libcpp/include  -mlittle -mrelocatable-lib -mno-eabi
-mstrict-align -g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -msdata=none \
   -c ../../srcw/gcc/crtstuff.c -DCRT_BEGIN \
  -o le/crtbegin.o
cc1: error: unrecognized command line option "-mlittle"
make[3]: *** [le/crtbegin.o] Error 1

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldyh at redhat dot com
                URL|http://gcc.gnu.org/ml/gcc/20|
                   |05-05/msg00530.html         |
 GCC target triplet|ppc-eabisim                 |
           Keywords|build, patch                |
            Summary|[4.1 Regression] ppc-eabisim|ppc-eabisim is broken on
                   |is broken on mainline -     |mainline - problem with
                   |problem with argument       |argument handling
                   |handling                    |
   Target Milestone|4.1.0                       |---


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

Reply via email to