[llvm-commits] [llvm] r55628 - in /llvm/trunk: Makefile.config.in Makefile.rules autoconf/configure.ac autoconf/m4/visibility_inlines_hidden.m4

Daniel Dunbar daniel at zuster.org
Tue Sep 2 10:58:38 PDT 2008


Actually, don't, because I just reapplied.

On Tue, Sep 2, 2008 at 10:36 AM, Bill Wendling <isanbard at gmail.com> wrote:

> Make sure that you regenerate the configure file.
>
> -bw
>
> On Tue, Sep 2, 2008 at 2:51 AM, Matthijs Kooijman <matthijs at stdin.nl>
> wrote:
> > Author: matthijs
> > Date: Tue Sep  2 04:51:00 2008
> > New Revision: 55628
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=55628&view=rev
> > Log:
> > Revert r55557, it is causing linking failures on 32bit linux.
> >
> >
> > Removed:
> >    llvm/trunk/autoconf/m4/visibility_inlines_hidden.m4
> > Modified:
> >    llvm/trunk/Makefile.config.in
> >    llvm/trunk/Makefile.rules
> >    llvm/trunk/autoconf/configure.ac
> >
> > Modified: llvm/trunk/Makefile.config.in
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.config.in?rev=55628&r1=55627&r2=55628&view=diff
> >
> >
> ==============================================================================
> > --- llvm/trunk/Makefile.config.in (original)
> > +++ llvm/trunk/Makefile.config.in Tue Sep  2 04:51:00 2008
> > @@ -234,9 +234,6 @@
> >  # Do we want to build with position independent code?
> >  ENABLE_PIC := @ENABLE_PIC@
> >
> > -# Use -fvisibility-inlines-hidden?
> > -ENABLE_VISIBILITY_INLINES_HIDDEN := @ENABLE_VISIBILITY_INLINES_HIDDEN@
> > -
> >  # This option tells the Makefiles to produce verbose output.
> >  # It essentially prints the commands that make is executing
> >  #VERBOSE = 1
> >
> > Modified: llvm/trunk/Makefile.rules
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=55628&r1=55627&r2=55628&view=diff
> >
> >
> ==============================================================================
> > --- llvm/trunk/Makefile.rules (original)
> > +++ llvm/trunk/Makefile.rules Tue Sep  2 04:51:00 2008
> > @@ -241,10 +241,6 @@
> >   endif
> >  endif
> >
> > -ifeq ($(ENABLE_VISIBILITY_INLINES_HIDDEN),1)
> > -    CXX.Flags += -fvisibility-inlines-hidden
> > -endif
> > -
> >  # IF REQUIRES_EH=1 is specified then don't disable exceptions
> >  ifndef REQUIRES_EH
> >   CXX.Flags += -fno-exceptions
> >
> > Modified: llvm/trunk/autoconf/configure.ac
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=55628&r1=55627&r2=55628&view=diff
> >
> >
> ==============================================================================
> > --- llvm/trunk/autoconf/configure.ac (original)
> > +++ llvm/trunk/autoconf/configure.ac Tue Sep  2 04:51:00 2008
> > @@ -975,8 +975,6 @@
> >   AC_MSG_ERROR([Prequisites for bindings not satisfied. Fix them or use
> configure --disable-bindings.])
> >  fi
> >
> > -dnl Determine if the compiler supports -fvisibility-inlines-hidden.
> > -AC_CXX_USE_VISIBILITY_INLINES_HIDDEN
> >
> >
>  dnl===-----------------------------------------------------------------------===
> >  dnl===
> >
> > Removed: llvm/trunk/autoconf/m4/visibility_inlines_hidden.m4
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/m4/visibility_inlines_hidden.m4?rev=55627&view=auto
> >
> >
> ==============================================================================
> > --- llvm/trunk/autoconf/m4/visibility_inlines_hidden.m4 (original)
> > +++ llvm/trunk/autoconf/m4/visibility_inlines_hidden.m4 (removed)
> > @@ -1,22 +0,0 @@
> > -#
> > -# Determine if the compiler accepts -fvisibility-inlines-hidden
> > -#
> > -# This macro is specific to LLVM.
> > -#
> > -AC_DEFUN([AC_CXX_USE_VISIBILITY_INLINES_HIDDEN],
> > -[AC_CACHE_CHECK([for compiler -fvisibility-inlines-hidden option],
> > -                [llvm_cv_cxx_visibility_inlines_hidden],
> > -[ AC_LANG_PUSH([C++])
> > -  oldcxxflags="$CXXFLAGS"
> > -  CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
> > -  AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
> > -
>  [llvm_cv_cxx_visibility_inlines_hidden=yes],[llvm_cv_cxx_visibility_inlines_hidden=no])
> > -  CXXFLAGS="$oldcxxflags"
> > -  AC_LANG_POP([C++])
> > -])
> > -if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
> > -  AC_SUBST([ENABLE_VISIBILITY_INLINES_HIDDEN],[1])
> > -else
> > -  AC_SUBST([ENABLE_VISIBILITY_INLINES_HIDDEN],[0])
> > -fi
> > -])
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080902/19169be8/attachment.html>


More information about the llvm-commits mailing list