From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17107 invoked by alias); 27 Apr 2010 13:27:30 -0000 Received: (qmail 17098 invoked by uid 22791); 27 Apr 2010 13:27:28 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SARE_BAYES_5x8,SARE_BAYES_6x8,SARE_BAYES_7x8,TW_BF,TW_BL,TW_CF,TW_SN X-Spam-Check-By: sourceware.org Received: from 30.mail-out.ovh.net (HELO 30.mail-out.ovh.net) (213.186.62.213) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 27 Apr 2010 13:27:24 +0000 Received: (qmail 27048 invoked by uid 503); 27 Apr 2010 13:24:55 -0000 Received: from b7.ovh.net (HELO mail637.ha.ovh.net) (213.186.33.57) by 30.mail-out.ovh.net with SMTP; 27 Apr 2010 13:24:55 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 27 Apr 2010 13:27:52 -0000 Received: from unknown (HELO ?192.168.1.50?) (piments%piments.com@95.176.17.55) by ns0.ovh.net with SMTP; 27 Apr 2010 13:27:50 -0000 Message-ID: <4BD6E664.2080402@piments.com> Date: Tue, 27 Apr 2010 13:27:00 -0000 From: ng@piments.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100131 Shredder/3.0.1 MIME-Version: 1.0 To: Martin Guy CC: crossgcc@sourceware.org Subject: Re: -mfloat-abi=softfp References: <4BCB51C6.90504@piments.com> <4BCBB03F.2000100@piments.com> <4BD6B8E5.2020807@piments.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 16597453477751071343 X-Ovh-Remote: 95.176.17.55 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00156.txt.bz2 On 04/27/10 13:07, Martin Guy wrote: > On 4/27/10, ng@piments.com wrote: >> So now I've put >> LIBC_GLIBC_EXTRA_CFLAGS= -mfpu=maverick -mfloat-abi=softfp -mcpu=ep9312 >> >> It's throwing ICE in glibc.: >> >> [ALL ] ibm420.c:1: warning: switch -mcpu=ep9312 conflicts with -march= >> switch >> [ALL ] ../iconv/skeleton.c: In function 'gconv': >> [ERROR] ../iconv/skeleton.c:801: internal compiler error: Segmentation >> fault >> [ALL ] Please submit a full bug report, >> [ALL ] with preprocessed source if appropriate. > > ICE is a bug in the GCC that you are using to build the cross-compiler > - the "core compiler" - in this case, the output of your stage1 > compilation. "Segmentation fault" is pretty severe :( > To investigate further where it is segfaulting you can run the one > specific command under gdb. I the core compiler is built using the > system glibc, so it shouldn't be a bug in the glibc patches. For what > it's worth, I've used the native gcc-4.3-crunch to build glibc again. > natively). > > Another strategy you could use is to build gcc-4.2, which runs faster, > uses less memory to compile things and produces smaller and faster > code than gcc-4.3 (yes, really!) > >> warning: switch -mcpu=ep9312 conflicts with -march= switch >> I have left -mcpu -mtune empty in menuconfig giving just -march=armv4t > > -march=ep9312 should be what you need, but I doubt that will fix the ICE. > > M > just got this from system log when running 4.2.4 based build. . Apr 27 15:06:23 linbox kernel: wlan1: deauthenticating by local choice (reason=3) Apr 27 15:06:23 linbox dhcpcd[8426]: wlan1: carrier lost Apr 27 15:06:23 linbox dhcpcd[8426]: wlan1: carrier_status: No such device Apr 27 15:07:17 linbox smartd[2923]: Device: /dev/hda, SMART Usage Attribute: 194 Temperature_Celsius changed from 42 to 43 Apr 27 15:11:28 linbox kernel: BUG: unable to handle kernel NULL pointer dereference at 00000006 Apr 27 15:11:28 linbox kernel: IP: [<00000006>] 0x6 Apr 27 15:11:28 linbox kernel: *pde = 00000000 Apr 27 15:11:28 linbox kernel: Oops: 0000 [#1] Apr 27 15:11:28 linbox kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:01.1/i2c-adapter/i2c-1/1-002d/cpu0_vid Apr 27 15:11:28 linbox kernel: Modules linked in: aes_generic arc4 ecb rt73usb rt2x00usb rt2x00lib mac80211 cfg80211 bridge stp llc snd_seq_midi snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_rtctimer asb100 hwmon_vid hwmon fuse analog joydev usblp nvidia(P) snd_ens1371 gameport snd_rawmidi snd_seq_device snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc ohci_hcd ehci_hcd forcedeth e100 3c59x i2c_nforce2 i2c_core nvidia_agp evdev agpgart thermal processor Apr 27 15:11:28 linbox kernel: Apr 27 15:11:28 linbox kernel: Pid: 17757, comm: make Tainted: P (2.6.29-hh2 #9) A7N8X Apr 27 15:11:28 linbox kernel: EIP: 0060:[<00000006>] EFLAGS: 00010083 CPU: 0 Apr 27 15:11:28 linbox kernel: EIP is at 0x6 Apr 27 15:11:28 linbox kernel: EAX: ddf19fbc EBX: 40190ff4 ECX: 0000007b EDX: 400bb096 Apr 27 15:11:28 linbox kernel: ESI: 08208fe0 EDI: 00000006 EBP: bfb7ed08 ESP: ddf19fb8 Apr 27 15:11:28 linbox kernel: DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 Apr 27 15:11:28 linbox kernel: Process make (pid: 17757, ti=ddf18000 task=f2423660 task.ti=ddf18000) Apr 27 15:11:28 linbox kernel: Stack: Apr 27 15:11:28 linbox kernel: c045df22 40190ff4 08209030 0001cfd1 08208fe0 08208fe0 bfb7ed08 00000018 Apr 27 15:11:28 linbox kernel: 0000007b 0000007b 00000000 ffffffff 00000073 00010206 bfb7ec58 0000007b Apr 27 15:11:28 linbox kernel: 00000000 00000000 Apr 27 15:11:28 linbox kernel: Call Trace: Apr 27 15:11:28 linbox kernel: [] error_code+0x6a/0x70 Apr 27 15:11:28 linbox kernel: Code: Bad EIP value. Apr 27 15:11:28 linbox kernel: EIP: [<00000006>] 0x6 SS:ESP 0068:ddf19fb8 Apr 27 15:11:28 linbox kernel: ---[ end trace 3b01e823d1d7f2a3 ]--- The ct-ng log looks like this: [ALL ] echo '' > /back/ts/ct-ng/targets/arm-maverick-linux-gnueabi/build/build-libc/socket/stamp.oST [ALL ] mv -f /back/ts/ct-ng/targets/arm-maverick-linux-gnueabi/build/build-libc/socket/stamp.oST /back/ts/ct-ng/targets/arm-maverick-linux-gnueabi/build/build-libc/socket/stamp.oS [ALL ] make[3]: Leaving directory `/back/ts/ct-ng/targets/src/glibc-2.9/socket' [ALL ] /usr/bin/make -j1 subdir=sysvipc -C sysvipc ..=../ subdir_lib [ERROR] make[2]: *** [sysvipc/subdir_lib] Segmentation fault [ALL ] make[2]: Leaving directory `/back/ts/ct-ng/targets/src/glibc-2.9' [ERROR] make[1]: *** [all] Error 2 Can you make any sense of that? thx -- For unsubscribe information see http://sourceware.org/lists.html#faq