Re: [lng-odp] [PATCH] enable shared library for non-abi compat mode
On 5 December 2016 at 08:43, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Maxim >> Uvarov >> Sent: Friday, December 02, 2016 4:31 PM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] [PATCH] enable shared library for non-abi compat mode >> >> Signed-off-by: Maxim Uvarov >> --- >> configure.ac | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/configure.ac b/configure.ac >> index 3e89b0a..57edd33 100644 >> --- a/configure.ac >> +++ b/configure.ac >> @@ -253,7 +253,6 @@ AC_ARG_ENABLE([abi-compat], >> [if test "x$enableval" = "xno"; then >> ODP_ABI_COMPAT=0 >> abi_compat=no >> - enable_shared=no >> fi]) >> AC_SUBST(ODP_ABI_COMPAT) > > >> @@ -336,6 +334,7 @@ AC_MSG_RESULT([ >> static libraries: ${enable_static} >> shared libraries: ${enable_shared} >> ABI compatible: ${abi_compat} >> + ODP_ABI_COMPAT: ${ODP_ABI_COMPAT} > > Revert also this extra print of ABI compat. One status print is enough. agree. > > After these reverts, only --enable-abi-compat is changed to > --disable-abi-compat (in ./configure --help). Autotools define both > (enable/disable) automatically, so --disable-abi-compat was always there Right, thats true. > (the one I was using anyway). OK. Anders > > -Petri >
Re: [lng-odp] [PATCH] enable shared library for non-abi compat mode
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Maxim > Uvarov > Sent: Friday, December 02, 2016 4:31 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [PATCH] enable shared library for non-abi compat mode > > Signed-off-by: Maxim Uvarov > --- > configure.ac | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index 3e89b0a..57edd33 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -253,7 +253,6 @@ AC_ARG_ENABLE([abi-compat], > [if test "x$enableval" = "xno"; then > ODP_ABI_COMPAT=0 > abi_compat=no > - enable_shared=no > fi]) > AC_SUBST(ODP_ABI_COMPAT) > @@ -336,6 +334,7 @@ AC_MSG_RESULT([ > static libraries: ${enable_static} > shared libraries: ${enable_shared} > ABI compatible: ${abi_compat} > + ODP_ABI_COMPAT: ${ODP_ABI_COMPAT} Revert also this extra print of ABI compat. One status print is enough. After these reverts, only --enable-abi-compat is changed to --disable-abi-compat (in ./configure --help). Autotools define both (enable/disable) automatically, so --disable-abi-compat was always there (the one I was using anyway). -Petri
Re: [lng-odp] [PATCH] enable shared library for non-abi compat mode
On 2 December 2016 at 15:30, Maxim Uvarov wrote: > Signed-off-by: Maxim Uvarov > --- > configure.ac | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index 3e89b0a..57edd33 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -253,7 +253,6 @@ AC_ARG_ENABLE([abi-compat], > [if test "x$enableval" = "xno"; then > ODP_ABI_COMPAT=0 > abi_compat=no > - enable_shared=no If we replace the the shared lib (--abi-compat) with the shared lib built without abi-comapt, we can't tell that they are incompatible. The SO number may be forced to be changed for the abi-compat version. However, we have not changed the SO version for the non-abi-compat. Inline for a shared library isn't bad if the inline code for all platforms on the same architecture is the same. If it is not the same it should be a static library. Cheers, Anders
[lng-odp] [PATCH] enable shared library for non-abi compat mode
Signed-off-by: Maxim Uvarov --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3e89b0a..57edd33 100644 --- a/configure.ac +++ b/configure.ac @@ -253,7 +253,6 @@ AC_ARG_ENABLE([abi-compat], [if test "x$enableval" = "xno"; then ODP_ABI_COMPAT=0 abi_compat=no - enable_shared=no fi]) AC_SUBST(ODP_ABI_COMPAT) -- 2.7.1.250.gff4ea60