[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Installed libstdc++.la depends on GCC build directory
From: |
Bob Friesenhahn |
Subject: |
Installed libstdc++.la depends on GCC build directory |
Date: |
Wed, 8 Sep 2004 20:57:08 -0500 (CDT) |
After installing GCC 3.4.2 today, I see that it still suffers from a
libtool bug which may upset builds unless the GCC build directory is
removed. I have reported this bug to the GCC bug tracking system:
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.
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen
- Installed libstdc++.la depends on GCC build directory,
Bob Friesenhahn <=