From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752248Ab0CFEEf (ORCPT ); Fri, 5 Mar 2010 23:04:35 -0500 Received: from mail-qy0-f199.google.com ([209.85.221.199]:47665 "EHLO mail-qy0-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047Ab0CFEEd convert rfc822-to-8bit (ORCPT ); Fri, 5 Mar 2010 23:04:33 -0500 X-Greylist: delayed 355 seconds by postgrey-1.27 at vger.kernel.org; Fri, 05 Mar 2010 23:04:33 EST DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=SzeY4rcTgT/zROa8BY6i/SPwJ+ZdWWtBQgcJEhCoXXc1w1em5YxHK2rZNKOHYJ6gZe LpAgYCj/QRU2HGxTyK1hErdUvL6mUOITGtuK9QXNohOvyl5orDb8nwtFmBxHNqVU1Wqa vGlrijtxsH8LkoYaEixeC5RfJZuIrtZR8rIOE= MIME-Version: 1.0 From: dave b Date: Sat, 6 Mar 2010 14:58:18 +1100 Message-ID: <25ae2d691003051958x72040b47g29d842f1d389a6cf@mail.gmail.com> Subject: weirdness with compiling a 2.6.33 kernel on arm debian To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi have now successfully built a 2.6.33 kernel on a linkstation pro v2. This is an arm device. It is currently running debian  lenny armel. I compiled  (make) zImage, then did a make modules which failed on the first two rounds of compiling the modules - "fs/afs/super.c: In function ‘afs_test_super’: fs/afs/super.c:278: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions." This was the error encountered on the attempt at compiling the modules. "crypto/gcm.c: In function ‘crypto_gcm_setauthsize’: crypto/gcm.c:152: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [crypto/gcm.o] Error 1" This was the error the on the second attempt at compiling the modules. The 3rd attempt at building the modules was successful... The device boots and runs fine with this kernel and modules appear to work. [root@nas ~]# uname -a Linux nas 2.6.33 #1 Fri Mar 5 23:54:51 EST 2010 armv5tel GNU/Linux *SO* is this a gcc bug or is it related to the changes to the build process on arm? gcc -v Using built-in specs. Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libssp --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Thread model: posix gcc version 4.3.2 (Debian 4.3.2-1.1)