This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build error for sh4 using latest snapshot of gcc


On Wed, 19 Oct 2005, Dan Kegel wrote:

> Robert P. J. Day wrote:
> > > > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24445
> > > 1. Run the build and save a log file.
> > > 2. Look at the log to figure out what directory the failed command was run
> > > in
> > > 3. Look at the log to find what PATH was set to
> > > 4. Create a three-(long-)line shell script that sets the PATH,
> > >   cd's to the directory, and runs the failed command
> > > 5. Verify that this shell script reproduces the problem
> > >   It should take about one or two seconds to run
> > > 6. Modify the command by adding the -save-temps option
> > > 7. Run it again
> > > 8. Voila, you should have a strtok.i file ready to compress and upload as
> > > an
> > >   attachment to your bug!
> >
> > ok, that worked, and the corresponding strtok.i.gz file is now
> > attached to the bug report.
>
> Excellent!  Last detail: can you find the minimal command
> that reproduces the crash using the preprocessed source?
> e.g. start by verifying that
>    sh4-unknown-linux-gnu-gcc -c -O -m4 -ml -fPIC strtok.i
> causes the crash.  Then try removing options one by one
> until all you have are the set that are required to cause
> the crash.  Then append a comment to the bug report with
> that minimal command.

if you check the bug report:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24445

Andrew Pinski suggested a really new gcc might have solved the problem
but, sadly, it did not.  dang.

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]