[Bug ada/80921] New: Cross compiling for mingw32 target fails to build Ada shared libraries

keith.marshall at mailinator dot com gcc-bugzilla@gcc.gnu.org
Tue May 30 20:59:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921

            Bug ID: 80921
           Summary: Cross compiling for mingw32 target fails to build Ada
                    shared libraries
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: keith.marshall at mailinator dot com
  Target Milestone: ---

Working on a GNU/Linux host, my goal is to deliver a crossed-native GCC build
for deployment on MS-Windows32 hosts.  Currently focussing on GCC-6.3.0, I
have:

1) Bootstrapped and installed native Ada-enabled GCC-6.3.0, for the GNU/Linux
host.

2) With (1) at start of $PATH, built and installed GNU/Linux hosted GCC-6.3.0
cross-comiler suite for the mingw32 target.

3) With (1) still at the start of $PATH, followed by (2), built and installed
(into a local staging directory) GCC-6.3.0 suite for host = target = mingw32.

All seems fine, except that libgnarl-6.dll, libgnarl.dll.a, libgnat-6.dll, and
libgnat.dll.a are nowhere to be found, either in my build tree, or in my staged
installation tree.  A colleague, building natively on MS-Windows (a process
which takes approximately six times longer that my cross-hosted build), with
the same configuration, (except for the necessary build/host/target
differences), confirms that these shared libraries and import libraries are
created by his build.

What might I be missing, to get these components delivered by the
crossed-native build?  I've observed the same omission from previous GCC-4.9.3
and GCC-5.3.0 crossed-native builds, and I like to see a resolution before I
progress to any attempt to build GCC-7.x


More information about the Gcc-bugs mailing list