http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56499
Bug #: 56499
Summary: mpfr subdirectory path mismatch and misnamed files
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: [email protected]
ReportedBy: [email protected]
"configure" uses mpfr/.lib instead of mpfr/src/.lib.
There are two Solaris 10 files named *.hp instead of *.hpp
Makefile.in also has the incorrect mpfr/.lib path but it is not used.
Configuration:
gcc-4.7.2
gmp-5.1.1 inserted into gcc-4.7.2/gmp
mpc-1.0.1 inserted into gcc-4.7.2/mpc
mpfr-3.1.1 inserted into gcc-4.7.2/mpfr
Solaris 10 x86_32bit
../gcc-4.7.2/configure \
--prefix=/ned/tools/i386_solaris2 \
--enable-languages=c,c++ \
--disable-nls
Using gcc (GCC) 3.4.0 to build stage1.
References to mpfr internal structure are incorrect in configure.
4.4.3d-ategovnc 460: diff configure gcc-4.7.2/configure
5201,5203c5201,5203
< gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
< gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
< extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src
--with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
---
> gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
> gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
> extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr
--with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
The references to mpfr internal structure in Makefile.in are also incorrect,
but are not used anywhere so are harmless. mpfr/.libs => mpfr/src/.libs
@if mpfr
HOST_LIB_PATH_mpfr = \
$$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
@endif mpfr
These files appear to have an incorrect extension. These links allow gcc to
locate
them during compiltion. An "mv" might be more appropriate but I have not
tested that.
ln -s \
./gcc-4.7.2/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hp
\
./gcc-4.7.2/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
ln -s \
./gcc-4.7.2/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hp
\
./gcc-4.7.2/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp