[Bug ada/56909] [4.8 regression] s-atopri.adb:multiple undefined references on mingw32

mail2arthur at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 14 22:09:00 GMT 2013


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

--- Comment #10 from Arthur Zhang <mail2arthur at gmail dot com> 2013-04-14 22:09:34 UTC ---
(In reply to comment #9)
> > On MinGW, GCC 4.7.x Ada built successfully with default (no -with-arch or
> > -with-tune) configure.
> > 
> > GCC 4.8.0 s-atopri.* changes breaks same configure:
> > 
> > 1. with default (no -with-arch or -with-tune):
> >   failed with five undefined reference (as the top of this ticket)
> 
> OK, I missed that, then configure with --build=i686-pc-mingw32.

Thanks for the suggestion, it built successfully too. 
However, since MinGW build has --enable-version-specific-runtime-libs, the old
v4.7.2 has lib installed to \MinGW\lib\gcc\mingw32\4.7.2 (as --build=mingw32)
but now new v4.8.0 build will install lib to ...\gcc\i686-pc-mingw32\4.8.0. For
sure we can use post-install script to move it back from i686-pc-mingw32 dir to
mingw32 dir. Is there any gcc configure switch I can set to do that too?



More information about the Gcc-bugs mailing list