[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#860937: GCC major version doubled in gnatlink call



Package: gnat-6-powerpc64-linux-gnu
Version: 6.3.0-12cross1
Severity: normal

Hi,

while cross-compiling the Ada portion of libspe2:

powerpc64-linux-gnu-gnatmake -g testsingle.adb
powerpc64-linux-gnu-gnatbind-6 -x testsingle.ali
powerpc64-linux-gnu-gnatlink-6 testsingle.ali -g
powerpc64-linux-gnu-gnatlink-6: Couldn't locate powerpc64-linux-gnu-gcc-6-6
powerpc64-linux-gnu-gnatmake: *** link failed.

It seems gnatmake appends the gcc major version to the gnatbind and
gnatlink calls, and gnatlink does the same when calling gcc internally,
leading to an error.

Manually calling gnatlink with the version gives the same error, and
calling it without a version succeeds.

   Simon

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnat-6-powerpc64-linux-gnu depends on:
ii  gcc-6-powerpc64-linux-gnu       6.3.0-12cross1
ii  gcc-6-powerpc64-linux-gnu-base  6.3.0-12cross1
ii  libc6                           2.24-9
ii  libc6-dev-ppc64-cross           2.24-9cross3
ii  libgmp10                        2:6.1.2+dfsg-1
ii  libgnat-6                       6.3.0-12
ii  libgnat-6-ppc64-cross           6.3.0-12cross1
ii  libisl15                        0.18-1
ii  libmpc3                         1.0.3-1+b2
ii  libmpfr4                        3.1.5-1
ii  libstdc++6                      6.3.0-12
ii  zlib1g                          1:1.2.8.dfsg-5

gnat-6-powerpc64-linux-gnu recommends no packages.

Versions of packages gnat-6-powerpc64-linux-gnu suggests:
pn  ada-reference-manual-2012  <none>
pn  gnat-6-doc                 <none>
pn  gnat-6-sjlj                <none>

-- no debconf information


Reply to: