On Tue, 22 Jan 2013 13:58:25 -0800 "Enlightenment SVN"
<no-re...@enlightenment.org> said:

as of this commit... efl build is broken due to DSO changes.

also.. efl build is currently "broken" anyway - with or without this as it
prefers to link to installed efl libs rather than the newly compiled ones...
inside the efl tree... :( so eg - add new func to lib and use it .. and u get
symbol problems. :( fyi the DSO problems happen all over the place in linking
stuff (normally i parallel build so i see it in lots of binaries - i turned
parallel build off for this log):

/bin/bash ../libtool  --tag=CC   --mode=link ccache gcc -std=gnu99  -O2 -g
-pipe -march=native -fvisibility=hidden -ffast-math -W -Wall -Wextra
-Wno-shadow -Wno-unused-but-set-parameter   -o bin/eet/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed
-Wl,--no-copy-dt-needed-entries    lib/eet/libeet.la

libtool: link: ccache gcc -std=gnu99 -O2 -g -pipe -march=native
-fvisibility=hidden -ffast-math -W -Wall -Wextra -Wno-shadow
-Wno-unused-but-set-parameter -o bin/eet/.libs/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed
-Wl,--no-copy-dt-needed-entries  lib/eet/.libs/libeet.so /usr/bin/ld:
bin/eet/bin_eet_eet-eet_main.o: undefined reference to symbol
'eina_iterator_next' /usr/bin/ld: note: 'eina_iterator_next' is defined in
DSO /usr/local/lib/libeina.so.1 so try adding it to the linker command
line /usr/local/lib/libeina.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

i have to revert this (plus the follow-on patch to fix cserve2) because this
basically stops efl being built entirely if your binutils enforce DSO linking.

:/

so right now the efl tree has 1 major problem... libs and binaries LINK to the
installed system ones instead of the compile in efl tree ones... and that is
going (and already does) cause all manner of pain. it affects anyone rebuilding
efl who has it already installed as well. doesn't affect fresh "efl-free"
systems. :\

> Log:
> try to simplify internal library dependency.
>   
>   Just use the lib/name/libname.la as libtool should be responsible to
>   emit dependencies to compiler when it evaluates.
>   
>   This should reduce over-linking, also reducing the compile lines in
>   our verbose builds ;-)
>   
>   NOTE: this seems to work on Fedora 18 (which also bitch about DSO), so
>   hopefully works on Debian and Ubuntu (and elsewhere).
>   
>   Please revert if breaks builds!
>   
>   
> 
> Author:       barbieri
> Date:         2013-01-22 13:58:25 -0800 (Tue, 22 Jan 2013)
> New Revision: 83105
> Trac:         http://trac.enlightenment.org/e/changeset/83105
> 
> Modified:
>   trunk/efl/m4/efl.m4 
> 
> Modified: trunk/efl/m4/efl.m4
> ===================================================================
> --- trunk/efl/m4/efl.m4       2013-01-22 21:25:08 UTC (rev 83104)
> +++ trunk/efl/m4/efl.m4       2013-01-22 21:58:25 UTC (rev 83105)
> @@ -288,9 +288,9 @@
>  dnl             package depend. Used in automake's _DEPENDENCIES.
>  dnl
>  dnl     USE_PKG_LIBS: what to use in automake's _LIBADD or _LDADD when using
> -dnl             this PKG (PKG_LIBS + libpkg.la)
> +dnl             this PKG (libpkg.la and public dependencies)
>  dnl
> -dnl     USE_PKG_INTERNAL_LIBS: extends PKG_INTERNAL_LIBS with
> lib/pkg/libpkg.la +dnl     USE_PKG_INTERNAL_LIBS: lib/pkg/libpkg.la
>  dnl
>  dnl     requirements_pc_pkg: all pkg-config (pc) files used by this pkg,
>  dnl             includes internal EFL (used in 'Requires.private' in pkg.pc)
> @@ -366,8 +366,8 @@
>  m4_defn([UP])_LDFLAGS="${EFL_COV_LDFLAGS} ${EFL_LDFLAGS} ${m4_defn
> ([UP])_LDFLAGS}" m4_defn([UP])_LIBS=" ${m4_defn([UP])_LDFLAGS}
> ${EFL_COV_LIBS} ${EFL_LIBS} ${m4_defn([UP])_LIBS}
> ${requirements_internal_libs_[]m4_defn([DOWN])}
> ${requirements_internal_deps_libs_[]m4_defn([DOWN])}
> ${requirements_public_libs_[]m4_defn([DOWN])} ${requirements_libs_[]m4_defn
> ([DOWN])} ${requirements_libs_efl} " m4_defn([UP])_INTERNAL_LIBS="${m4_defn
> ([UP])_INTERNAL_LIBS} ${requirements_internal_libs_[]m4_defn([DOWN])}" -USE_
> []m4_defn([UP])_LIBS="${m4_defn([UP])_LIBS} lib/${libdirname}/lib
> ${libname}.la" -USE_[]m4_defn([UP])_INTERNAL_LIBS="${m4_defn
> ([UP])_INTERNAL_LIBS} lib/${libdirname}/lib${libname}.la
> ${requirements_internal_deps_libs_[]m4_defn([DOWN])}" +USE_[]m4_defn
> ([UP])_LIBS="${m4_defn([UP])_LDFLAGS} ${EFL_COV_LIBS} ${EFL_LIBS}
> lib/${libdirname}/lib${libname}.la ${requirements_public_libs_[]m4_defn
> ([DOWN])} ${requirements_libs_efl}" +USE_[]m4_defn
> ([UP])_INTERNAL_LIBS="lib/${libdirname}/lib${libname}.la" m4_defn
> ([UP])_CFLAGS="${EFL_COV_CFLAGS} ${EFL_CFLAGS} ${m4_defn([UP])_CFLAGS} -I\
> $(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname}
> ${requirements_cflags_[]m4_defn([DOWN])} ${requirements_cflags_efl} -DEFL_
> []m4_defn([UP])_BUILD=1" requirements_pc_[]m4_defn([DOWN])="${requirements_pc_
> []m4_defn([DOWN])} ${requirements_pc_efl}" requirements_pc_deps_[]m4_defn
> ([DOWN])="${requirements_pc_deps_[]m4_defn([DOWN])}
> ${requirements_pc_deps_efl}"
> 
> 
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to