This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: cross compiling to powerpc / unrecognized command line option '-mnew-mnemonics'
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Christer Solskogen <christer dot solskogen at gmail dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 13 Sep 2012 10:48:05 -0700
- Subject: Re: cross compiling to powerpc / unrecognized command line option '-mnew-mnemonics'
- References: <k2t607$2jn$1@ger.gmane.org>
On Thu, Sep 13, 2012 at 10:43 AM, Christer Solskogen
<christer.solskogen@gmail.com> wrote:
> Latest glibc and latest gcc (trunk)
>
> [solskogen@bolken libc.powerpc-centix-linux-gnu]$ make
> make -r PARALLELMFLAGS="" -C /home/solskogen/src/lib/libc objdir=`pwd` all
> make[1]: Entering directory `/home/solskogen/src/lib/libc'
> make subdir=csu -C csu ..=../ subdir_lib
> make[2]: Entering directory `/home/solskogen/src/lib/libc/csu'
> gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/powerpc/tcb-offsets.sym
> \
> | powerpc-centix-linux-gnu-gcc -S -o
> /home/solskogen/obj/_build/libc.powerpc-centix-linux-gnu/tcb-offsets.hT3
> -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings
> -fmerge-all-constants -frounding-math -pipe -mhard-float -mnew-mnemonics
> -Wstrict-prototypes -mlong-double-128 -I../include
> -I/home/solskogen/obj/_build/libc.powerpc-centix-linux-gnu/csu
> -I/home/solskogen/obj/_build/libc.powerpc-centix-linux-gnu
> -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl
> -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
> -I../sysdeps/powerpc/powerpc32/fpu
> -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
> -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32
> -I../sysdeps/unix/sysv/linux/powerpc/powerpc32
> -I../nptl/sysdeps/unix/sysv/linux/powerpc
> -I../ports/sysdeps/unix/sysv/linux/powerpc
> -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm
> -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
> -I../nptl/sysdeps/pthread -I../sysdeps/pthread
> -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
> -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
> -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
> -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/powerpc/powerpc32
> -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32
> -I../sysdeps/powerpc/fpu -I../nptl/sysdeps/powerpc
> -I../ports/sysdeps/powerpc -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic
> -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem
> /home/solskogen/obj/cross.tools/lib/gcc/powerpc-centix-linux-gnu/4.8.0/include
> -isystem
> /home/solskogen/obj/cross.tools/lib/gcc/powerpc-centix-linux-gnu/4.8.0/include-fixed
> -isystem /home/solskogen/obj/root.powerpc-centix-linux-gnu/usr/include
> -D_LIBC_REENTRANT -include ../include/libc-symbols.h -x c - \
> -MD -MP -MF
> /home/solskogen/obj/_build/libc.powerpc-centix-linux-gnu/tcb-offsets.h.dT
> -MT
> '/home/solskogen/obj/_build/libc.powerpc-centix-linux-gnu/tcb-offsets.h.d
> /home/solskogen/obj/_build/libc.powerpc-centix-linux-gnu/tcb-offsets.h'
> powerpc-centix-linux-gnu-gcc: error: unrecognized command line option
> '-mnew-mnemonics'
> make[2]: ***
> [/home/solskogen/obj/_build/libc.powerpc-centix-linux-gnu/tcb-offsets.h]
> Error 1
> make[2]: Leaving directory `/home/solskogen/src/lib/libc/csu'
> make[1]: *** [csu/subdir_lib] Error 2
> make[1]: Leaving directory `/home/solskogen/src/lib/libc'
> make: *** [all] Error 2
>
> Something that was removed from gcc perhaps?
Yes this was removed as there is no support for the old Power (pre
PowerPC) ISA any more in the top of the trunk GCC.
Thanks,
Andrew Pinski