From mboxrd@z Thu Jan 1 00:00:00 1970 From: John David Anglin Subject: Re: Error compiling 3.9.0 Date: Fri, 03 May 2013 15:06:12 -0400 Message-ID: <51840AA4.6010006@bell.net> References: <1742161.3f9jxWykf1@devpool02> <517FD922.6060408@bell.net> <1428267.TfdjUgcdcj@eto> <2d7b2933c7dcaa9e8d7650da13a68795@sf-mail.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Cc: linux-parisc@vger.kernel.org To: Rolf Eike Beer Return-path: In-Reply-To: <2d7b2933c7dcaa9e8d7650da13a68795@sf-mail.de> List-ID: List-Id: linux-parisc.vger.kernel.org On 5/2/2013 8:41 AM, Rolf Eike Beer wrote: > Am 02.05.2013 03:34, schrieb John David Anglin: >> On 30-Apr-13, at 12:40 PM, Rolf Eike Beer wrote: >> >>>>> Nope, but probably this: >>>>> >>>>> *hppa64-unknown-linux-gnu-ld: scripts/link-vmlinux.sh: line 52: 5398 >>>>> Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o >>>>> ${2} -T >>>>> ${lds} ${KBUILD_VMLINUX_INIT} --start-group ${KBUILD_VMLINUX_MAIN} >>>>> --end-group ${1} >>>> >>>> No, it's probably a kernel bug. Is the crash consistent? If it >>>> isn't, >>>> then it's an OS or kernel bug. >>> >>> I have got the same crash again. This are the first 2 tries I ever >>> made with >>> binutils 2.23.1 for 64 bit binaries, so I have nothing to compare to. >> >> I have successfully built 3.9.0 with debian binutils 2.23.2-2, so I >> think the above >> issue is specific to your kernel, config, etc. So, full details are >> needed. Particularly, >> details on how to reproduce the fault are needed. > > It's a plain 3.9.0, the .config was attached to the first mail. I > always get the same problem at the same place: > > KSYM .tmp_kallsyms1.o > hppa64-unknown-linux-gnu-ld: scripts/link-vmlinux.sh: line 52: 11674 > Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T > ${lds} ${KBUILD_VMLINUX_INIT} --start-group ${KBUILD_VMLINUX_MAIN} > --end-group ${1} > make: *** [vmlinux] Error 139 Although I can confirm the branch distance issue with your .config, I don't see the above. Thus, some debugging on your part would be needed to find out what's going on. There should be info about the segmentation fault in your system log. Gdb can tell you which application faulted but without a debug version, it will be hard to tell what's happening. Failing command would need debugging. Dave -- John David Anglin dave.anglin@bell.net