Re: Persistent seg-fault during build

Eric Fowler <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
"I have also run amuk in the /tmp directory" ---> should be ------>" I have also run amuk in the /tmp directory, deleting any tmp files that I think the build has produced"

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Eric Fowler
Sent: Friday, January 24, 2014 1:16 PM
To: [email protected]
Subject: [uClinux-dev] Persistent seg-fault during build

I have the emcraft distro linux-M2S-1.12.0, a cortex-M2 ARM distro. I have successfully built and booted this several times.
When I went into the linux directory and ran 'make menuconfig' to enable the spi drivers, then ran 'make', I was confronted with:


  CHK     include/generated/compile.h
  GEN     usr/initramfs_data.cpio
/home/eric/linux-cortexm-1.12.0/linux/scripts/gen_initramfs_list.sh: line 329:  1957 Segmentation fault      (core dumped) usr/gen_init_cpio ${cpio_list} > ${cpio_tfile}
make[1]: *** [usr/initramfs_data.cpio] Error 139
make: *** [usr] Error 2


Yuk. Since then I have not been able to get around this. I have done 'make clean' and 'make oldconfig', which got me a build which failed to compile a driver that I don't need. I once was able to get a new distro to build a default kernel but that of course helps only a little. Now, bizarrely, the build *always* does this, even after blowing away the whole tree, tools and all, and rebuilding it. I have also run amuk in the /tmp directory. 

Has anyone else seen this? Does anyone know the cause? 

If all I want is SPI support, what do I need to tell menuconfig? I thought my entries made sense. 

Eric

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected] To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.