Package: gnat-6-arm-linux-gnueabihf
Version: 6.3.0-18cross1

When I invoke `arm-linux-gnueabihf-gnat make hello.adb`, I
get the following output:

# arm-linux-gnueabihf-gnat make hello.adb
arm-linux-gnueabihf-gnatbind-6 -x hello.ali
arm-linux-gnueabihf-gnatlink-6 hello.ali
arm-linux-gnueabihf-gnatlink-6: Couldn't locate arm-linux-gnueabihf-gcc-6-6
arm-linux-gnueabihf-gnatmake: *** link failed.

I would instead expect this to produce an excutable instead
of erroring. `hello.adb` is a basic "hello world":

with Ada.Text_IO;
procedure Hello is
    Ada.Text_IO.Put_Line("Hello, world!");
end Hello;

I'm not sure how to fix this. I would expect that some
changes to the build script are required so that gnat uses
"arm-linux-gnueabihf-gcc" instead of


Additionally, there is another bug where
gnat-6-arm-linux-gnueabihf does not depend on libgnat-6,
despite libgnat-6 being required on the host:

# ldd /usr/bin/arm-linux-gnueabihf-gnat (0x00007ffc0daeb000) => /usr/lib/x86_64-linux-gnu/ 
(0x00007fe17ae5b000) => /usr/lib/x86_64-linux-gnu/ 
(0x00007fe17a8d0000) => /lib/x86_64-linux-gnu/ (0x00007fe17a531000) => /lib/x86_64-linux-gnu/ (0x00007fe17a22d000)
        /lib64/ (0x00007fe17b1dd000) => /lib/x86_64-linux-gnu/ 
(0x00007fe17a016000) => /lib/x86_64-linux-gnu/ (0x00007fe179e12000)

Before installing the libgnat-6 package,
arm-linux-gnueabihf-gnat would refuse to run.

I am using Debian Stretch inside Docker, with all updates
applied. libc v2.24-11+deb9u3.

Reply via email to