public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/17366] New: Installed libstdc++.la depends on GCC build directory
@ 2004-09-09  1:55 bfriesen at simple dot dallas dot tx dot us
  2004-09-09  2:32 ` [Bug libstdc++/17366] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: bfriesen at simple dot dallas dot tx dot us @ 2004-09-09  1:55 UTC (permalink / raw)
  To: gcc-bugs

The installed libstdc++.la file includes:

# Libraries that this one depends upon.
dependency_libs='
-L/scratch/bfriesen/build/gcc-3.4.2/sparc-sun-solaris2.9/libstdc++-v3/src
-L/scratch/bfriesen/build/gcc-3.4
.2/sparc-sun-solaris2.9/libstdc++-v3/src/.libs -lm -lm -lm
-L/scratch/bfriesen/build/gcc-3.4.2/gcc -L/usr/ccs/bin -L/usr/ccs/
lib -L/usr/local/lib/gcc/sparc-sun-solaris2.9/../.. -lgcc_s -lgcc_s -lm -lgcc_s
-lgcc_s'

Notice that there are references to the GCC build directory.  This bug has
existed since GCC incorporated libtool in its build.

The result of this is that packages built using libtool fail to link with an
error similar to:

ld: fatal: recording name conflict: file
`/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/libstdc++.so' and file
`/scratch/bfriesen/build/gcc-3.4.2/sparc-sun-solaris2.9/libstdc++-v3/src/.libs/libstdc++.so'
provide identical dependency names: libstdc++.so.6  (possible multiple inclusion
of the same file)

(if you are lucky) unless either libstdc++.la is edited to remove the error, or
the GCC build directory is removed.

-- 
           Summary: Installed libstdc++.la depends on GCC build directory
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bfriesen at simple dot dallas dot tx dot us
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.9
  GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9


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


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

* [Bug libstdc++/17366] Installed libstdc++.la depends on GCC build directory
  2004-09-09  1:55 [Bug libstdc++/17366] New: Installed libstdc++.la depends on GCC build directory bfriesen at simple dot dallas dot tx dot us
@ 2004-09-09  2:32 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-09  2:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-09 02:32 -------


*** This bug has been marked as a duplicate of 5291 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-09-09  2:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09  1:55 [Bug libstdc++/17366] New: Installed libstdc++.la depends on GCC build directory bfriesen at simple dot dallas dot tx dot us
2004-09-09  2:32 ` [Bug libstdc++/17366] " pinskia 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).