generic-poky/scripts
Laurentiu Palcu 405be52d26 runqemu: set qemuarm memory size back to 128MB
The following commit, 6ccd4d6, increased the RAM size for qemu machines
to 256MB due to some smart sanity tests failing on autobuilder because
more memory was needed.

Unfortunately this leads to various, potentially dangerous, issues like
the one observed during sudoku-savant project compilation:

collect: relinking
collect2: error: '_ZNK6sudoku5ClearINS_6SquareEEclERS1_' was assigned to
'board.rpo', but was not defined during recompilation, or vice versa
board.o:(.rodata+0x8): undefined reference to
`sudoku::Clear<sudoku::Square>::operator()(sudoku::Square&) const'
board.o:(.rodata+0x20): undefined reference to
`sudoku::Clear<sudoku::Sequence>::operator()(sudoku::Sequence&) const'
board.o:(.rodata+0x34): undefined reference to `typeinfo for
sudoku::Action<sudoku::Sequence>'
...AND THE LIST CONTINUES...
collect2: error: ld returned 1 exit status
make: *** [sudoku-savant] Error 1

After some tests, I found that the maximum amount of memory needed for
sudoku to compile properly is 146MB(!?!).

My attempts to create a simpler test case (using templates), in order to
replicate and isolate the issue failed. All the tests compiled just
fine.

So, my guess is that this problem is certainly memory related but the
cause might be hidden in any of the following: qemu versatile hw model,
in the kernel or, highly unlikely but not impossible, the toolchain
itself. The reason I don't really think the cause is in the toolchain is
the fact that the compilation completes just fine for 128MB on qemuarm but
also on other qemu machines (with 256MB of memory).

Since this issue might need lots of time to have a proper fix, I'll revert back
to using 128MB for qemuarm for the time being.

[YOCTO #5133]

(From OE-Core rev: 06605bd6ddd4d6a788e1a107dcf15dde1027c094)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-22 12:19:41 +01:00
..
contrib scripts/contrib/build-perf-test.sh: record size in kb and remove extra spaces 2013-09-14 08:29:41 +01:00
jhbuild Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
lib/bsp yocto-bsp: conditionalise mesa-swrast on opengl in templates 2013-09-11 12:29:06 +01:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
postinst-intercepts scripts/postinst-intercepts: create separete hooks for multilib 2013-04-29 14:45:10 +01:00
pybootchartgui scripts/pybootchart: Allow minimum task length to be configured from the commandline 2012-11-20 15:31:48 +00:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
bitbake-prserv-tool bitbake-prserv-tool: show error when export file does not exist 2013-02-06 16:52:19 +00:00
bitbake-whatchanged bitbake-whatchanged: print what is about to happen 2013-03-07 11:14:37 +00:00
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: match new buildhistory-diff command line parsing 2013-08-16 11:44:17 +01:00
buildhistory-diff buildhistory-diff: improve command-line handling 2013-08-16 11:44:17 +01:00
cleanup-workdir cleanup-workdir: fix typo 2013-06-25 17:57:29 +01:00
combo-layer scipts/combo-layer: Fix check_rev_branch() for cases where the revision is on more than one branch 2012-10-18 12:13:42 +01:00
combo-layer-hook-default.sh scripts/combo-layer: fix still overzealous regex in default hook script 2011-09-21 13:42:49 +01:00
combo-layer.conf.example scripts/combo-layer: add branch option to example config 2012-02-21 17:00:46 +00:00
cp-noerror scripts/cp-noerror: Try and use hardlinks if possible 2012-10-18 12:13:46 +01:00
create-pull-request create-pull-request: Error message on missing -u 2013-02-08 14:50:36 +00:00
create-recipe scripts/create-recipe: Bugfixes for create-recipe easy_install handling. 2013-02-08 14:50:36 +00:00
crosstap crosstap: handle hyphenated x86_64 target arch 2013-02-05 15:22:45 +00:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
help2man Remove help2man dependency 2011-10-04 13:46:19 +01:00
hob scripts/hob: enable additional arguments 2013-05-14 14:57:27 +03:00
multilib_header_wrapper.h multilib_header.bbclass: Add oe_multilib_header wrapper 2011-07-27 15:45:47 +01:00
oe-buildenv-internal oe-buildenv-internal: Ensure error messages got to stderr 2013-06-18 17:33:15 +01:00
oe-find-native-sysroot oe-find-native-sysroot: minor optimization 2013-08-03 10:33:12 +01:00
oe-git-proxy oe-git-proxy: Use socat instead of BSD nc 2013-02-11 22:54:04 +00:00
oe-pkgdata-util bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
oe-setup-builddir oe-setup-builddir: substitute ##OEROOT## when using templates 2013-08-13 23:06:03 +01:00
oe-setup-rpmrepo oe-setup-rpmrepo: add native sysroot so nativepython can be found by env 2013-08-30 18:06:31 +01:00
oe-trim-schemas scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
opkg-query-helper.py classes/buildhistory: record size of installed package not compressed archive 2013-08-16 11:44:16 +01:00
relocate_sdk.py relocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x 2013-02-12 13:11:22 +00:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
rpm2cpio.sh rpm2cpio.sh: make compression tests case-insensitive 2012-01-03 12:14:39 +00:00
runqemu bitbake.conf: include machine name in DEPLOY_DIR_IMAGE 2013-09-14 08:21:00 +01:00
runqemu-addptable2image scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-export-rootfs runqemu: allow multiple unfs instances to run simultaneously 2012-10-04 14:10:56 +01:00
runqemu-extract-sdk runqemu-export-rootfs and friends: don't put pseudo db in target fs 2012-08-29 16:02:10 -07:00
runqemu-gen-tapdevs runqemu: Replace use of ifconfig with ip 2013-05-16 00:09:47 +03:00
runqemu-ifdown runqemu-ifdown: clean up the remaining iptables rules 2013-08-30 16:23:47 +01:00
runqemu-ifup runqemu-ifup: when tunctl can't be found, say what package builds it 2013-08-26 11:47:17 +01:00
runqemu-internal runqemu: set qemuarm memory size back to 128MB 2013-09-22 12:19:41 +01:00
runqemu.README scripts/runqemu.README: Clean this up to accurately reflect what the runqemu command now does 2011-04-21 12:56:13 +01:00
send-pull-request send-pull-request: add extra CC argument 2013-02-06 09:37:22 +00:00
sstate-cache-management.sh scripts/sstate-cache-management.sh: fix return value by adding exit 0 2013-04-05 11:13:53 +01:00
sstate-diff-machines.sh scripts/sstate-diff-machines.sh: add simple script to compare sstate checksums between MACHINEs 2013-01-07 12:06:27 +00:00
sstate-sysroot-cruft.sh scripts/sstate-sysroot-cruft.sh: add simple script to find files in sysroots not tracked by sstate 2013-01-07 12:06:27 +00:00
swabber-strace-attach scripts: replace os.system with subprocess.call 2012-05-30 12:04:45 +01:00
sysroot-relativelinks.py image/populate_sdk: Ensure symlinks in target sysroot are relative 2013-09-11 11:05:05 +01:00
test-dependencies.sh test-dependencies: add simple script to detect missing or autoenabled dependencies 2013-07-29 13:09:05 +01:00
test-reexec test-reexec: Add script to address issues when task re-execution 2012-05-18 15:25:11 +01:00
wipe-sysroot wipe-sysroot: delete pkgdata stamps 2013-09-22 12:19:32 +01:00
yocto-bsp yocto-bsp: add basic git connectivity check 2013-01-16 12:08:01 +00:00
yocto-kernel yocto-kernel: add support for destroying recipe-space kernel features 2013-03-17 23:10:28 +00:00
yocto-layer yocto-layer: add optional layer priority param 2013-01-20 13:05:39 +00:00

README

This directory contains Various useful scripts for working with OE builds