public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/38493]  New: Ada compiler does not work with --exec-prefix configuration
@ 2008-12-11 22:19 chrisp_42 at bigpond dot com
  2008-12-11 22:23 ` [Bug ada/38493] " chrisp_42 at bigpond dot com
  2010-04-15 12:54 ` dougsemler at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: chrisp_42 at bigpond dot com @ 2008-12-11 22:19 UTC (permalink / raw)
  To: gcc-bugs

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


-- 
           Summary: Ada compiler does not work with --exec-prefix
                    configuration
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chrisp_42 at bigpond dot com
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38493


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/38493] Ada compiler does not work with --exec-prefix configuration
  2008-12-11 22:19 [Bug ada/38493] New: Ada compiler does not work with --exec-prefix configuration chrisp_42 at bigpond dot com
@ 2008-12-11 22:23 ` chrisp_42 at bigpond dot com
  2010-04-15 12:54 ` dougsemler at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: chrisp_42 at bigpond dot com @ 2008-12-11 22:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from chrisp_42 at bigpond dot com  2008-12-11 22:22 -------
Created an attachment (id=16892)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16892&action=view)
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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38493


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/38493] Ada compiler does not work with --exec-prefix configuration
  2008-12-11 22:19 [Bug ada/38493] New: Ada compiler does not work with --exec-prefix configuration chrisp_42 at bigpond dot com
  2008-12-11 22:23 ` [Bug ada/38493] " chrisp_42 at bigpond dot com
@ 2010-04-15 12:54 ` dougsemler at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dougsemler at gmail dot com @ 2010-04-15 12:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dougsemler at gmail dot com  2010-04-15 12:53 -------
*** Bug 43749 has been marked as a duplicate of this bug. ***


-- 

dougsemler at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dougsemler at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38493


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-15 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 22:19 [Bug ada/38493] New: Ada compiler does not work with --exec-prefix configuration chrisp_42 at bigpond dot com
2008-12-11 22:23 ` [Bug ada/38493] " chrisp_42 at bigpond dot com
2010-04-15 12:54 ` dougsemler at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).