This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/23926] New: libstdc++-v3 configure failed


libstdc++-v3/configure include illegal shell script.
it comes from 1.446 to 1.447. see bellow
----
*** 87159,87169 ****
  # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
  # don't know enough about $LD to do tricks...
  
! # FIXME  The following test is too strict, in theory.
! if test $enable_shared = no ||
!         test "x$LD" = x ||
!         test x$glibcxx_gnu_ld_version = x; then
!   enable_symvers=no
  fi
  
  # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
--- 87159,87186 ----
  # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
  # don't know enough about $LD to do tricks...
  
! 
! # Turn a 'yes' into a suitable default.
! if test x$enable_symvers = xyes ; then
!   if test $enable_shared = no ||
!      test "x$LD" = x ; then
!     enable_symvers=no
!   elif test $with_gnu_ld == yes ; then
!     enable_symvers=gnu
!   else
!     case ${target_os} in
!       darwin*)
!       enable_symvers=darwin-export ;;
!       *)
!       { echo "$as_me:$LINENO: WARNING: === You have requested some kind of sym
bol versioning, but" >&5
! echo "$as_me: WARNING: === You have requested some kind of symbol versioning, 
but" >&2;}
!       { echo "$as_me:$LINENO: WARNING: === you are not using a supported linke
r." >&5
! echo "$as_me: WARNING: === you are not using a supported linker." >&2;}
!       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled.
" >&5
! echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
!       enable_symvers=no ;;
!     esac
!   fi
  fi
----
elif test $with_gnu_ld == yes ; then
may be
elif test $with_gnu_ld = yes ; then

-- 
           Summary: libstdc++-v3 configure failed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gnu at jcom dot home dot ne dot jp
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]