[oe-commits] [Bug 5332] building ncurses triggers an internal compiler error

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Fri Jan 8 19:39:17 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=5332


Khem Raj <raj.khem at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raj.khem at gmail.com




--- Comment #8 from Khem Raj <raj.khem at gmail.com>  2010-01-08 19:39:17 ---
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > Ok, found what triggers it.
> > > 
> > > It's:
> > > DEBUG_BUILD = "1"
> > > 
> > > Can anyone replicate the issue with this set?
> > > 
> > > At least I can now build by commenting that line.
> > > Importance changed to normal.
> > > 
> > > Regards,
> > >    Antonio
> > 
> > 
> > DEBUG_BUILD = "1" lowers the opt level and hence the bug does not trigger.
> 
> Well, in my case enabling DEBUG_BUILD is what indeed triggers it.
> 
> > Can you provide preprocessed file from lib_pad.c ?
> > this will help to further debug the issue.
> 
> I'd be glad to provide it, how can I preprocess lib_pad.c with the $CROSScpp
> letting OE take care of all include paths?

Go into the build directory for ncurses and open log.do_compile file from temp
search for lib_pad.c compilation commandline. 

Copy this and add -E to it. and execute it on shell you have to add the
toolchain to your path before. The output will go into the .o file which is
preprocessed file. Now you can copy lib_pad.o to lib_pad.i and compress it 
and attach that to bug.

> 
> Regards,
>    Antonio

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list