public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/16592] New: Ada tools don't use the newly built shared libraries
@ 2004-07-16 16:07 hjl at lucon dot org
  2004-07-16 18:25 ` [Bug ada/16592] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-16 16:07 UTC (permalink / raw)
  To: gcc-bugs

Some ada tools are linked against libgcc_s.so.1:

[hjl@gnu-20 gcc]$ ldd ./gnatmake
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a9566b000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95776000)
        /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
(0x0000002a95556000)

But they are used like

../../gnatmake -c -I../rts -I. -I/net/gnu/export/gnu/src/gcc-3.4/gcc/gcc/ada
gnatchop --GCC="../../xgcc -B../../ -g      -gnatpg -gnata"

The newly built libgcc_s.so.1 is never used.

-- 
           Summary: Ada tools don't use the newly built shared libraries
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
@ 2004-07-16 18:25 ` pinskia at gcc dot gnu dot org
  2004-07-16 18:28 ` hjl at lucon dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-16 18:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-16 18:25 -------
How are you configuring gcc?

-- 


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
  2004-07-16 18:25 ` [Bug ada/16592] " pinskia at gcc dot gnu dot org
@ 2004-07-16 18:28 ` hjl at lucon dot org
  2004-07-19  4:52 ` hjl at lucon dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-16 18:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-07-16 18:28 -------
Also none of the Ada testcases run the newly built native tools with
the newly built libgcc_s.so.1.

BTW, I configured my gcc with

/net/gnu/export/gnu/src/gcc-3.4/gcc/configure \
         \
        --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld \
         \
        --enable-shared \
        --enable-threads=posix \
        --enable-haifa \
        --disable-checking \
        --prefix=/usr/gcc-3.4 \
        --with-local-prefix=/usr/local


-- 


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
  2004-07-16 18:25 ` [Bug ada/16592] " pinskia at gcc dot gnu dot org
  2004-07-16 18:28 ` hjl at lucon dot org
@ 2004-07-19  4:52 ` hjl at lucon dot org
  2004-07-19 15:35 ` hjl at lucon dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-19  4:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-07-19 04:52 -------
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01776.html

-- 


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2004-07-19  4:52 ` hjl at lucon dot org
@ 2004-07-19 15:35 ` hjl at lucon dot org
  2004-07-19 15:36 ` hjl at lucon dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-19 15:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2004-07-19 15:35 ` hjl at lucon dot org
@ 2004-07-19 15:36 ` hjl at lucon dot org
  2004-07-19 15:45 ` hjl at lucon dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-19 15:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|                            |amodra@bigpond.net.au


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (4 preceding siblings ...)
  2004-07-19 15:36 ` hjl at lucon dot org
@ 2004-07-19 15:45 ` hjl at lucon dot org
  2004-07-19 15:53 ` hjl at lucon dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-19 15:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-07-19 15:45 -------
This patch

http://gcc.gnu.org/ml/gcc-patches/2004-03/msg02214.html

causes gnat tools to be linked against libgcc_s.so with the
newer binutils. There is a thread at

http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01831.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at bigpond dot net
                   |                            |dot au
  GCC build triplet|amodra@bigpond.net.au       |


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (5 preceding siblings ...)
  2004-07-19 15:45 ` hjl at lucon dot org
@ 2004-07-19 15:53 ` hjl at lucon dot org
  2004-07-19 15:53 ` hjl at lucon dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-19 15:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hainque at act-europe dot fr


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (6 preceding siblings ...)
  2004-07-19 15:53 ` hjl at lucon dot org
@ 2004-07-19 15:53 ` hjl at lucon dot org
  2004-09-15 21:59 ` hjl at lucon dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-07-19 15:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |charlet at act-europe dot fr


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (7 preceding siblings ...)
  2004-07-19 15:53 ` hjl at lucon dot org
@ 2004-09-15 21:59 ` hjl at lucon dot org
  2005-02-10 19:08 ` cvs-commit at gcc dot gnu dot org
  2005-02-10 19:24 ` charlet at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2004-09-15 21:59 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |17464
              nThis|                            |


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (8 preceding siblings ...)
  2004-09-15 21:59 ` hjl at lucon dot org
@ 2005-02-10 19:08 ` cvs-commit at gcc dot gnu dot org
  2005-02-10 19:24 ` charlet at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-10 19:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-10 13:55 -------
Subject: Bug 16592

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	charlet@gcc.gnu.org	2005-02-10 13:55:33

Modified files:
	gcc/ada        : Makefile.in 
Added files:
	gcc/ada        : s-asthan-vms-alpha.adb 
Removed files:
	gcc/ada        : s-asthan-vms.adb 

Log message:
	* s-asthan-vms.adb: Removed.
	
	* s-asthan-vms-alpha.adb: Added.
	
	* Makefile.in [VMS] (LN,LN_S): Define as cp -p
	Rename s-asthan-vms.adb to s-asthan-vms-alpha.adb.
	[VMS]: Add translations for g-enblsp.adb.
	(LIBGNAT_SRCS): Add seh_init.c.
	(LIBGNAT_OBJS): Add seh_init.o.
	
	PR ada/16592
	
	Link all gnat tools with -static-libgcc, since
	-shared-libgcc is now used by default on some systems (e.g. linux with
	recent binutils).
	Remove references to Makefile.prolog/generic, no longer used.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/s-asthan-vms-alpha.adb.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/Makefile.in.diff?cvsroot=gcc&r1=1.109&r2=1.110
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/s-asthan-vms.adb.diff?cvsroot=gcc&r1=1.2&r2=NONE



-- 


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


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

* [Bug ada/16592] Ada tools don't use the newly built shared libraries
  2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
                   ` (9 preceding siblings ...)
  2005-02-10 19:08 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-10 19:24 ` charlet at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-02-10 19:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2005-02-10 14:02 -------
Fixed by forcing -static-libgcc when building the tools, as intended.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2005-02-10 14:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-16 16:07 [Bug ada/16592] New: Ada tools don't use the newly built shared libraries hjl at lucon dot org
2004-07-16 18:25 ` [Bug ada/16592] " pinskia at gcc dot gnu dot org
2004-07-16 18:28 ` hjl at lucon dot org
2004-07-19  4:52 ` hjl at lucon dot org
2004-07-19 15:35 ` hjl at lucon dot org
2004-07-19 15:36 ` hjl at lucon dot org
2004-07-19 15:45 ` hjl at lucon dot org
2004-07-19 15:53 ` hjl at lucon dot org
2004-07-19 15:53 ` hjl at lucon dot org
2004-09-15 21:59 ` hjl at lucon dot org
2005-02-10 19:08 ` cvs-commit at gcc dot gnu dot org
2005-02-10 19:24 ` 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).