Re: branches/KDE/3.5/kde-common/admin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: branches/KDE/3.5/kde-common/admin

Bugzilla from tomalbers@kde.nl
Op dinsdag 15 november 2005 19:38, schreef Dirk Mueller:
> SVN commit 480611 by mueller:
>
> disable -fvisibility=hidden by default. Too many gcc bugs to
> workaround on popular linux distributions (that break LSB compliance)

Hi Dirk,

I understand almost nothing about visibility things, but I know we have had a
large amount of problems with visibility issues which we seemed to have
tackled the past few months.

I was simply wondering if this change will change anything for us, as we use
this admin dir in our tarball, i'm asking because we have made a rc and now
are on the edge of releasing, do we need a new rc for this change or is it
safe?

gr.

Toma

>  M  +11 -1     acinclude.m4.in
>
>
> --- branches/KDE/3.5/kde-common/admin/acinclude.m4.in #480610:480611
> @@ -3371,12 +3371,22 @@
>                     visibility support. Disabling -fvisibility=hidden])
>
>        kde_stdc_visibility_patched=no ])
> +
>      AC_LANG_RESTORE
>
>      kde_have_gcc_visibility=no
>      KDE_CHECK_COMPILER_FLAG(fvisibility=hidden,
>      [
>        kde_have_gcc_visibility=yes
> +      dnl the whole toolchain is just a mess, gcc is just too buggy
> +      dnl to handle STL with visibility enabled. Lets reconsider
> +      dnl when gcc 4.2 is out or when things get fixed in the compiler.
> +      dnl Contact [hidden email] for details.
> +      AC_ARG_ENABLE(gcc-hidden-visibility,
> +        AC_HELP_STRING([--enable-gcc-hidden-visibility],[toolchain hidden
> visibility [default=no]]), +          [kde_have_gcc_visibility=$enableval],
> +          [kde_have_gcc_visibility=no])
> +
>        AC_CACHE_CHECK([if Qt is patched for -fvisibility],
> kde_cv_val_qt_gcc_visibility_patched, [
>            AC_LANG_SAVE
> @@ -3400,7 +3410,7 @@
>          ]
>        )
>
> -      if test x$kde_stdc_visibility_patched = "xyes" && test
> x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then +      if test
> x$kde_have_gcc_visibility = "xyes" && test x$kde_stdc_visibility_patched =
> "xyes" && test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then
> CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
>          KDE_CHECK_VISIBILITY_GCC_BUG
>          HAVE_GCC_VISIBILITY=1

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

smime.p7s (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: branches/KDE/3.5/kde-common/admin

Bugzilla from mueller@kde.org
On Friday 18 November 2005 00:30, Tom Albers wrote:

> I understand almost nothing about visibility things, but I know we have had
> a large amount of problems with visibility issues which we seemed to have
> tackled the past few months.

Yes, but there is one show stopper left for distributions that use a
nonstandard non-lsb-compliant non-default libstdc++ allocator. At least
debian and mandrake seem to do that. And fixing visibility support for this
nonstandard setup requires a fix in gcc, that we don't have.

> I was simply wondering if this change will change anything for us, as we
> use this admin dir in our tarball, i'm asking because we have made a rc and
> now are on the edge of releasing, do we need a new rc for this change or is
> it safe?

it should be safe unless you mess with KDE_EXPORT as provided by kdelibs. Then
you might end up not being able to link anymore .


--
Dirk//\

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel