* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 @ 2014-05-28 7:09 Rohit Kumar 2014-05-28 7:51 ` Thomas Petazzoni 0 siblings, 1 reply; 13+ messages in thread From: Rohit Kumar @ 2014-05-28 7:09 UTC (permalink / raw) To: buildroot Hello Thomas, i created toolchain using buildroot for ARM1136 attached is the configuration file. i want to cross compile the program with "-mfloat-abi=hard" option, i get following error /home/rohit/Desktop/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/gnu/stubs.h:10:29: fatal error: gnu/stubs-hard.h: No such file or directory compilation terminated. how to enable above in buildroot configuration? With Regards, Rohit Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140528/ed85a70d/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: buildroot_config Type: application/octet-stream Size: 47578 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140528/ed85a70d/attachment-0001.obj> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 7:09 [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 Rohit Kumar @ 2014-05-28 7:51 ` Thomas Petazzoni 2014-05-28 8:32 ` Rohit Kumar 0 siblings, 1 reply; 13+ messages in thread From: Thomas Petazzoni @ 2014-05-28 7:51 UTC (permalink / raw) To: buildroot Dear Rohit Kumar, On Wed, 28 May 2014 16:09:02 +0900, Rohit Kumar wrote: > i created toolchain using buildroot for ARM1136 > attached is the configuration file. > i want to cross compile the program with "-mfloat-abi=hard" option, i > get following error > > /home/rohit/Desktop/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/gnu/stubs.h:10:29: > fatal error: gnu/stubs-hard.h: No such file or directory > compilation terminated. > > how to enable above in buildroot configuration? Use EABIhf instead of EABI in the Buildroot configuration, under "Target options". Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 7:51 ` Thomas Petazzoni @ 2014-05-28 8:32 ` Rohit Kumar 2014-05-28 8:53 ` Thomas Petazzoni 0 siblings, 1 reply; 13+ messages in thread From: Rohit Kumar @ 2014-05-28 8:32 UTC (permalink / raw) To: buildroot Hello Thomas, On Wed, May 28, 2014 at 4:51 PM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Dear Rohit Kumar, > > On Wed, 28 May 2014 16:09:02 +0900, Rohit Kumar wrote: > > > i created toolchain using buildroot for ARM1136 > > attached is the configuration file. > > i want to cross compile the program with "-mfloat-abi=hard" option, i > > get following error > > > > > /home/rohit/Desktop/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/gnu/stubs.h:10:29: > > fatal error: gnu/stubs-hard.h: No such file or directory > > compilation terminated. > > > > how to enable above in buildroot configuration? > > Use EABIhf instead of EABI in the Buildroot configuration, under > "Target options". > enabling it leads to errors in compiling checking for .previous assembler directive... yes checking for .protected and .hidden assembler directive... yes checking whether __attribute__((visibility())) is supported... yes checking for broken __attribute__((visibility()))... no checking for broken __attribute__((alias()))... no checking whether to put _rtld_local into .sdata section... no checking for .preinit_array/.init_array/.fini_array support... no configure: error: Need linker with .init_array/.fini_array support. make: *** [/home/rohit/Desktop/buildroot/output/build/glibc-2.18/.stamp_configured] Error 1 > Best regards, > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com > With Regards, Rohit Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140528/4ad3e2f1/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 8:32 ` Rohit Kumar @ 2014-05-28 8:53 ` Thomas Petazzoni 2014-05-28 9:05 ` Rohit Kumar 0 siblings, 1 reply; 13+ messages in thread From: Thomas Petazzoni @ 2014-05-28 8:53 UTC (permalink / raw) To: buildroot Dear Rohit Kumar, On Wed, 28 May 2014 17:32:25 +0900, Rohit Kumar wrote: > enabling it leads to errors in compiling > > > checking for .previous assembler directive... yes > checking for .protected and .hidden assembler directive... yes > checking whether __attribute__((visibility())) is supported... yes > checking for broken __attribute__((visibility()))... no > checking for broken __attribute__((alias()))... no > checking whether to put _rtld_local into .sdata section... no > checking for .preinit_array/.init_array/.fini_array support... no > configure: error: Need linker with .init_array/.fini_array support. > make: *** > [/home/rohit/Desktop/buildroot/output/build/glibc-2.18/.stamp_configured] > Error 1 Did you do a complete "make clean; make" cycle? Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 8:53 ` Thomas Petazzoni @ 2014-05-28 9:05 ` Rohit Kumar 2014-05-28 9:20 ` Thomas Petazzoni 0 siblings, 1 reply; 13+ messages in thread From: Rohit Kumar @ 2014-05-28 9:05 UTC (permalink / raw) To: buildroot Hello Thomas, On Wed, May 28, 2014 at 5:53 PM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Dear Rohit Kumar, > > On Wed, 28 May 2014 17:32:25 +0900, Rohit Kumar wrote: > > > enabling it leads to errors in compiling > > > > > > checking for .previous assembler directive... yes > > checking for .protected and .hidden assembler directive... yes > > checking whether __attribute__((visibility())) is supported... yes > > checking for broken __attribute__((visibility()))... no > > checking for broken __attribute__((alias()))... no > > checking whether to put _rtld_local into .sdata section... no > > checking for .preinit_array/.init_array/.fini_array support... no > > configure: error: Need linker with .init_array/.fini_array support. > > make: *** > > [/home/rohit/Desktop/buildroot/output/build/glibc-2.18/.stamp_configured] > > Error 1 > > Did you do a complete "make clean; make" cycle? > Yes, i did "make clean; make" > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com > With Regards, Rohit Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140528/360fbced/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 9:05 ` Rohit Kumar @ 2014-05-28 9:20 ` Thomas Petazzoni 2014-05-28 10:21 ` Rohit Kumar 0 siblings, 1 reply; 13+ messages in thread From: Thomas Petazzoni @ 2014-05-28 9:20 UTC (permalink / raw) To: buildroot Dear Rohit Kumar, On Wed, 28 May 2014 18:05:07 +0900, Rohit Kumar wrote: > Yes, > i did "make clean; make" Here, the below defconfig builds fine: BR2_arm=y BR2_arm1176jzf_s=y BR2_ARM_EABIHF=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_CXX=y I'll restart the build with BR2_arm1136jf_s_r0=y, which is the CPU core you selected. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 9:20 ` Thomas Petazzoni @ 2014-05-28 10:21 ` Rohit Kumar 2014-05-28 11:33 ` Thomas Petazzoni 0 siblings, 1 reply; 13+ messages in thread From: Rohit Kumar @ 2014-05-28 10:21 UTC (permalink / raw) To: buildroot hello thomas, On Wed, May 28, 2014 at 6:20 PM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Dear Rohit Kumar, > > On Wed, 28 May 2014 18:05:07 +0900, Rohit Kumar wrote: > > > Yes, > > i did "make clean; make" > > Here, the below defconfig builds fine: > > BR2_arm=y > BR2_arm1176jzf_s=y > BR2_ARM_EABIHF=y > BR2_TOOLCHAIN_BUILDROOT_GLIBC=y > BR2_TOOLCHAIN_BUILDROOT_CXX=y > > I'll restart the build with BR2_arm1136jf_s_r0=y, which is the CPU core > you selected. > > it just doesnt builds with GCC compiler version 4.6 Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com > With Regards, Rohit Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140528/bfa0142b/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 10:21 ` Rohit Kumar @ 2014-05-28 11:33 ` Thomas Petazzoni 2014-05-28 14:38 ` Rohit Kumar 0 siblings, 1 reply; 13+ messages in thread From: Thomas Petazzoni @ 2014-05-28 11:33 UTC (permalink / raw) To: buildroot Dear Rohit Kumar, On Wed, 28 May 2014 19:21:37 +0900, Rohit Kumar wrote: > > I'll restart the build with BR2_arm1136jf_s_r0=y, which is the CPU core > > you selected. > > > it just doesnt builds with GCC compiler version 4.6 Indeed, I can reproduce the same issue when using gcc 4.6 instead of gcc 4.7. That's weird because gcc 4.6 is supposed to support EABIhf, so I'm not sure what's going on here. More investigation is needed, for sure. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 11:33 ` Thomas Petazzoni @ 2014-05-28 14:38 ` Rohit Kumar 2014-05-28 14:48 ` Thomas Petazzoni ` (3 more replies) 0 siblings, 4 replies; 13+ messages in thread From: Rohit Kumar @ 2014-05-28 14:38 UTC (permalink / raw) To: buildroot Hello Thomas, On Wed, May 28, 2014 at 8:33 PM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Dear Rohit Kumar, > > On Wed, 28 May 2014 19:21:37 +0900, Rohit Kumar wrote: > > > > I'll restart the build with BR2_arm1136jf_s_r0=y, which is the CPU core > > > you selected. > > > > > it just doesnt builds with GCC compiler version 4.6 > > Indeed, I can reproduce the same issue when using gcc 4.6 instead of > gcc 4.7. That's weird because gcc 4.6 is supposed to support EABIhf, so > I'm not sure what's going on here. More investigation is needed, for > sure. > > so is this anything i can try right now to resolve the issue?? > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com > With Regards, Rohit Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140528/fcaeb8ee/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 14:38 ` Rohit Kumar @ 2014-05-28 14:48 ` Thomas Petazzoni 2014-05-28 14:49 ` Thomas Petazzoni ` (2 subsequent siblings) 3 siblings, 0 replies; 13+ messages in thread From: Thomas Petazzoni @ 2014-05-28 14:48 UTC (permalink / raw) To: buildroot Dear Rohit Kumar, Please quote properly. You mix your answer with the quotation of my message. On Wed, 28 May 2014 23:38:47 +0900, Rohit Kumar wrote: > > Indeed, I can reproduce the same issue when using gcc 4.6 instead of > > gcc 4.7. That's weird because gcc 4.6 is supposed to support EABIhf, so > > I'm not sure what's going on here. More investigation is needed, for > > sure. > > > so is this anything i can try right now to resolve the issue?? Use gcc 4.7, 4.8 or 4.9. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 14:38 ` Rohit Kumar 2014-05-28 14:48 ` Thomas Petazzoni @ 2014-05-28 14:49 ` Thomas Petazzoni 2014-05-28 14:49 ` Thomas Petazzoni 2014-05-28 14:50 ` Charles Krinke 3 siblings, 0 replies; 13+ messages in thread From: Thomas Petazzoni @ 2014-05-28 14:49 UTC (permalink / raw) To: buildroot Dear Rohit Kumar, Please quote properly. You mix your answer with the quotation of my message. On Wed, 28 May 2014 23:38:47 +0900, Rohit Kumar wrote: > > Indeed, I can reproduce the same issue when using gcc 4.6 instead of > > gcc 4.7. That's weird because gcc 4.6 is supposed to support EABIhf, so > > I'm not sure what's going on here. More investigation is needed, for > > sure. > > > so is this anything i can try right now to resolve the issue?? Use gcc 4.7, 4.8 or 4.9. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 14:38 ` Rohit Kumar 2014-05-28 14:48 ` Thomas Petazzoni 2014-05-28 14:49 ` Thomas Petazzoni @ 2014-05-28 14:49 ` Thomas Petazzoni 2014-05-28 14:50 ` Charles Krinke 3 siblings, 0 replies; 13+ messages in thread From: Thomas Petazzoni @ 2014-05-28 14:49 UTC (permalink / raw) To: buildroot Dear Rohit Kumar, Please quote properly. You mix your answer with the quotation of my message. On Wed, 28 May 2014 23:38:47 +0900, Rohit Kumar wrote: > > Indeed, I can reproduce the same issue when using gcc 4.6 instead of > > gcc 4.7. That's weird because gcc 4.6 is supposed to support EABIhf, so > > I'm not sure what's going on here. More investigation is needed, for > > sure. > > > so is this anything i can try right now to resolve the issue?? Use gcc 4.7, 4.8 or 4.9. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 2014-05-28 14:38 ` Rohit Kumar ` (2 preceding siblings ...) 2014-05-28 14:49 ` Thomas Petazzoni @ 2014-05-28 14:50 ` Charles Krinke 3 siblings, 0 replies; 13+ messages in thread From: Charles Krinke @ 2014-05-28 14:50 UTC (permalink / raw) To: buildroot I went through something similar with the TI AM3517 a few months ago and hard float. I ended up setting buildroot to using gcc 4.7.3 and everything stabilized. Charles On Wed, May 28, 2014 at 7:38 AM, Rohit Kumar <rkthebest@gmail.com> wrote: > Hello Thomas, > > > > > > On Wed, May 28, 2014 at 8:33 PM, Thomas Petazzoni < > thomas.petazzoni at free-electrons.com> wrote: > >> Dear Rohit Kumar, >> >> On Wed, 28 May 2014 19:21:37 +0900, Rohit Kumar wrote: >> >> > > I'll restart the build with BR2_arm1136jf_s_r0=y, which is the CPU >> core >> > > you selected. >> > > >> > it just doesnt builds with GCC compiler version 4.6 >> >> Indeed, I can reproduce the same issue when using gcc 4.6 instead of >> gcc 4.7. That's weird because gcc 4.6 is supposed to support EABIhf, so >> I'm not sure what's going on here. More investigation is needed, for >> sure. >> >> so is this anything i can try right now to resolve the issue?? > > >> Thomas >> -- >> Thomas Petazzoni, CTO, Free Electrons >> Embedded Linux, Kernel and Android engineering >> http://free-electrons.com >> > With Regards, > > Rohit Kumar > > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > -- Charles Krinke -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140528/be5d0e17/attachment.html> ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-05-28 14:50 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-05-28 7:09 [Buildroot] how to enable -mfloat-abi=hard in cross toolchain for ARM1136 Rohit Kumar 2014-05-28 7:51 ` Thomas Petazzoni 2014-05-28 8:32 ` Rohit Kumar 2014-05-28 8:53 ` Thomas Petazzoni 2014-05-28 9:05 ` Rohit Kumar 2014-05-28 9:20 ` Thomas Petazzoni 2014-05-28 10:21 ` Rohit Kumar 2014-05-28 11:33 ` Thomas Petazzoni 2014-05-28 14:38 ` Rohit Kumar 2014-05-28 14:48 ` Thomas Petazzoni 2014-05-28 14:49 ` Thomas Petazzoni 2014-05-28 14:49 ` Thomas Petazzoni 2014-05-28 14:50 ` Charles Krinke
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox