public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/56499] New: mpfr subdirectory path mismatch and misnamed files
@ 2013-03-01 17:20 gary.barnes at atego dot com
  2013-03-01 17:23 ` [Bug bootstrap/56499] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gary.barnes at atego dot com @ 2013-03-01 17:20 UTC (permalink / raw)
  To: gcc-bugs


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: unassigned@gcc.gnu.org
        ReportedBy: gary.barnes@atego.com


"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


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

* [Bug bootstrap/56499] mpfr subdirectory path mismatch and misnamed files
  2013-03-01 17:20 [Bug bootstrap/56499] New: mpfr subdirectory path mismatch and misnamed files gary.barnes at atego dot com
@ 2013-03-01 17:23 ` pinskia at gcc dot gnu.org
  2013-03-01 17:29 ` gary.barnes at atego dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-03-01 17:23 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-01 17:23:02 UTC ---
>There are two Solaris 10 files named *.hp instead of *.hpp

Use gnu tar to extract the tar file otherwise you get the truncated names.


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

* [Bug bootstrap/56499] mpfr subdirectory path mismatch and misnamed files
  2013-03-01 17:20 [Bug bootstrap/56499] New: mpfr subdirectory path mismatch and misnamed files gary.barnes at atego dot com
  2013-03-01 17:23 ` [Bug bootstrap/56499] " pinskia at gcc dot gnu.org
@ 2013-03-01 17:29 ` gary.barnes at atego dot com
  2013-03-01 18:17 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: gary.barnes at atego dot com @ 2013-03-01 17:29 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Gary Barnes <gary.barnes at atego dot com> 2013-03-01 17:29:26 UTC ---
I did use gnu tar.  Those are the only two files with incorrect names.

    Gary

-----Original Message-----
From: pinskia at gcc dot gnu.org [mailto:gcc-bugzilla@gcc.gnu.org] 
Sent: Friday, March 01, 2013 9:23 AM
To: Gary Barnes
Subject: [Bug bootstrap/56499] mpfr subdirectory path mismatch and misnamed
files


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-01
17:23:02 UTC ---
>There are two Solaris 10 files named *.hp instead of *.hpp

Use gnu tar to extract the tar file otherwise you get the truncated names.

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: ------- You reported the bug.


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

* [Bug bootstrap/56499] mpfr subdirectory path mismatch and misnamed files
  2013-03-01 17:20 [Bug bootstrap/56499] New: mpfr subdirectory path mismatch and misnamed files gary.barnes at atego dot com
  2013-03-01 17:23 ` [Bug bootstrap/56499] " pinskia at gcc dot gnu.org
  2013-03-01 17:29 ` gary.barnes at atego dot com
@ 2013-03-01 18:17 ` redi at gcc dot gnu.org
  2013-03-01 18:37 ` gary.barnes at atego dot com
  2013-03-01 19:21 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-01 18:17 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-01 18:17:35 UTC ---
There's nothing wrong with the tarball, it works for everyone else, so either
your copy is corrupted and you need to download it again or you didn't use a
recent version of GNU tar to unpack it.  This is not a bug though.

Every time this happens it's on Solaris, and because someone didn't use GNU tar
or used an ancient version of GNU tar:
http://gcc.gnu.org/ml/gcc-help/2012-06/msg00291.html
http://gcc.gnu.org/ml/gcc-bugs/2008-04/msg01469.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511#c13

http://gcc.gnu.org/install/prerequisites.html says  GNU tar 1.14 or later is
needed


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

* [Bug bootstrap/56499] mpfr subdirectory path mismatch and misnamed files
  2013-03-01 17:20 [Bug bootstrap/56499] New: mpfr subdirectory path mismatch and misnamed files gary.barnes at atego dot com
                   ` (2 preceding siblings ...)
  2013-03-01 18:17 ` redi at gcc dot gnu.org
@ 2013-03-01 18:37 ` gary.barnes at atego dot com
  2013-03-01 19:21 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: gary.barnes at atego dot com @ 2013-03-01 18:37 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Gary Barnes <gary.barnes at atego dot com> 2013-03-01 18:36:46 UTC ---
You are correct.  I used tar 1.13.  Updating the various gnu tools here is
basically why I'm building gcc in the first place.
Thank you, Gary

-----Original Message-----
From: redi at gcc dot gnu.org [mailto:gcc-bugzilla@gcc.gnu.org] 
Sent: Friday, March 01, 2013 10:18 AM
To: Gary Barnes
Subject: [Bug bootstrap/56499] mpfr subdirectory path mismatch and misnamed
files


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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-01
18:17:35 UTC --- There's nothing wrong with the tarball, it works for everyone
else, so either your copy is corrupted and you need to download it again or you
didn't use a recent version of GNU tar to unpack it.  This is not a bug though.

Every time this happens it's on Solaris, and because someone didn't use GNU tar
or used an ancient version of GNU tar:
http://gcc.gnu.org/ml/gcc-help/2012-06/msg00291.html
http://gcc.gnu.org/ml/gcc-bugs/2008-04/msg01469.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511#c13

http://gcc.gnu.org/install/prerequisites.html says  GNU tar 1.14 or later is
needed

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: ------- You reported the bug.


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

* [Bug bootstrap/56499] mpfr subdirectory path mismatch and misnamed files
  2013-03-01 17:20 [Bug bootstrap/56499] New: mpfr subdirectory path mismatch and misnamed files gary.barnes at atego dot com
                   ` (3 preceding siblings ...)
  2013-03-01 18:37 ` gary.barnes at atego dot com
@ 2013-03-01 19:21 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-01 19:21 UTC (permalink / raw)
  To: gcc-bugs


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-01 19:20:58 UTC ---
.


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

end of thread, other threads:[~2013-03-01 19:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 17:20 [Bug bootstrap/56499] New: mpfr subdirectory path mismatch and misnamed files gary.barnes at atego dot com
2013-03-01 17:23 ` [Bug bootstrap/56499] " pinskia at gcc dot gnu.org
2013-03-01 17:29 ` gary.barnes at atego dot com
2013-03-01 18:17 ` redi at gcc dot gnu.org
2013-03-01 18:37 ` gary.barnes at atego dot com
2013-03-01 19:21 ` redi at gcc dot gnu.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).