This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: [PATCH] detect incompatible aliases (PR c/81854)


> I'm not intimately familiar with the Glibc ifunc infrastructure
> to suggest a good solution here, so assuming this works my only
> idea is to suppress the warning for these builds.
> 
> Joseph, do you have a better suggestion?
> 
> Martin

Now that I know building GCC with '--enable-gnu-indirect-function' lets
me build GLIBC with IFUNCs maybe it is time for GLIBC to require this
instead of just recommending it.  Though I guess that is a discussion
to take over to the libc-alpha mailing list.

>From glibc configure.ac:

if test x"$libc_cv_gcc_indirect_function" != xyes &&
   test x"$multi_arch" = xyes; then
  AC_MSG_WARN([--enable-multi-arch support recommends a gcc with gnu-
indirect-function support.
Please use a gcc which supports it by default or configure gcc with --
enable-gnu-indirect-function])
fi



Steve Ellcey
sellcey@cavium.com


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