init segfaults when compiled with glibc
On Tue, Mar 30, 2010 at 11:34 PM, Thomas Petazzoni <[email protected]> wrote:
Hi Sasha,
On Tue, 30 Mar 2010 23:03:55 +0300
Sasha Sirotkin <[email protected]> wrote:
> It looks like glibc does not work at all with buildroot right now. > Should I open a bug ticket or something?
Unfortunately, without more details, a bug report would be fairly useless. Can you send your Buildroot .config and kernel .config so that I can try to reproduce your problem on my AT91 systems ?
Attached please find both config files.
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot.config.bz2
Type: application/x-bzip
Size: 3643 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100331/a0cc21e1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel.config.bz2
Type: application/x-bzip
Size: 7096 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100331/a0cc21e1/attachment-0003.bin>
Quoted 1 line · On Wed, 31 Mar 2010 13:47:13 +0300 Sasha Sirotkin <[email protected]>…
Attached please find both config files.
Which exact AT91 CPU are you using ?
Your Buildroot .config specifies an ARM926 core, which is ARMv5. However, if you use AT91RM9200, as ?ric B?nard noted, you have an ARM920 core, which is ARMv4. Therefore, if you have an AT91RM9200 CPU, it is normal that the Buildroot configuration you sent does not work. Select BR2_arm920t instead of BR2_arm926t.
Your .config also states that you're using a crosstool-NG external toolchain. Can you send the .config you used in Crosstool-NG to generate the toolchain ?
In other words:
* Give us more details about your hardware
* Give us your Crosstool-NG configuration file
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 6 lines · Thomas Petazzoni
Quoted 1 line · On Wed, 31 Mar 2010 13:47:13 +0300 Sasha Sirotkin <[email protected]>…
Attached please find both config files.
Which exact AT91 CPU are you using ?
AT91SAM9260
Quoted 10 lines
Your Buildroot .config specifies an ARM926 core, which is ARMv5. However, if you use AT91RM9200, as ?ric B?nard noted, you have an ARM920 core, which is ARMv4. Therefore, if you have an AT91RM9200 CPU, it is normal that the Buildroot configuration you sent does not work. Select
BR2_arm920tinstead ofBR2_arm926t.Your .config also states that you're using a crosstool-NG external toolchain. Can you send the .config you used in Crosstool-NG to generate the toolchain ?
Attached.
Quoted 5 lines
In other words:
?* Give us more details about your hardware
?* Give us your Crosstool-NG configuration file
Quoted 10 lines
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.bz2
Type: application/x-bzip2
Size: 2299 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100331/f1db35fd/attachment.bin>