In the config.log from the build directory you should find the original error on which the linker failed. The check in the configure step can fail because of multiple reasons.
Regards, Jan On Thu, Feb 3, 2011 at 9:30 AM, Steffen Sledz <[email protected]> wrote: > Am 02.02.2011 13:59, schrieb Steffen Sledz: >> Am 02.02.2011 10:54, schrieb Steffen Sledz: >>> Has anybody some instructions/hints how to enable profiling >>> support for selected libs and/or binaries in OE? >> >> The local.conf.sample does contain this section: >> >> # Uncomment these to build a package such that you can use gprof to profile >> it. >> # NOTE: This will only work with 'linux' targets, not >> # 'linux-uclibc', as uClibc doesn't provide the necessary >> # object files. Also, don't build glibc itself with these >> # flags, or it'll fail to build. >> # >> # PROFILE_OPTIMIZATION = "-pg" >> # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}" >> # LDFLAGS =+ "-pg" >> >> This seems to do the work for the complete image. > > Hmmmm? Unfortunately not in all cases. Enabling the options mentioned above > and making a clean build results in > > | ... > | checking for .preinit_array/.init_array/.fini_array support... no > | configure: error: Need linker with .init_array/.fini_array support. > | ERROR: Function do_configure failed > NOTE: package glibc-2.9-r36.3: task do_configure: Failed > ERROR: TaskFailed event exception, aborting > ERROR: Build of /home/sledz/work/openembedded/recipes/glibc/glibc_2.9.bb > do_configure failed > ERROR: Task 127 (/home/sledz/work/openembedded/recipes/glibc/glibc_2.9.bb, > do_configure) failed with 256 > > Any ideas? > > Steffen > > -- > DResearch Fahrzeugelektronik GmbH > Otto-Schmirgal-Str. 3, 10319 Berlin, Germany > Tel: +49 30 515932-237 mailto:[email protected] > Fax: +49 30 515932-299 > Geschäftsführer: Dr. Michael Weber, Werner Mögle; > Amtsgericht Berlin Charlottenburg; HRB 130120 B; > Ust.-IDNr. DE273952058 > > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
