public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/12950] New: Ada runtime is not relocatable
@ 2003-11-07 21:41 gcc-bugzilla at gcc dot gnu dot org
2003-11-08 8:05 ` [Bug ada/12950] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-11-07 21:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12950
Summary: Ada runtime is not relocatable
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
Unlike all other backends, the Ada runtime is not relocatable. E.g., the
Ada version below was built with the default prefix (i.e. /usr/local), but
installed with DESTDIR=/vol/gcc/obj/gnat/3.4/6.5-local. Invoking the
resulting gcc directly fails since the runtime isn't found.
Environment:
System: IRIX lyra 6.5 07141607 IP22
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /vol/gnu/src/gcc/gcc-ada/gcc/configure --disable-nls --disable-multilib
How-To-Repeat:
$ cat > conftest.adb
procedure conftest is begin null; end conftest;
$ /vol/gcc/obj/gnat/3.4/6.5-local/usr/local/bin/gcc -v -c conftest.adb
Reading specs from /amnt/figaro/volumes/obj-gcc/gcc/obj.irix5/gnat/3.4/6.5-local/usr/local/bin/../lib/gcc/mips-sgi-irix6.5/3.4/specs
Configured with: /vol/gnu/src/gcc/gcc-ada/gcc/configure --disable-nls --disable-multilib
Thread model: single
gcc version 3.4 20031105 (experimental)
/amnt/figaro/volumes/obj-gcc/gcc/obj.irix5/gnat/3.4/6.5-local/usr/local/bin/../libexec/gcc/mips-sgi-irix6.5/3.4/gnat1 -quiet -dumpbase conftest.adb conftest.adb -o /var/tmp//ccjYv3hb.s
fatal error, run-time library not installed correctly
cannot locate file system.ads
compilation abandoned
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2003-11-07 21:41 -------
Fix:
Although it is possible to work around this using the GNAT_ROOT environment
variable or the .gnat_wrapper shell script distributed with ACT's binay
distributions of GNAT, Ada should behave like all other backends and
support relocation out of the box.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/12950] Ada runtime is not relocatable
2003-11-07 21:41 [Bug ada/12950] New: Ada runtime is not relocatable gcc-bugzilla at gcc dot gnu dot org
@ 2003-11-08 8:05 ` pinskia at gcc dot gnu dot org
2003-11-10 9:43 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-08 8:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-08 08:05 -------
The Ada frontend should be using make_relative_prefix in addition to update_path.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-11-08 08:05:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12950
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/12950] Ada runtime is not relocatable
2003-11-07 21:41 [Bug ada/12950] New: Ada runtime is not relocatable gcc-bugzilla at gcc dot gnu dot org
2003-11-08 8:05 ` [Bug ada/12950] " pinskia at gcc dot gnu dot org
@ 2003-11-10 9:43 ` cvs-commit at gcc dot gnu dot org
2003-11-10 9:47 ` charlet at gcc dot gnu dot org
2003-11-10 9:50 ` charlet at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-10 9:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-11-10 09:43 -------
Subject: Bug 12950
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: charlet@gcc.gnu.org 2003-11-10 09:42:58
Modified files:
gcc/ada : Make-lang.in osint.adb osint.ads ChangeLog
Log message:
PR 12950
* osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
functions. Used to handle dynamic prefix relocation, via set_std_prefix.
Replace GNAT_ROOT by GCC_ROOT.
* Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/Make-lang.in.diff?cvsroot=gcc&r1=1.49&r2=1.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/osint.adb.diff?cvsroot=gcc&r1=1.12&r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/osint.ads.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gcc&r1=1.375&r2=1.376
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12950
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/12950] Ada runtime is not relocatable
2003-11-07 21:41 [Bug ada/12950] New: Ada runtime is not relocatable gcc-bugzilla at gcc dot gnu dot org
2003-11-08 8:05 ` [Bug ada/12950] " pinskia at gcc dot gnu dot org
2003-11-10 9:43 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-10 9:47 ` charlet at gcc dot gnu dot org
2003-11-10 9:50 ` charlet at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-11-10 9:47 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |charlet at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12950
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/12950] Ada runtime is not relocatable
2003-11-07 21:41 [Bug ada/12950] New: Ada runtime is not relocatable gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2003-11-10 9:47 ` charlet at gcc dot gnu dot org
@ 2003-11-10 9:50 ` charlet at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-11-10 9:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2003-11-10 09:50 -------
This is now implemented.
Arno
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12950
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-11-10 9:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-07 21:41 [Bug ada/12950] New: Ada runtime is not relocatable gcc-bugzilla at gcc dot gnu dot org
2003-11-08 8:05 ` [Bug ada/12950] " pinskia at gcc dot gnu dot org
2003-11-10 9:43 ` cvs-commit at gcc dot gnu dot org
2003-11-10 9:47 ` charlet at gcc dot gnu dot org
2003-11-10 9:50 ` charlet at gcc dot gnu dot org
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).