On Tue, Nov 27, 2012 at 7:15 PM, Shuah Khan <[email protected]> wrote:
> On Tue, 2012-11-27 at 18:15 +0100, Ralf Baechle wrote:
>> On Mon, Nov 26, 2012 at 07:19:45PM -0700, Shuah Khan wrote:
>>
>> > Should this patch go into stable? My guess is that compiles will
>> > fail the same way 3.4.x and 3.6.x as well with CC 4.4 and newer.
>> >
>> > http://marc.info/?l=git-commits-head&m=135389577115917&w=2
>> >
>> > It is not marked for stable and maybe that is what is intended. Just
>> > wanting to confirm.
>>
>> It should go to -stable as well.
>>
>
> Hmm. I can't reproduce the compile error. I am using cross-compile on
> x86_64 and tried with mipsel-linux-gnu-gcc-4.7 and
> mips-linux-gnu-gcc-4.7 both. I tried it on linux-next Nov 20th as well
> as the latest linux-3.4.y

As far as I can see, MPI first appeared in 3.6, although I can't find a switch
to enable it, at least on my mips builds.  With 3.7-rc a selectable X.509 parser
appeared in the crypto menu which selects MPI.


> What am I missing? Is gcc4.7 older and doesn't show the problem? I think
> I am missing something very obvious.

With 3.7-rc5 and a more or less vanilla gcc-4.7.2:

mano@dargo ~/db1200/kernel/linux $ make ARCH=mips
CROSS_COMPILE=mipsel-softfloat-linux-gnu- O=../kbuild-db1235
  Using /mnt/data/.home/mano/db1200/kernel/linux as source for kernel
  GEN     /mnt/data/.home/mano/db1200/kernel/kbuild-db1235/Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    /mnt/data/.home/mano/db1200/kernel/linux/scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      lib/mpi/generic_mpih-mul1.o
/mnt/data/.home/mano/db1200/kernel/linux/lib/mpi/generic_mpih-mul1.c:
In function 'mpihelp_mul_1':
/mnt/data/.home/mano/db1200/kernel/linux/lib/mpi/generic_mpih-mul1.c:50:3:
error: impossible constraint in 'asm'
make[3]: *** [lib/mpi/generic_mpih-mul1.o] Error 1
make[2]: *** [lib/mpi] Error 2
make[1]: *** [lib] Error 2
make: *** [sub-make] Error 2

mano@dargo ~/db1200/kernel/linux $ mipsel-softfloat-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/mipsel-softfloat-linux-gnu/gcc-bin/4.7.2/mipsel-softfloat-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/mipsel-softfloat-linux-gnu/4.7.2/lto-wrapper
Target: mipsel-softfloat-linux-gnu
Configured with:
/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.7.2/work/gcc-4.7.2/configure
--prefix=/usr 
--bindir=/usr/x86_64-pc-linux-gnu/mipsel-softfloat-linux-gnu/gcc-bin/4.7.2
--includedir=/usr/lib/gcc/mipsel-softfloat-linux-gnu/4.7.2/include
--datadir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.7.2
--mandir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.7.2/man
--infodir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.7.2/info
--with-gxx-include-dir=/usr/lib/gcc/mipsel-softfloat-linux-gnu/4.7.2/include/g++-v4
--host=x86_64-pc-linux-gnu --target=mipsel-softfloat-linux-gnu
--build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point
--without-ppl --without-cloog --enable-lto --with-float=soft
--disable-nls --with-system-zlib --enable-obsolete --disable-werror
--enable-secureplt --disable-multilib --disable-libmudflap
--disable-libssp --disable-libgomp
--with-python-dir=/share/gcc-data/mipsel-softfloat-linux-gnu/4.7.2/python
--enable-poison-system-directories --enable-checking=release
--disable-libgcj --disable-libquadmath --with-abi=
--enable-languages=c,c++
--with-sysroot=/usr/mipsel-softfloat-linux-gnu --disable-bootstrap
--enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.7.2
p1.3'
Thread model: posix
gcc version 4.7.2 (Gentoo 4.7.2 p1.3)


Thanks,
        Manuel
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to