This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem with continue/halt
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Freddie Chopin <freddie_chopin at op dot pl>
- Cc: gdb at sourceware dot org
- Date: Thu, 26 Jun 2014 19:22:49 +0300
- Subject: Re: Problem with continue/halt
- Authentication-results: sourceware.org; auth=none
- References: <53A52B93 dot 9030204 at op dot pl> <53ABDD67 dot 1020900 at op dot pl> <83bntfpuct dot fsf at gnu dot org> <53AC3E90 dot 5090500 at op dot pl>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 26 Jun 2014 17:38:56 +0200
> From: Freddie Chopin <freddie_chopin@op.pl>
>
> W dniu 2014-06-26 17:24, Eli Zaretskii pisze:
> > Are you per chance compiling with LTO? If so, don't.
>
> I'm using the same command as the one which worked fine previously:
>
> > $SRCDIR/$BINUTILS_GDB/configure --build=$BUILD \
> > --host=$HOST_MINGW \
> > --target=$TARGET \
> > --prefix=$INSTALLDIR_MINGW \
> > --infodir=$INSTALLDIR_MINGW_DOC/info \
> > --mandir=$INSTALLDIR_MINGW_DOC/man \
> > --htmldir=$INSTALLDIR_MINGW_DOC/html \
> > --pdfdir=$INSTALLDIR_MINGW_DOC/pdf \
> > --disable-nls \
> > --enable-plugins \
> > --with-sysroot=$INSTALLDIR_MINGW/arm-none-eabi \
> > --disable-sim \
> > --with-python=no \
> > --with-lzma=no \
> > --with-libexpat=$BUILDDIR_MINGW/host-libs/usr \
> > --with-libiconv-prefix=$BUILDDIR_MINGW/host-libs/usr \
> > --with-system-gdbinit=$INSTALLDIR_MINGW/$HOST_MINGW/arm-none-eabi/lib/gdbinit \
> > '--with-gdb-datadir='\''${prefix}'\''/arm-none-eabi/share/gdb' \
> > "--with-pkgversion=$PKGVERSION"
> >
> > make -j$JOBS
>
> So I'm not enabling LTO explicitly, maybe that's enabled by default somehow?
If you add -v to the GCC command line, it will show you what it is
doing.
> BTW - do you mean LTO is the cause for the continue/halt problem or the
> issue of building older versions?
The former, I think.