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

             Bug #: 52700
           Summary: libjava configure fails on
                    --enable-symvers=gnu-versioned-namespace.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: pl...@agmk.net
              Host: x86_64-gnu-linux
            Target: x86_64-gnu-linux
             Build: x86_64-gnu-linux


the 4.7.1 boostrap fails inside libjava on
--enable-symvers=gnu-versioned-namespace option.

(...)
checking whether ld supports anonymous version scripts... configure: error:
Unknown argument to enable/disable symvers
make[1]: *** [configure-target-libjava] Error 1

afaics it accepts only yes/no values:

# See if linker supports anonymous version scripts.
AC_CACHE_CHECK([whether ld supports anonymous version scripts],
  [libjava_cv_anon_version_script],
  [AC_ARG_ENABLE(symvers,
     AS_HELP_STRING([--disable-symvers],
                    [disable symbol versioning for libjava]),
       [case "$enableval" in
         yes) libjava_cv_anon_version_script=yes ;;
         no)  libjava_cv_anon_version_script=no ;;
         *)   AC_MSG_ERROR([Unknown argument to enable/disable symvers]);;
        esac],
       [libjava_cv_anon_version_script=yes]
   )

Reply via email to