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

            Bug ID: 67086
           Summary: When building ghdl-0.32 the error "RE_Not_Available
                    rtsfind.adb:296" is reported.
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vicencb at gmail dot com
                CC: tgingold at free dot fr
  Target Milestone: ---
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu
             Build: x86_64-unknown-linux-gnu

Created attachment 36104
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36104&action=edit
Archive with all files needed to reproduce the bug.

When building the ghdl-0.32 branch of http://hg.code.sf.net/p/ghdl-updates/code
compilation stops with the error message below.
It is working fine with previous gcc4.

Error message:
+===========================GNAT BUG DETECTED==============================+
| 5.2.0 (x86_64-unknown-linux-gnu) RE_Not_Available rtsfind.adb:296        |
| Error detected at grt-signals.ads:70:4                                   |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact command that you entered.                              |
| Also include sources listed below.                                       |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

grt-main.adb
grt-main.ads
grt.ads
grt-types.ads
grt-errors.ads
grt-hooks.ads
grt-stacks.ads
grt-processes.ads
grt-stack2.ads
grt-signals.ads
grt-table.ads
grt-rtis.ads
grt-rtis_addr.ads
grt-stdio.ads
grt-c.ads
grt-options.ads
grt-lib.ads
grt-stats.ads
grt-disp_signals.ads
grt-disp.ads
grt-modules.ads
grt-files.ads
grt-shadow_ieee.ads
grt-images.ads
grt-values.ads
grt-names.ads

grt-signals.ads:70:04: construct not allowed in no run time mode
grt-signals.ads:70:04: entity "System.Soft_Links.Current_Master" not defined
compilation abandoned


gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc/src/gcc-5.2.0/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --disable-multilib --disable-werror
--enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.2.0 (GCC) 


uname -a
Linux ss10l 4.1.3-1-ARCH #1 SMP PREEMPT Wed Jul 22 20:37:12 CEST 2015 x86_64
GNU/Linux


lsb_release -a
LSB Version:    1.4
Distributor ID: Arch
Description:    Arch Linux
Release:        rolling
Codename:       n/a


How was gcc built:
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gcc


How to reproduce:
extract all the files in the attached archive and
gcc -c -gnatecgrt.adc grt-main.adb

Reply via email to