If the Ada compiler is configured with --exec-prefix, it will fail as follows: [chrisp@lt ~]$ gcc -c -O2 -v hello.adb Using built-in specs. Target: i686-pc-linux-gnu Configured with: /usr/src/gcc/configure --prefix=/opt/test --exec-prefix=/opt/test/i86 --enable-shared --enable-threads=posix --enable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,ada --enable-libada Thread model: posix gcc version 4.4.0 20081030 (experimental) [trunk revision 141459] (GCC) COLLECT_GCC_OPTIONS='-c' '-O2' '-v' '-mtune=generic' /opt/test/i86/libexec/gcc/i686-pc-linux-gnu/4.4.0/gnat1 -quiet -dumpbase hello.adb -O2 -mtune=generic hello.adb -o /tmp/ccNCLjVf.s fatal error, run-time library not installed correctly cannot locate file system.ads compilation abandoned
Created attachment 16892 [details] patch to correct problem Attached is a patch which corrects this problem. I think this is fairly obvious and trivial, however I do not have write access. This is a regression, but looking at sources this would be from around the 3.4 time.
*** Bug 43749 has been marked as a duplicate of this bug. ***
Still present on mainline.
. *** This bug has been marked as a duplicate of bug 15819 ***