This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29564] New: build of gfortran with "--disable-shared" fails
- From: "dir at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2006 14:13:51 -0000
- Subject: [Bug fortran/29564] New: build of gfortran with "--disable-shared" fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I want to build gfortran with "--disable-shared" so that I can give fortran
programs created with gfortran to people who need to use the programs, but do
not have gfortran installed. I configured with -
../gcc/configure --disable-shared --prefix=/usr/local/gfortran
--enable-languages=c,fortran
and used -
make -j 4
After about 12 minutes the build failed trying to strip shared libraries that
did not exist -
.
.
.
.
done
MLIBS=`/Users/dir/gfortran/ibin2/./gcc/xgcc -B/Users/dir/gfortran/ibin2/./gcc/
-B/usr/local/gfortran/powerpc-apple-darwin8.8.0/bin/
-B/usr/local/gfortran/powerpc-apple-darwin8.8.0/lib/ -isystem
/usr/local/gfortran/powerpc-apple-darwin8.8.0/include -isystem
/usr/local/gfortran/powerpc-apple-darwin8.8.0/sys-include --print-multi-lib \
| sed -e 's/;.*$//' -e '/^\.$/d'` ; \
for mlib in '' $MLIBS ; do \
strip -o libgcc_s.10.4.dylib_T${mlib} \
-s ../../gcc/gcc/config/rs6000/darwin-libgcc.10.4.ver -c -u \
./${mlib}/libgcc_s.1.dylib.tmp || exit 1 ; \
done
strip: can't open file: /Users/dir/gfortran/ibin2/gcc/libgcc_s.1.dylib.tmp (No
such file or directory)
make[3]: *** [libgcc_s.10.5.dylib] Error 1
make[3]: *** Waiting for unfinished jobs....
strip: can't open file: /Users/dir/gfortran/ibin2/gcc/libgcc_s.1.dylib.tmp (No
such file or directory)
make[3]: *** [libgcc_s.10.4.dylib] Error 1
rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
[dranta:~/gfortran/ibin2] dir%
--
Summary: build of gfortran with "--disable-shared" fails
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dir at lanl dot gov
GCC host triplet: Darwin 8.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29564