summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
AgeCommit message (Collapse)AuthorFiles
2012-06-11gcc-common: Enable hardfloat ABI when target is armKhem Raj1
We need to check target to be arm before enabling hard-float ABI. There are crossdk targets or candian-cross targets built for arm and we should not enable it for those class of recipes. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-11libtool: Let -fstack-protector passed to link stepKhem Raj2
linker should add -lssp to linker cmdline when -fstack-protector therefore add this knowledge to libtool otherwise packages will fail to link Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11binutils_2.22: Backport to fix bogus textrelsKhem Raj2
This is reported by prelinker which does not go well with textrels. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08apt 0.7.14: do_compile failed with gcc 4.7Robert Yang4
apt do_compile failed with gcc 4.7: deb/deblistparser.cc: In member function 'virtual short unsigned int debListParser::VersionHash()': deb/deblistparser.cc:212:13: error: redeclaration of 'char* I' deb/deblistparser.cc:202:22: error: 'const char** I' previously declared here Backport the patch from the upstream would fix the problem, both target and native apt need it. [YOCTO #2488] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08apt-get 0.7.14: hangs at runtimeRobert Yang2
This patch had a little problem, it made a infinite loop: for (K = CmdL.FileList + 1; *K != 0; J++) But the value of "K" will nerver change, so the apt-get hangs, revert this patch first, and will fix the problem in another patch. Note: Increment the PR from 11 to 12 Revert "apt: Fix a latent bug exposed by gcc 4.7" This reverts commit 9d526462fe97564652771812ad1d363e9962b1e3. [YOCTO #2488] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05perl: Allow perl to cross build and native build in a directory named "t"Jason Wessel3
If any directory in leading up to your tmp directory has the name "t" perl will fail to build with a very cryptic error shown below: pod/buildtoc: no pods at pod/buildtoc line 305. make[1]: *** [pod/perltoc.pod] Error 255 This is a result of the perl file checking making an assumption that it is only looking at files and directories with in the perl source directory. This assumption fails with the way bitbake sets up perl to properly cross compile. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30qemu: Add an option to remove host sdl/gl checkingZhai Edwin5
Add an PACKAGECONFIG in qemu to disable GL acceleration: * By default configure try best to enable GL acceleration and fail when missing host dependency(libSDL and libGL). * End user can also choose to turn off GL capability, thus remove the host dependence in building. [YOCTO #2407] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30mtd-utils: Update to version 1.5.0Radu Moisan2
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30opkg: use new update-alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30binutils: use new update-alternativesMark Hatle2
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-30patch: use BPN for alternativesMark Hatle1
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-25binutils: Drop old/stale/broken csl recipeRichard Purdie2
The patches this recipe refers to don't exist so nobody can have been using this so lets just remove it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25make-3.81: fix build with automake 1.12Nitin A Kamble2
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-25rpm: fix build with automake 1.12Nitin A Kamble2
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-25opkg-nogpg: add file pathPaul Eggleton1
There was no explicit path in FILESPATH for this recipe to allow it to find files referred to in SRC_URI (files shared with the standard opkg recipe). This problem may have been masked by the fetcher behaviour of looking for files last in DL_DIR, thus if opkg has been fetched beforehand there would have been no error. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-05-24qemu: disable vnc-jpeg compressionSaul Wold2
This is disabled by default to ensure a deterministic build, qemu configure would sometimes detect the libjpeg and then enable this. Since mostly qemu is used locally disable by default. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24valgrind: Enable valgrind for armv7Samuel Stirtzel1
Valgrind supports the armv7 architecture, this patch allows armv7 users to build and use Valgrind This patch was run-tested on a Gumstix Overo (armv7a cortex-a8) * The test consisted of running valgrinds memcheck (memory leakage detection), * and callgrind (profiling) on a Qt 4 application Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
2012-05-24python: bump PR of packages after update of distutils.bbclassAndreas Oberritter6
* Bump every recipe inheriting distutils or setuptools and not overriding do_install without calling distutils_do_install. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-05-24libtool: fixed parallel build related raceEnrico Scholz1
While building libtool, the libtool script itself will be regenerated because OE modifies a dependency[1]. With -jX, this operation (--> removal, creation of non-x file, 'chmod a+x') can happen at a time when the script is going to be executed. This can cause errors like: | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | ... | /bin/sh ./config.status libtool | ... | arm-linux-gnueabi-libtool: compile: ccache arm-linux-gnueabi-gcc ... | /bin/sh: ./arm-linux-gnueabi-libtool: Permission denied | make[2]: *** [libltdl/libltdl_libltdl_la-lt__alloc.lo] Error 126 I am not sure whether the custom do_compile_prepend() is still needed. For now only the issue above will be fixed by executing ./config.status yet again. [1] see 648290d5bf4d6ff50d3643bb7ad902dfc23aa702 Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
2012-05-24rpm 5.4.0: respect to the arch when choose the alternativesRobert Yang2
There is a bug if we: 1) bitbake diffutils with MACHINE=crownbay 2) bitbake diffutils with MACHINE=qemux86 3) bitbake core-image-sato with MACHINE=crownbay Then the diffutils.i586 would be installed to the crownbay's image, this is because diffutils.i586 is newer than diffutils.core2, and rpm doesn't respect to the arch priorities: We have put the archs in order in _solve_dbpath: crownbay/solvedb:core2/solvedb:i586/solvedb:all/solvedb Fix rpm to respect to the order, for example, if it finds a pkg in both core2/ and i586/, and the core2/ comes first, it should not use the one in i586/ even if it's build time is newer. Note: Don't worry about the _free(*ptr), it can check whether ptr is NULL or not. This is for the denzil branch, and the master branch also needs it. [YOCTO #2360] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-24gcc: Grok for callconvention-hard to enable hard floatKhem Raj1
If callconvention-hard is set then we build gcc defaulting to hard-float ABI Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-24gcc-4.7: Add knowledge about arm hf dynamic loaderKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20binutils: Default to n64 when configured for mips64Khem Raj2
Default ABI for mips64 is n64 so make it default in binutils Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20gcc-4.6, gcc-4.7: Add support for building mips64 cross compilerKhem Raj5
Defaults to n64 ABI Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-11e2fsprogs: fix packaging error for libext2fsAndreas Oberritter1
* libext2fs is located in base_libdir, not libdir Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-09guile: upgrade from 2.0.3 to 2.0.5Nitin A Kamble9
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-08opensp: upgrade to 1.5.2Scott Garman5
Removed all patches, they've been integrated upstream. :) Added --disable-doc-build to prevent creation of docs, which otherwise fails with the following configure error: could not find xmlto; set XMLTO or consider --disable-doc-build Removed configure_prepend step that was deleting the m4/ directory, since some macros needed for the build are defined there, and I've not encountered any problems with keeping them there in my testing. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06gcc-4.6: disable cloog, change syntax to disable pplAndreas Oberritter1
* Backported from 523df15bcc21e1749771cca757613f3520243b8e as suggested by Khem. * Original commit message: 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: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04gcc-4.6: explicitly disable pplAndreas Oberritter1
* Fixes the following error after a system library upgrade | .../mipsel-oe-linux/4.6.4/cc1: error while loading shared libraries: libppl.so.10: cannot open shared object file: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03gcc-package-target: add libexec for pluginSaul Wold2
Fixes: ERROR: For recipe gcc, the following files/directories were installed but not shipped in any package: ERROR: /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03python: upgrade from 2.7.2 to 2.7.3Nitin A Kamble6
bin/python2 link is provided by the python install process, so no need to create it. rebase these patches to the newer code: fix_for_using_different_libdir.patch 04-default-is-optimized.patch remove this patch as it is upstream now: sys_platform_is_now_always_linux2.patch Change default python version to 2.7.3 in the distro config Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03gdb: upgrade from 7.4 to 7.4.1Nitin A Kamble4
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> [Fixed sha256 - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03quilt: upgrade from 0.51 to 0.60Nitin A Kamble3
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03distcc: use PACKAGECONFIG for x11 distro featureChristopher Larson1
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-05-02libgcc: Add MLPREFIX to sanity check skipSaul Wold1
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>
2012-05-01opkg-collateral: import fixes from OE-ClassicAndreas Oberritter3
* 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>
2012-05-01opkg-utils: bump SRCREV for Packages cache fix and other fixesMartin Jansa6
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-05-01gdb: Add support for building gdb target for SH4Khem Raj3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-01gcc-cross.inc: Fix cross testing scriptKhem Raj1
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>
2012-05-01gdb: Dont need lttng-ust for SH4Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-01gettext,m4: Add -lrt to LDFLAGS for uclibcKhem Raj3
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>
2012-04-30tcl: fix target recipe build issue on older distrosNitin A Kamble2
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>
2012-04-26gcc-package-sdk: Package plugin files generated by gcc-4.7Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-26gcc-4.7: Do not use --with-header option for cross-gccKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-26gcc-4.7: Let cpp specs honor include searches in relocated install treeKhem Raj2
Fix from Yocto Bug 2074 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-26gcc-4.7: Use full relative path in require directiveKhem Raj10
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>
2012-04-26libgcc-4.7: Package libgcov nativesdk correctlyKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-26gcc-4.7: Lower the internal consistency check level to releaseKhem Raj1
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>
2012-04-26gcc-4.7: Disable cloog and pplKhem Raj1
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>
2012-04-26gcc-package-target: Add the dangling files to specific packagesKhem Raj1
create a new package to have lto dev packages bundled Signed-off-by: Khem Raj <raj.khem@gmail.com>