summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* libgcc: Add MLPREFIX to sanity check skipSaul Wold2012-05-021-2/+1
| | | | | | | | | | | Fixes: ERROR: QA Issue: non -staticdev package contains static .a library: lib32-libgcov-dev path '/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/packages-split/lib32-libgcov-dev/usr/lib/i586-pokymllib32-linux/4.7.1/libgcov.a' ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/temp/log.do_package.9691 NOTE: package lib32-libgcc-4.7.0+svnr186651-r0: task do_package: Failed ERROR: Task 1077 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/meta/recipes-devtools/gcc/libgcc_4.7.bb, do_package) failed with exit code '1' Signed-off-by: Saul Wold <sgw@linux.intel.com>
* opkg-collateral: import fixes from OE-ClassicAndreas Oberritter2012-05-013-4/+9
| | | | | | | | | | | | | | | | * Set lists_dir to /var/lib/opkg commit 16808bc4817492beba512f4e73bce8c232d1eafa Author: Marcin Juszkiewicz <hrw@openembedded.org> Date: Mon Mar 17 23:40:48 2008 +0000 * Update new options sample and move the opkg.conf to correct place commit cc9825d97962287df75e164aec456901292e1b7f Author: Tick Chen <ticktock35@gmail.com> Date: Mon Dec 29 19:41:47 2008 +0800 Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
* opkg-utils: bump SRCREV for Packages cache fix and other fixesMartin Jansa2012-05-016-221/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gdb: Add support for building gdb target for SH4Khem Raj2012-05-013-1/+1391
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-cross.inc: Fix cross testing scriptKhem Raj2012-05-011-2/+3
| | | | | | | | shift the cmdline argument after determining there is atleast 1 argument to shift otherwise it ends up in error when no argument is specified Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gdb: Dont need lttng-ust for SH4Khem Raj2012-05-011-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gettext,m4: Add -lrt to LDFLAGS for uclibcKhem Raj2012-05-013-3/+3
| | | | | | | | | | | uclibc has recently got posix_spawn implementation and the implementation resided in librt so we link -lrt to get the configure tests using uclibc provided definitions and not the gnu-lib wrappers Let libintl.a live in -staticdev package Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tcl: fix target recipe build issue on older distrosNitin A Kamble2012-04-302-2/+112
| | | | | | | | | | | | the builddir is put in front of the LD_LIBRARY_PATH, causing dynamically linking of target library with native tclsh. Fix this behavior to cross build tcl correctly. This issue got exposed when eglibc-2.15 was configured for the target. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-package-sdk: Package plugin files generated by gcc-4.7Khem Raj2012-04-261-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Do not use --with-header option for cross-gccKhem Raj2012-04-262-1/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Let cpp specs honor include searches in relocated install treeKhem Raj2012-04-262-0/+46
| | | | | | Fix from Yocto Bug 2074 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Use full relative path in require directiveKhem Raj2012-04-2610-10/+10
| | | | | | | | This will help in meta-linaro where it will be able to utilize maximum recipes from OE-Core and thereby keep close compatibility with OE-Core gcc recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgcc-4.7: Package libgcov nativesdk correctlyKhem Raj2012-04-261-4/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Lower the internal consistency check level to releaseKhem Raj2012-04-261-0/+1
| | | | | | | | | This should help in speeding up compilation at the expense of a bit less info when gcc ICEs but we dont get many gcc ICEs and therefore using --enable-checking=release is right balance Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Disable cloog and pplKhem Raj2012-04-261-0/+2
| | | | | | | | | If build system has those libraries installed gcc configure will pick them up. We want consistent builds so we disable them since we do not (yet) support them Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-package-target: Add the dangling files to specific packagesKhem Raj2012-04-261-3/+8
| | | | | | create a new package to have lto dev packages bundled Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-crosssdk-intermediate: Use --with-native-system-header-dir for 4.7Khem Raj2012-04-263-2/+2
| | | | | | | --with-native-system-header-dir is relative to sysroot which is what we want --with-headers is deprecated anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-cross-canadian_4.7.bb: Override ARCH_FLAGS_FOR_TARGETKhem Raj2012-04-261-0/+3
| | | | | | We need -isystem=${target_includedir} in there Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Define own do_configure_prependKhem Raj2012-04-261-0/+18
| | | | | | gcc-4.7 does not define STANDARD_INCLUDE_DIR Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.7: Add recipesKhem Raj2012-04-2640-0/+5636
| | | | | | | Add new recipes for gcc-4_7-branch right now gcc 4.7.0 is latest release from this branch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure-common.inc: Use libc-uclibc overrideKhem Raj2012-04-261-3/+1
| | | | | | Its better than duplicating the overrides Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.6: Specify complete paths in require directiveKhem Raj2012-04-2610-10/+10
| | | | | | | | | | This is needed for adjusting meta-linaro where linaro gcc recipes leverage the core recipe infrastructure and modifies minimal to keep compatibility with OE-Core so that any changes in OE-Core gcc recipes does not trigger changes in meta-linaro. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-4.6: Remove redundant overridesKhem Raj2012-04-261-4/+1
| | | | | | | Use libc-uclibc override instead of TARGET_OS override Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgcc_4.6: Package libgcov nativesdk correctlyKhem Raj2012-04-261-10/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure: Render --with-local-prefix harmlessKhem Raj2012-04-267-9/+5
| | | | | | | | | | this option by default points to /usr/local no matter what so we cant let it sit on sidelines otherwise it will access host machine's /usr/local which may not be desired. So disable this option. This also helps in making gcc's shared state more consistent Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc: Stash the gcc-cross builddir to reuse in libgcc and gcc-runtimeKhem Raj2012-04-264-32/+40
| | | | | | | | | | | | | | | | Currently we stash the libgcc install tree and then reuse that to populate libgcc recipe later. This mechanism does not work for gcc 4.7/trunk since now libstdc++ needs access to build tree of libgcc. This patch stashes the gcc-cross build tree and then reuses this in libgcc as well as in gcc-runtime recipe builds. Now we build libgcc in the libgcc recipe instead of just using the prebuilt install tree core-image-minimal build/run tested on all qemu machines Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcc-configure: Pass distinct target flagsKhem Raj2012-04-263-0/+12
| | | | | | | | | | | | | | When building gcc-cross-canadian libgcc is built using headers from gcc-crosssdk and not the target sysroot because we do not pass proper CFLAGS for target bits so it ends up using CFLAGS that were meant for compiling canadian gcc itself. It does not show up as a problem when building SDK with eglibc because eglibc-nativesdk and eglibc have identical headers. The problem shows up clearly when you try to build uclibc based meta-toolchain since then nativesdk libc and target libc are different Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quilt: fix perl path in target perl scriptsNitin A Kamble2012-04-261-1/+14
| | | | | | | | | | | | | | | | | While building on distros like fedora17, which has /bin/perl, the target perl scripts get perl path also as /bin/perl. And that is not correction path of perl on the target. This commit avoids this error. | error: Failed dependencies: | /bin/perl is needed by quilt-0.51-r2.i586 NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* python: Add patch to avoid warning about sunaudiodev moduleAndrei Gherzan2012-04-252-1/+25
| | | | | | | | | | sunaudiodev module is sunos specific so we avoid a warning by not. adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to avoid warning about _tkinterAndrei Gherzan2012-04-252-1/+27
| | | | | | | | | | | _tkinter module needs tk module along with tcl. tk is not yet integrated in yocto so we skip the check for this module. Avoid a warning by not adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to avoid warning about bsddb moduleAndrei Gherzan2012-04-252-1/+25
| | | | | | | | | | _bsddb module can be built only with db version between 4.1 and 4.7. Avoid a warning by not adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to search for db.h in inc_dirs and remove warningAndrei Gherzan2012-04-252-1/+42
| | | | | | | | | | | python should search for db.h in inc_dirs and not in a hardcoded path. If db.h is found but HASHVERSION is not 2 we avoid a warning by not. adding this module to missing variable. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch for 64bit platformAndrei Gherzan2012-04-252-1/+59
| | | | | | | | | | | | | This patch was added for 64bit host machines. In the compile process python is checking if platform is a 64bit platform using sys.maxint which is the host's value. The patch fixes this issue so that python would check if TARGET machine is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules built if HOST machine is 64bit but the target machine is 32bit. [YOCTO #1937] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native: fix deb-based rootfs construction failure on Fedora 16Paul Eggleton2012-04-242-2/+201
| | | | | | | | | | | | | Backport a fix from 1.16.x upstream to use fd instead of stream-based I/O in dpkg-deb, which avoids the use of fflush() on an input stream (the behaviour of which is undefined by POSIX, and appears to have changed in the version of glibc introduced in Fedora 16 and presumably other systems). Fixes [YOCTO #1858]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: move empty quiltrc to native sysconfdirSaul Wold2012-04-244-7/+8
| | | | | | | | | | | | patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty version to ensure that no user setting were picked up, change this to /etc/quiltrc in the Native sysroot since we now have a native sysconfdir. Make sure that the quiltrc is actually installed in the Native sysconfdir, not the target, so fix this after the recipe split. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc: Add plugins package for ARM, fix /usr/incude packagingSaul Wold2012-04-241-1/+7
| | | | | | | | | | WARNING: For recipe gcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/include WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm/bpabi-lib.h Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libgcc: Package additional *crt*.o files for PPCSaul Wold2012-04-241-1/+1
| | | | | | | | | WARNING: For recipe libgcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrtn.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrtn.o Signed-off-by: Saul Wold <sgw@linux.intel.com>
* binutils: add embedspu for ppc buildsSaul Wold2012-04-241-0/+1
| | | | | | WARNING: For recipe binutils, the following files/directories were installed but not shipped in any package: WARNING: /usr/bin/embedspu Signed-off-by: Saul Wold <sgw@linux.intel.com>
* python: use PKGSUFFIX for libpython2Andreas Oberritter2012-04-241-3/+6
| | | | | | | | | | | * python-nativesdk shouldn't provide libpython2, but libpython2-nativesdk. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> [PR Bump - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* automake: upgrade from 1.11.2 to 1.11.3Nitin A Kamble2012-04-245-148/+37
| | | | | | | | | | | | | | | | Removed already upstream patch: automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch Rebased these patches to the newer code: automake/prefer-cpio-over-pax-for-ustar-archives.patch automake/python-libdir.patch Changed the tarball name from bz2 to gz, as the bz2 tar ball is not published for the 1.11.3 version. [RP: Fix python.m4 to preserve the tweaks that allow us to build python modules] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: PR bump.Lianhao Lu2012-04-232-2/+2
| | | | | | | | Bump PR value due to the commit c6c701f424aeb502d20ff02d02712e56f4e259a5. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Fix various contamination issues leading to broken/missing c modulesRichard Purdie2012-04-233-7/+76
| | | | | | | | | | | | | | | | | | | The move of libcrypto to /lib instead of /usr/lib has broken the _hashlib module compilation. There were also a number of other failing modules which should have been building correctly. This turned out partly to be the /lib issue but also due to a number of native paths creeping into compiler commandlines. These changes add in /lib as part of the searh directory and remove a number of host contamination issues within setup.py. Post release we should really further go through this file and just delete large sections of it as its hard to be sure what strange paths python is injecting as search paths. This patch also fixes issues where re-execution of the compile task would corrupt the Makefile in various ways, again leading to puzzling paths within the configuration. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Drop nativesdk wrapper and link against old memcpy symbolRichard Purdie2012-04-222-2/+28
| | | | | | | | | | | | | | | | The -nativesdk pseudo wrapper setting LD_LIBRARY_PATH turned out to be a bad idea since it can mix up different libc and lib-dl verisons which may or may not work depending on the phase of the moon. As an alternative to solving the original problem, this patch drops the symbol version requirement on memcpy which allows pseudo to work with libc's back to 2.7 which should be sufficient for our supported targets using nativesdk. [YOCTO #2299] [YOCTO #2351] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Fix bashismsRichard Purdie2012-04-221-5/+5
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Backport a patch to solve SSE2 instruction emulation issuesRichard Purdie2012-04-222-1/+68
| | | | | | | | | | | | | | | | This fix addresses various issues seen in qemux86-64 images: * scroll bars in matchbox-terminal not working * files not appearing in pcmanfm * warnings on the console from glib/gobject about invalid gdouble values Its due to an emulation issue in qemu which the backported patch fixes. I managed to debug it to a specific function, Khem found the qemu patch to backport, thanks Khem! [YOCTO #1906] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Disable curl explicitly, its not in DEPENDSRichard Purdie2012-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | There is an error when build meta-toolchain-sdk on Ubuntu 10.10: | Installing NATIVESDK packages | Processing task-sdk-host-nativesdk... | Processing task-cross-canadian-mips... | error: Failed dependencies: | libcurl.so.4 is needed by qemu-nativesdk-0.15.1-r5.i686 NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed ERROR: Task 21 (/buildarea2/lyang1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk) failed with exit code '1' This is because qemu would depend on curl if it happened to be available at build time and could confuse the -native and -nativesdk librbaries. [YOCTO #2305] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix re-execution of compile taskVenkata ramana gollamudi2012-04-171-2/+3
| | | | | | | | | | | | After building perl package, re-execution of compile task recursively substitutes the path, making it an invalid path. Fixed to prevent recursive substitution. Similar case as [Yocto #2194] Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: backport Debian patches to fix generated code warningsOtavio Salvador2012-04-163-1/+105
| | | | | | | | | The generated parser had warnings regarding signess and return check which makes Linux Kernel's perf tool from 3.4 release to fail without those patches. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake-nativesdk: fix builds on fedora 17Robert Yang2012-04-161-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generally distros keep perl at /usr/bin/perl Fedora 17 also has /bin/perl this causes automake-nativesdk build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by automake-nativesdk-1.11.2-r2.x86_64 NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed The second sed command is for such a case: eval 'case $# in 0) exec /bin/perl -S "$0";; *) exec /bin/perl -S "$0" "$@";; esac' This line has two "/bin/perl" and we can't use a line number to tell sed which line it is since the line numbers in different files are defferent. [YOCTO #2304] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* autoconf-nativesdk: fix builds on fedora 17Robert Yang2012-04-162-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generally distros keep perl at /usr/bin/perl Fedora 17 also has /bin/perl this causes autoconf-nativesdk build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by autoconf-nativesdk-2.68-r6.x86_64.rpm NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed The second sed command is for such a case: eval 'case $# in 0) exec /bin/perl -S "$0";; *) exec /bin/perl -S "$0" "$@";; esac' This line has two "/bin/perl" and we can't use a line number to tell sed which line it is since the line numbers in different files are defferent. [YOCTO #2304] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>