public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken
@ 2005-01-19  8:37 ebotcazou at gcc dot gnu dot org
  2005-01-19  8:47 ` [Bug other/19525] " ebotcazou at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-19  8:37 UTC (permalink / raw)
  To: gcc-bugs

The new flat layout of the multilibed libgcc_s shared library in the build tree
has broken in-tree multilib testing on IRIX and Solaris because there are now
multiple shared objects with the same soname in the same directory.

Richard Sandiford's analysis for IRIX and plausible kludge:
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00437.html

The same analysis holds for SPARC/Solaris with the 32-bit compiler:

lrwxrwxrwx       13 Jan 19 01:13 libgcc_s.so -> libgcc_s.so.1
-rwxrwxr-x   138743 Jan 19 01:13 libgcc_s.so.1
-rwxrwxr-x   138743 Jan 19 01:12 libgcc_s.so.1.backup
lrwxrwxrwx       13 Jan 19 01:13 libgcc_s_sparcv9.so -> libgcc_s_sparcv9.so.1
-rwxrwxr-x   196553 Jan 19 01:13 libgcc_s_sparcv9.so.1
-rwxrwxr-x   196553 Jan 19 01:12 libgcc_s_sparcv9.so.1.backup

and the 64-bit compiler:

lrwxrwxrwx       13 Jan 19 01:10 libgcc_s.so -> libgcc_s.so.1
-rwxrwxr-x   262624 Jan 19 01:10 libgcc_s.so.1
-rwxrwxr-x   262624 Jan 19 01:09 libgcc_s.so.1.backup
lrwxrwxrwx       21 Jan 19 01:10 libgcc_s_sparcv7.so -> libgcc_s_sparcv7.so.1
-rwxrwxr-x   191368 Jan 19 01:10 libgcc_s_sparcv7.so.1
-rwxrwxr-x   191368 Jan 19 01:10 libgcc_s_sparcv7.so.1.backup

-- 
           Summary: [4.0 Regression] In-build-tree multilib testing broken
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: *-*-irix* *-*-solaris*


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


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

* [Bug other/19525] [4.0 Regression] In-build-tree multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
@ 2005-01-19  8:47 ` ebotcazou at gcc dot gnu dot org
  2005-01-19  9:56 ` rsandifo at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-19  8:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at redhat dot com,
                   |                            |zack at codesourcery dot com


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


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

* [Bug other/19525] [4.0 Regression] In-build-tree multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
  2005-01-19  8:47 ` [Bug other/19525] " ebotcazou at gcc dot gnu dot org
@ 2005-01-19  9:56 ` rsandifo at gcc dot gnu dot org
  2005-01-19 10:13 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-01-19  9:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at gcc dot gnu dot org  2005-01-19 09:55 -------
At the risk of stating the obvious, I think this is wider than just
Solaris and IRIX.  Build-directory testing is broken for similarly-
organised *-linux-gnu configurations too.  I think it's less likely
to be noticed there because gcc is the system compiler, and so it's
highly likely that the standard library directories will contain a
version of libgcc.so.1.  In those circumstances, executables that
use the non-default multilibs will usually load OK, but they'll be
using the system libgcc.so.1, not the newly-built libgcc.  This
kind-of invalidates the results.

I see this on mips64-linux-gnu, for example.  Test results for the
non-default multilibs are great, but they're using the system DSO
(which is from gcc 3.4, as it happens), not the newly-built one.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|*-*-irix* *-*-solaris*      |*-*-irix* *-*-solaris*
                   |                            |mips64*-linux-gnu


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


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

* [Bug other/19525] [4.0 Regression] In-build-tree multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
  2005-01-19  8:47 ` [Bug other/19525] " ebotcazou at gcc dot gnu dot org
  2005-01-19  9:56 ` rsandifo at gcc dot gnu dot org
@ 2005-01-19 10:13 ` ebotcazou at gcc dot gnu dot org
  2005-01-19 13:44 ` [Bug other/19525] [4.0 Regression] In-build-directory " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-19 10:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-19 10:13 -------
Confirmed by Richard.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-19 10:13:26
               date|                            |


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


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

* [Bug other/19525] [4.0 Regression] In-build-directory multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-19 10:13 ` ebotcazou at gcc dot gnu dot org
@ 2005-01-19 13:44 ` pinskia at gcc dot gnu dot org
  2005-02-06 10:20 ` aj@gcc.gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-19 13:44 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
   Target Milestone|---                         |4.0.0


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


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

* [Bug other/19525] [4.0 Regression] In-build-directory multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-01-19 13:44 ` [Bug other/19525] [4.0 Regression] In-build-directory " pinskia at gcc dot gnu dot org
@ 2005-02-06 10:20 ` aj@gcc.gnu.org
  2005-02-09  9:29 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aj@gcc.gnu.org @ 2005-02-06 10:20 UTC (permalink / raw)
  To: gcc-bugs

------- Additional Comments From aj at gcc dot gnu dot org  2005-02-06 10:27 -------
See also http://gcc.gnu.org/ml/gcc/2004-12/msg01142.html 
 
This appears also on x86-64. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aj at gcc dot gnu dot org


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


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

* [Bug other/19525] [4.0 Regression] In-build-directory multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-02-06 10:20 ` aj@gcc.gnu.org
@ 2005-02-09  9:29 ` mmitchel at gcc dot gnu dot org
  2005-02-10 22:23 ` rsandifo at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-02-09  9:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-02-09 02:51 -------
See this thread: 

  http://gcc.gnu.org/ml/gcc/2005-02/msg00264.html

including this clarification of the proposed direction:

  http://gcc.gnu.org/ml/gcc/2005-02/msg00273.html

-- 


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


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

* [Bug other/19525] [4.0 Regression] In-build-directory multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-02-09  9:29 ` mmitchel at gcc dot gnu dot org
@ 2005-02-10 22:23 ` rsandifo at gcc dot gnu dot org
  2005-02-14  9:58 ` rsandifo at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-02-10 22:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at gcc dot gnu dot org  2005-02-10 19:08 -------
Hope to look at this over the weekend.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rsandifo at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-01-19 10:13:26         |2005-02-10 19:08:02
               date|                            |


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


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

* [Bug other/19525] [4.0 Regression] In-build-directory multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-02-10 22:23 ` rsandifo at gcc dot gnu dot org
@ 2005-02-14  9:58 ` rsandifo at gcc dot gnu dot org
  2005-02-19 18:29 ` cvs-commit at gcc dot gnu dot org
  2005-02-19 18:29 ` rsandifo at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-02-14  9:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at gcc dot gnu dot org  2005-02-13 20:56 -------
Patch posted here:

    http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00653.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug other/19525] [4.0 Regression] In-build-directory multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-02-19 18:29 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-19 18:29 ` rsandifo at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2005-02-19 18:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at gcc dot gnu dot org  2005-02-19 11:47 -------
Patch applied.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug other/19525] [4.0 Regression] In-build-directory multilib testing broken
  2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-02-14  9:58 ` rsandifo at gcc dot gnu dot org
@ 2005-02-19 18:29 ` cvs-commit at gcc dot gnu dot org
  2005-02-19 18:29 ` rsandifo at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-19 18:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-19 11:44 -------
Subject: Bug 19525

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rsandifo@gcc.gnu.org	2005-02-19 11:44:11

Modified files:
	gcc            : ChangeLog gcc.c mklibgcc.in 
	gcc/doc        : invoke.texi 
	gcc/config     : t-libunwind-elf t-slibgcc-darwin 
	                 t-slibgcc-elf-ver t-slibgcc-sld 
	gcc/config/i386: t-nwld 
	gcc/config/ia64: t-hpux 
	gcc/config/mips: t-slibgcc-irix 
	gcc/config/pa  : t-hpux-shlib 
	gcc/config/rs6000: t-aix43 t-aix52 
	gcc/config/sh  : t-linux 

Log message:
	PR other/19525
	* doc/invoke.texi: Remove documentation of %M spec.
	* gcc.c: Likewise.
	(init_spec): Remove %M suffix from -lgcc_s.
	(do_spec_1): Remove 'M' case.
	* mklibgcc.in: Remove SHLIB_MULTILIB handling.  Expect SHLIB_LINK
	to put shared libraries in the multilib directory.  Remove the
	shlib_so_soname substitution variable.  Don't add a multilib encoding
	to shlib_base_name.  Set shlib_slibdir_qual to the full pathname
	reported by -print-multi-os-directory.  Pass @multilib_dir@ to
	SHLIB_INSTALL as well as SHLIB_LINK.
	* config/t-slibgcc-elf-ver (SHLIB_SONAME): Use @shlib_base_name@.
	(SHLIB_NAME): Delete.
	(SHLIB_DIR): New macro.
	(SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_SOLINK) in $(SHLIB_DIR).
	(SHLIB_INSTALL): Adjust accordingly.
	* config/t-slibgcc-darwin: As for t-slibgcc-elf-ver.
	* config/t-slibgcc-sld: Likewise.
	* config/t-libunwind-elf (SHLIBUNWIND_NAME): Delete.
	(SHLIBUNWIND_SONAME): Use @shlib_base_name@.
	(SHLIBUNWIND_LINK): Put $(SHLIBUNWIND_SONAME) and $(SHLIB_SOLINK)
	in $(SHLIB_DIR).
	(SHLIBUNWIND_INSTALL): Adjust accordingly.
	* config/i386/t-nwld (SHLIB_SONAME): Delete.
	(SHLIB_LINK, SHLIB_INSTALL): Use SHLIB_NAME instead of SHLIB_SONAME.
	Use @shlib_base_name@ instead of @shlib_so_name@.
	* config/ia64/t-hpux (SHLIB_LINK): Put @shlib_base_name@.so.0
	and @shlib_base_name@.so in @multilib_dir@.
	(SHLIB_INSTALL): Adjust accordingly.  Add @shlib_slibdir_qual@
	to the install path.
	* config/mips/t-slibgcc-irix: As for t-slibgcc-elf-ver.
	(SHLIB_LINK): Remove previous workaround.
	* config/pa/t-hpux-shlib (SHLIB_DIR, SHLIB_SLIBDIR_QUAL): New macros.
	(SHLIB_LINK): Put $(SHLIB_SONAME) and $(SHLIB_NAME) in $(SHLIB_DIR).
	(SHLIB_INSTALL): Adjust accordingly.  Add $(SHLIB_SLIBDIR_QUAL) to
	the install path.
	* config/rs6000/t-aix43 (SHLIB_LINK): Put @shlib_base_name@.a in
	@multilib_dir@.  Use @multilib_dir@ to check for threading libraries.
	(SHLIB_INSTALL): Adjust accordingly.
	(SHLIB_LIBS): Use @multilib_dir@ to check for threading libraries.
	* config/rs6000/t-aix52: As for config/rs6000/t-aix43.
	* config/sh/t-linux (SHLIB_LINK, SHLIB_INSTALL): As for
	config/t-slibgcc-elf-ver.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7536&r2=2.7537
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcc.c.diff?cvsroot=gcc&r1=1.446&r2=1.447
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/mklibgcc.in.diff?cvsroot=gcc&r1=1.83&r2=1.84
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&r1=1.580&r2=1.581
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-libunwind-elf.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-darwin.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-elf-ver.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/t-slibgcc-sld.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/t-nwld.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/t-hpux.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/mips/t-slibgcc-irix.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/t-hpux-shlib.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix43.diff?cvsroot=gcc&r1=1.24&r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix52.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sh/t-linux.diff?cvsroot=gcc&r1=1.16&r2=1.17



-- 


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


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

end of thread, other threads:[~2005-02-19 11:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-19  8:37 [Bug other/19525] New: [4.0 Regression] In-build-tree multilib testing broken ebotcazou at gcc dot gnu dot org
2005-01-19  8:47 ` [Bug other/19525] " ebotcazou at gcc dot gnu dot org
2005-01-19  9:56 ` rsandifo at gcc dot gnu dot org
2005-01-19 10:13 ` ebotcazou at gcc dot gnu dot org
2005-01-19 13:44 ` [Bug other/19525] [4.0 Regression] In-build-directory " pinskia at gcc dot gnu dot org
2005-02-06 10:20 ` aj@gcc.gnu.org
2005-02-09  9:29 ` mmitchel at gcc dot gnu dot org
2005-02-10 22:23 ` rsandifo at gcc dot gnu dot org
2005-02-14  9:58 ` rsandifo at gcc dot gnu dot org
2005-02-19 18:29 ` cvs-commit at gcc dot gnu dot org
2005-02-19 18:29 ` rsandifo 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).