From: Dmitriy I. <div...@gm...> - 2006-12-13 03:59:18
|
Can anybody explain what I'm did wrong or how to add g++ to buildroot ? My steps: svn co http://svn.gumstix.com/gumstix-buildroot/trunk gumstix-buildroot cd gumstix-buildroot make defconfig make >Buildroot succefully compiled, then: make menuconfig >Toolchain Option--> [*]Build/install c++ compiler and libstdc++ remove build_arm_nofpu and toolchain_build_arm_nofpu make Buildroot fails during gcc4.1.1 complilation with some error like: gcc-4.1.1/libobjc/exception.c:173: error: '_URC_FATAL_PHASE1_ERROR' undeclared (first use in this function) |
From: Andrei R. <ar...@ya...> - 2006-12-13 05:30:35
|
skip 'make' after (or altogether with) 'make defconfig' --- Dmitriy Ivashin <div...@gm...> wrote: > Can anybody explain what I'm did wrong or how to add > g++ to buildroot ? > My steps: > > svn co > http://svn.gumstix.com/gumstix-buildroot/trunk > gumstix-buildroot > cd gumstix-buildroot > make defconfig > make > >Buildroot succefully compiled, then: > make menuconfig > >Toolchain Option--> [*]Build/install c++ compiler > and libstdc++ > remove build_arm_nofpu and > toolchain_build_arm_nofpu > make > > Buildroot fails during gcc4.1.1 complilation with > some error like: > gcc-4.1.1/libobjc/exception.c:173: error: > '_URC_FATAL_PHASE1_ERROR' undeclared (first use in > this function) > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Dmitriy I. <div...@gm...> - 2006-12-14 00:33:59
|
Exactly the same error =( > skip 'make' after (or altogether with) > 'make defconfig' > --- Dmitriy Ivashin <div...@gm...> wrote: >> Can anybody explain what I'm did wrong or how to add >> g++ to buildroot ? >> My steps: >> >> svn co >> http://svn.gumstix.com/gumstix-buildroot/trunk >> gumstix-buildroot >> cd gumstix-buildroot >> make defconfig >> make >> >Buildroot succefully compiled, then: >> make menuconfig >> >Toolchain Option--> [*]Build/install c++ compiler >> and libstdc++ >> remove build_arm_nofpu and >> toolchain_build_arm_nofpu >> make >> >> Buildroot fails during gcc4.1.1 complilation with >> some error like: >> gcc-4.1.1/libobjc/exception.c:173: error: >> '_URC_FATAL_PHASE1_ERROR' undeclared (first use in >> this function) >> >> >> >> >> >> > ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys - and earn cash >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> |
From: Dmitriy I. <div...@gm...> - 2006-12-14 23:47:53
|
Well. I still can't compile buildroot with g++ =( Looks like it failed during compiling libstdc++ which is now part of gcc. make[3]: Leaving directory `/mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1-final/arm-linux-uclibcgnueabi/libstdc++-v3' /mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1/libobjc/exception.c: In function '__gnu_objc_personality_v0': I tried different sequences and now out of ideas =( > skip 'make' after (or altogether with) > 'make defconfig' > --- Dmitriy Ivashin <div...@gm...> wrote: >> Can anybody explain what I'm did wrong or how to add >> g++ to buildroot ? >> My steps: >> >> svn co >> http://svn.gumstix.com/gumstix-buildroot/trunk >> gumstix-buildroot >> cd gumstix-buildroot >> make defconfig >> make >> >Buildroot succefully compiled, then: >> make menuconfig >> >Toolchain Option--> [*]Build/install c++ compiler >> and libstdc++ >> remove build_arm_nofpu and >> toolchain_build_arm_nofpu >> make >> >> Buildroot fails during gcc4.1.1 complilation with >> some error like: >> gcc-4.1.1/libobjc/exception.c:173: error: >> '_URC_FATAL_PHASE1_ERROR' undeclared (first use in >> this function) >> >> >> >> >> >> > ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys - and earn cash >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> |
From: Jared <87...@gm...> - 2006-12-15 00:38:01
|
Is there anything special needed to enable single dim arrays in bash scripts? Looked through the config. 1.1.2 is the version of my busybox maybe it is not supported then JR |
From: Craig H. <cr...@gu...> - 2006-12-15 00:42:10
|
On Dec 14, 2006, at 4:38 PM, Jared wrote: > Is there anything special needed to enable single dim arrays in bash > scripts? Looked through the config. 1.1.2 is the version of my > busybox > maybe it is not supported then Busybox does not include bash. If you want bash, and its attendant functionality, you'll have to turn on "bash" in the buildroot. C |
From: Andrei R. <ar...@ya...> - 2006-12-15 00:52:34
|
Sorry, I thought you'd just need to trash some prior build to get C++. Looks like you went to gcc 4.something I stick with with the old one, you never know what might be broken in the latest buildroot. --- Dmitriy Ivashin <div...@gm...> wrote: > Well. I still can't compile buildroot with g++ =( > Looks like it failed during compiling libstdc++ > which is now part of > gcc. > > make[3]: Leaving directory > `/mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1-final/arm-linux-uclibcgnueabi/libstdc++-v3' > /mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1/libobjc/exception.c: > In function '__gnu_objc_personality_v0': > > I tried different sequences and now out of ideas =( > > > skip 'make' after (or altogether with) > > 'make defconfig' > > > --- Dmitriy Ivashin <div...@gm...> wrote: > > >> Can anybody explain what I'm did wrong or how to > add > >> g++ to buildroot ? > >> My steps: > >> > >> svn co > >> http://svn.gumstix.com/gumstix-buildroot/trunk > >> gumstix-buildroot > >> cd gumstix-buildroot > >> make defconfig > >> make > >> >Buildroot succefully compiled, then: > >> make menuconfig > >> >Toolchain Option--> [*]Build/install c++ > compiler > >> and libstdc++ > >> remove build_arm_nofpu and > >> toolchain_build_arm_nofpu > >> make > >> > >> Buildroot fails during gcc4.1.1 complilation with > >> some error like: > >> gcc-4.1.1/libobjc/exception.c:173: error: > >> '_URC_FATAL_PHASE1_ERROR' undeclared (first use > in > >> this function) > >> > >> > >> > >> > >> > >> > > > ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of > IT > >> Join SourceForge.net's Techsay panel and you'll > get > >> the chance to share your > >> opinions on IT & business topics through brief > >> surveys - and earn cash > >> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> gumstix-users mailing list > >> gum...@li... > >> > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > >> > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Dmitriy I. <div...@gm...> - 2006-12-15 01:12:54
|
I just digging it a little bit and found what libstdc++/libobjc didn't pass configuration with: checking for exception model to use... configure: error: unable to detect exception model that exception model depended on what ? Host machine environment? > Sorry, I thought you'd just need to trash > some prior build to get C++. > Looks like you went to gcc 4.something > I stick with with the old one, > you never know what might be broken > in the latest buildroot. > --- Dmitriy Ivashin <div...@gm...> wrote: >> Well. I still can't compile buildroot with g++ =( >> Looks like it failed during compiling libstdc++ >> which is now part of >> gcc. >> >> make[3]: Leaving directory >> > `/mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1-final/arm-linux-uclibcgnueabi/libstdc++-v3' >> > /mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1/libobjc/exception.c: >> In function '__gnu_objc_personality_v0': >> >> I tried different sequences and now out of ideas =( >> >> > skip 'make' after (or altogether with) >> > 'make defconfig' >> >> > --- Dmitriy Ivashin <div...@gm...> wrote: >> >> >> Can anybody explain what I'm did wrong or how to >> add >> >> g++ to buildroot ? >> >> My steps: >> >> >> >> svn co >> >> http://svn.gumstix.com/gumstix-buildroot/trunk >> >> gumstix-buildroot >> >> cd gumstix-buildroot >> >> make defconfig >> >> make >> >> >Buildroot succefully compiled, then: >> >> make menuconfig >> >> >Toolchain Option--> [*]Build/install c++ >> compiler >> >> and libstdc++ >> >> remove build_arm_nofpu and >> >> toolchain_build_arm_nofpu >> >> make >> >> >> >> Buildroot fails during gcc4.1.1 complilation with >> >> some error like: >> >> gcc-4.1.1/libobjc/exception.c:173: error: >> >> '_URC_FATAL_PHASE1_ERROR' undeclared (first use >> in >> >> this function) >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > ------------------------------------------------------------------------- >> >> Take Surveys. Earn Cash. Influence the Future of >> IT >> >> Join SourceForge.net's Techsay panel and you'll >> get >> >> the chance to share your >> >> opinions on IT & business topics through brief >> >> surveys - and earn cash >> >> >> > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> >> gumstix-users mailing list >> >> gum...@li... >> >> >> > >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> >> >> >> >> > ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys - and earn cash >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> |
From: Andrei R. <ar...@ya...> - 2006-12-15 01:27:16
|
Unlikely that host is involved in that. I guess it's trying to figure whether exceptions are handled by setjump/longjump or dwarf2 (on the target), but I can't say anything coherent beyond that. --- Dmitriy Ivashin <div...@gm...> wrote: > I just digging it a little bit and found what > libstdc++/libobjc didn't pass > configuration with: > checking for exception model to use... configure: > error: unable to detect exception model > > that exception model depended on what ? Host machine > environment? > > > > Sorry, I thought you'd just need to trash > > some prior build to get C++. > > Looks like you went to gcc 4.something > > I stick with with the old one, > > you never know what might be broken > > in the latest buildroot. > > > --- Dmitriy Ivashin <div...@gm...> wrote: > > >> Well. I still can't compile buildroot with g++ =( > >> Looks like it failed during compiling libstdc++ > >> which is now part of > >> gcc. > >> > >> make[3]: Leaving directory > >> > > > `/mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1-final/arm-linux-uclibcgnueabi/libstdc++-v3' > >> > > > /mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1/libobjc/exception.c: > >> In function '__gnu_objc_personality_v0': > >> > >> I tried different sequences and now out of ideas > =( > >> > >> > skip 'make' after (or altogether with) > >> > 'make defconfig' > >> > >> > --- Dmitriy Ivashin <div...@gm...> wrote: > >> > >> >> Can anybody explain what I'm did wrong or how > to > >> add > >> >> g++ to buildroot ? > >> >> My steps: > >> >> > >> >> svn co > >> >> http://svn.gumstix.com/gumstix-buildroot/trunk > >> >> gumstix-buildroot > >> >> cd gumstix-buildroot > >> >> make defconfig > >> >> make > >> >> >Buildroot succefully compiled, then: > >> >> make menuconfig > >> >> >Toolchain Option--> [*]Build/install c++ > >> compiler > >> >> and libstdc++ > >> >> remove build_arm_nofpu and > >> >> toolchain_build_arm_nofpu > >> >> make > >> >> > >> >> Buildroot fails during gcc4.1.1 complilation > with > >> >> some error like: > >> >> gcc-4.1.1/libobjc/exception.c:173: error: > >> >> '_URC_FATAL_PHASE1_ERROR' undeclared (first > use > >> in > >> >> this function) > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> > > >> > > > ------------------------------------------------------------------------- > >> >> Take Surveys. Earn Cash. Influence the Future > of > >> IT > >> >> Join SourceForge.net's Techsay panel and > you'll > >> get > >> >> the chance to share your > >> >> opinions on IT & business topics through brief > >> >> surveys - and earn cash > >> >> > >> > > >> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> >> > _______________________________________________ > >> >> gumstix-users mailing list > >> >> gum...@li... > >> >> > >> > > >> > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > >> >> > >> > >> > >> > >> > >> > > > ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of > IT > >> Join SourceForge.net's Techsay panel and you'll > get > >> the chance to share your > >> opinions on IT & business topics through brief > >> surveys - and earn cash > >> > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> gumstix-users mailing list > >> gum...@li... > >> > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > >> > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Dmitriy I. <div...@gm...> - 2006-12-15 01:38:27
|
Ok. Probably I really have to switch to older buildroot. Which one you can suggest ? =) > Unlikely that host is involved in that. > I guess it's trying to figure whether exceptions > are handled by setjump/longjump or dwarf2 > (on the target), but I can't say anything > coherent beyond that. > --- Dmitriy Ivashin <div...@gm...> wrote: >> I just digging it a little bit and found what >> libstdc++/libobjc didn't pass >> configuration with: >> checking for exception model to use... configure: >> error: unable to detect exception model >> >> that exception model depended on what ? Host machine >> environment? >> >> >> > Sorry, I thought you'd just need to trash >> > some prior build to get C++. >> > Looks like you went to gcc 4.something >> > I stick with with the old one, >> > you never know what might be broken >> > in the latest buildroot. >> >> > --- Dmitriy Ivashin <div...@gm...> wrote: >> >> >> Well. I still can't compile buildroot with g++ =( >> >> Looks like it failed during compiling libstdc++ >> >> which is now part of >> >> gcc. >> >> >> >> make[3]: Leaving directory >> >> >> > >> > `/mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1-final/arm-linux-uclibcgnueabi/libstdc++-v3' >> >> >> > >> > /mnt/disk/Gumstix/gumstix-buildroot/toolchain_build_arm/gcc-4.1.1/libobjc/exception.c: >> >> In function '__gnu_objc_personality_v0': >> >> >> >> I tried different sequences and now out of ideas >> =( >> >> >> >> > skip 'make' after (or altogether with) >> >> > 'make defconfig' >> >> >> >> > --- Dmitriy Ivashin <div...@gm...> wrote: >> >> >> >> >> Can anybody explain what I'm did wrong or how >> to >> >> add >> >> >> g++ to buildroot ? >> >> >> My steps: >> >> >> >> >> >> svn co >> >> >> http://svn.gumstix.com/gumstix-buildroot/trunk >> >> >> gumstix-buildroot >> >> >> cd gumstix-buildroot >> >> >> make defconfig >> >> >> make >> >> >> >Buildroot succefully compiled, then: >> >> >> make menuconfig >> >> >> >Toolchain Option--> [*]Build/install c++ >> >> compiler >> >> >> and libstdc++ >> >> >> remove build_arm_nofpu and >> >> >> toolchain_build_arm_nofpu >> >> >> make >> >> >> >> >> >> Buildroot fails during gcc4.1.1 complilation >> with >> >> >> some error like: >> >> >> gcc-4.1.1/libobjc/exception.c:173: error: >> >> >> '_URC_FATAL_PHASE1_ERROR' undeclared (first >> use >> >> in >> >> >> this function) >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > >> > ------------------------------------------------------------------------- >> >> >> Take Surveys. Earn Cash. Influence the Future >> of >> >> IT >> >> >> Join SourceForge.net's Techsay panel and >> you'll >> >> get >> >> >> the chance to share your >> >> >> opinions on IT & business topics through brief >> >> >> surveys - and earn cash >> >> >> >> >> > >> >> >> > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> >> >> _______________________________________________ >> >> >> gumstix-users mailing list >> >> >> gum...@li... >> >> >> >> >> > >> >> >> > >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > ------------------------------------------------------------------------- >> >> Take Surveys. Earn Cash. Influence the Future of >> IT >> >> Join SourceForge.net's Techsay panel and you'll >> get >> >> the chance to share your >> >> opinions on IT & business topics through brief >> >> surveys - and earn cash >> >> >> > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> >> gumstix-users mailing list >> >> gum...@li... >> >> >> > >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> >> >> >> >> > ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys - and earn cash >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users >> |
From: Dave H. <dhy...@gm...> - 2006-12-15 01:51:02
|
Hi Dmitry, On 12/14/06, Dmitriy Ivashin <div...@gm...> wrote: > Ok. Probably I really have to switch to older buildroot. Which one you > can suggest ? =) I just did a successful C++ build using 1206. I did it the hard way: make defconfig make make menuconfig ... enable C++ ... rm -rf toolchain_* make You should also be able to skip the make after make defconfig (I've built it that way in the past, just happened to do the other way today). -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Dmitriy I. <div...@gm...> - 2006-12-15 02:36:26
|
You know what ? Surprisingly r1206 works!!! But I just tried r1208 half hour ago with out success with only one difference: +object compiler selected. >> Ok. Probably I really have to switch to older buildroot. Which one you >> can suggest ? =) > I just did a successful C++ build using 1206. > I did it the hard way: > make defconfig > make > make menuconfig > ... enable C++ ... > rm -rf toolchain_* > make > You should also be able to skip the make after make defconfig (I've > built it that way in the past, just happened to do the other way > today). |
From: Dmitriy I. <div...@gm...> - 2006-12-15 03:25:21
|
> Since 1207 & 1208 have nothing to do with the toolchain, my guess is > that the +object compiler is what's causing the trouble. > I've actually never tried building with the objective-c so I don't > know that it's ever worked. It's good to know. Let me ask another question regarding soft-fp. By default configuration buildroot have gcc hoption --withot-fp and option "use software floating point by default" selected. So kernel fp lib will be used ? But gcc fp much faster or it's not true anymore ? If I'm right, why its done by this way ? Some problems around ? |
From: Dave H. <dhy...@gm...> - 2006-12-15 04:34:23
|
Hi Dmitriy, > Let me ask another question regarding soft-fp. > By default configuration buildroot have gcc hoption --withot-fp and > option "use software floating point by default" selected. > So kernel fp lib will be used ? No. The arm has no HW FPU, so there are 2 FP options. 1 - let gcc generate HW FPU instructions. Even though there is no HW FPU, the kernel traps the unimplemented instructions and provides an FP emulation. 2 - let gcc use libsoft.a to perform the FP instructions in user space. This is much faster since no context switches are required. > But gcc fp much faster or it's not true anymore ? That's essentially what soft float is. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |