I just changed it for the source files that caused the compiler to segfault (not the whole buildroot) -- and I've seen this on both cross and native compilation so I don't think that it is particular to native vs cross.

Steve

On 12/31/06, Jim Kaubisch <jimkaubisch@yahoo.com> wrote:

Steve,

On reflection, I'd like to poke a bit deeper. All of th buildroot was,
of course, produced with (cross compiling) gcc. When you say that you
have to reduce optimization, do you mean you went back and changed it
for buildroot generation, or just for those thing you compile natively
on the gumstix?

Thanks - Jim

--- Steve Sakoman <sakoman@gmail.com> wrote:

> Jim,
>
> I've run into this problem with other packages and it seems to be gcc
> related.  In most cases I've been able to get a successful build by
> using a
> reduced compiler optimization level, in some cases only -O0 will do
> the
> trick.
>
> I suppose another approach would be to update to the latest buildroot
> to see
> if the switch to the new compiler fixes the issue.
>
> Steve
>
> On 12/30/06, Jim Kaubisch <jimkaubisch@yahoo.com> wrote:
> >
> >
> > I'm beginning to get discouraged. The more (python related) things
> I
> > try to build or run, the more frequently I get  segmentation
> faults. I
> > can't establish a real pattern of where or when. It seems almost
> random
> > - except that failures are repeatable. Has anyone else had similar
> > problems? I know this isn't a very specific question but I have
> nothing
> > more specific. Below is the most recent example :-( One thing I'm
> > wondering about is whether I'm running out of memory. It seems
> > unlikely, but how do I see how much free memory there is on the
> > gumstix?
> >
> > I'm using buildroot 1092 configured with an NFS rootfs.
> >
> > Thanks, Jim
> > --------
> > building 'zope.interface._zope_interface_coptimizations' extension
> > creating build/temp.linux-armv5tel-2.4
> > creating build/temp.linux-armv5tel-2.4/Dependencies
> > creating
> > build/temp.linux-armv5tel-2.4/Dependencies/zope.interface-
> > ZopeInterface-3.1.0c1
> > creating
> > build/temp.linux-armv5tel-2.4/Dependencies/zope.interface-
> > ZopeInterface-3.1.0c1/zope.interface
> > /usr/bin/gcc -DNDEBUG -Os -pipe -Os -march=armv5te -mtune=xscale
> > -Wa,-mcpu=xscale -fPIC
> >
>
-IDependencies/zope.interface-ZopeInterface-3.1.0c1 /zope.ino/usr/bin/gcc
> > -shared
> > build/temp.linux-armv5tel-2.4/Dependencies/zope.interface-
> > ZopeInterface-3.1.0c1
> > /zope.interface/_zope_interface_coptimizations.oSegmentation
> > fault
> > #
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
>
-------------------------------------------------------------------------
> > 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
> > gumstix-users@lists.sourceforge.net
> > 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
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
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
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users