platform/upstream/qemu-accel.git
9 years agoremove unused files 83/33983/2
Li Jinjing [Mon, 19 Jan 2015 10:49:21 +0000 (18:49 +0800)]
remove unused files

Currently, qemu-accel-armv7el.spec and qemu-accel-armv7hl.spec has not been
submmited to OBS for building, for consistency of OBS and gbs, it's necessary
to clean it up.
Without this change, `gbs build -A x86_64` results will contain build error
with dependency issue below, no packages could offord *-gcc47-* and *-gcc48-*
now. The build result will be much cleaner after applying this patch.

Dependency issues:
    qemu-accel-armv7el:
        nothing provides cross-armv7el-gcc47-icecream-backend
    qemu-accel-armv7hl:
        nothing provides cross-armv7hl-gcc48-icecream-backend

Change-Id: I713cb67032a98da450453a89f6de5304b4e1eef0
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
9 years agoRemove egrep from the list of binaries to patch 60/33960/2 accepted/tizen_3.0_ivi accepted/tizen_ivi accepted/tizen/3.0/ivi/20150120.102818 accepted/tizen/common/20150119.092719 accepted/tizen/ivi/20150120.015337 accepted/tizen/ivi/20150126.030003 accepted/tizen/mobile/20150122.091634 accepted/tizen/mobile/20150126.012139 accepted/tizen/tv/20150122.091138 accepted/tizen/tv/20150122.091211 accepted/tizen/wearable/20150122.071935 submit/tizen/20150119.120537 submit/tizen_3.0_ivi/20150120.012249 submit/tizen_3.0_ivi/20150120.070535 submit/tizen_common/20150119.092201 submit/tizen_common/20150119.092527 submit/tizen_ivi/20150119.000000 submit/tizen_mobile/20150123.000000 submit/tizen_tv/20150120.000001 tizen_3.0_ivi_release
Stephane Desneux [Mon, 19 Jan 2015 08:57:48 +0000 (09:57 +0100)]
Remove egrep from the list of binaries to patch

With grep 2.19, egrep is no longer a binary but a shell script.
So it doesn't need to be patched using patchelf (and furthermore it
must be removed from the binaries list, otherwise it makes the
build fail).

Bug-Tizen: TC-2375
Bug-Tizen: TC-1828/related

Change-Id: I51019421bfe8b32b82b58bd8f7fcb121297ef66c
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agopackaging: create aarch64 package from i586, too 84/31284/1 tizen_3.0_ivi accepted/tizen/common/20141204.104414 accepted/tizen/ivi/20141208.070341 accepted/tizen/mobile/20141204.110125 submit/tizen/20141204.050808 submit/tizen_ivi/20150116.424242
Markus Lehtonen [Wed, 3 Dec 2014 12:35:11 +0000 (14:35 +0200)]
packaging: create aarch64 package from i586, too

Makes it possible to have accelerated build for aarch64 even if only
i586 and no x86_64 repository is available.

Change-Id: I7b2b4efe2e4b14cbab5e271a6bfce6b09b398678
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoclean spec file 40/27840/1 accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common accepted/tizen/common/20140919.160436 accepted/tizen/ivi/20141119.110953 submit/tizen_common/20140919.160051 submit/tizen_ivi/20141119.052506 submit/tizen_ivi/20141119.333333 submit/tizen_ivi/20141119.444444 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
Ronan Le Martret [Fri, 19 Sep 2014 15:03:56 +0000 (17:03 +0200)]
clean spec file

 - improve rpmlint score

Change-Id: I0c494c6483055bc181b152b720e64623d8ca8305
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agopackaging: adapt to lib/lib64 directory structure 18/27418/5 accepted/tizen_3.0.m14.3_ivi tizen_3.0.m14.3_ivi accepted/tizen/common/20140918.093154 accepted/tizen/ivi/20140926.185945 submit/tizen/20140917.124329
Ilya Palachev [Mon, 15 Sep 2014 07:37:07 +0000 (11:37 +0400)]
packaging: adapt to lib/lib64 directory structure

1. Create aarch64 binary package from x86_64 build, since it's better
compatible with lib/lib64 directory structure. (in baselibs.conf)

2. Fixed path in symlinks in post-install script. (in baselibs.conf)

3. Disabled packaging of gconv locales that were packed for x86_64
build (that was not used before) from /usr/lib64/gconv/* .
This was done, because these locales are packed in glibc-locale
package for now (so these 2 packages conflict with each other.
(in qemu-accel-aarch64.spec)

Change-Id: I4a98753c6e9229733162f4c922e42e3aa5268549
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
10 years agofix libnsl usage 26/26926/1 accepted/tizen/common/20140901.141740 submit/tizen_common/20140901.141656
Stephane Desneux [Mon, 1 Sep 2014 14:15:13 +0000 (16:15 +0200)]
fix libnsl usage

Change-Id: I6572087f43e27ce051d099f7b77c45b55c20b59f
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
10 years agobaselibs: fix rpm macro usage in regenerated post section 21/26921/1 accepted/tizen/common/20140901.131759 submit/tizen_common/20140901.131435
Stephane Desneux [Mon, 1 Sep 2014 12:39:22 +0000 (14:39 +0200)]
baselibs: fix rpm macro usage in regenerated post section

RPM macros can't be used in baselibs.conf, as the post section
is not re-evaluated.

Change-Id: I4b869d720aa8679056c27bd11d58f1d207a54593
Bug-Tizen: TC-1549
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
10 years agoTrying to fix undefined macro our_path 69/26869/1 accepted/tizen/common/20140901.080223 submit/tizen_common/20140901.075125
José Bollo [Fri, 29 Aug 2014 16:30:45 +0000 (18:30 +0200)]
Trying to fix undefined macro our_path

Change-Id: Ibd89d6f7fbc4e5ce056139b38d9f393f66ba4c5f
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agopackaging: fix build inconsistency in qemu-accel.spec 55/26055/1 accepted/tizen/common/20140827.125732 accepted/tizen/common/20140827.165838 submit/tizen_common/20140827.125321 submit/tizen_common/20140827.165803
Stephane Desneux [Thu, 14 Aug 2014 17:58:51 +0000 (19:58 +0200)]
packaging: fix build inconsistency in qemu-accel.spec

qemu-accel shouldn't be built in itself. Linked packages with
proper name (qemu-accel-armv7l, qemu-accel-armv7hl ...) are
used instead. This fixes some build error in prerelease builds
when submitting qemu-accel.

Change-Id: I3556452fa54c3160878983c7272649b08b98a286
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
10 years agoFix wrapper script of cross ld executable 05/25905/1 submit/tizen/20140812.112543 submit/tizen_common/20140814.021031
Ilya Palachev [Tue, 12 Aug 2014 11:59:48 +0000 (15:59 +0400)]
Fix wrapper script of cross ld executable

This patch is intended to fix build issues that were ontained
during the total rebuild of clone of Tizen:Common project.

We have obtained several build issues during the build of packages
gumd, libsolv and glibc -- because of some mistakes in wrapper
scripts.

Now they're fixed by:

1. Removing ( ) construction that caused always-true return value
from the script (this caused some bugs during ./configure run for
some packages)

2. Removing "exec" command, because otherwise we cannnot launch
native ld is cross ld fails.

3. Parsing command line option string and removing option "--sysroot"
from it -- when we're calling native ld instead of cross ld

4. Adding "exit $?" command to avoid second launch of ld binary

Change-Id: Iaf60eaed9ae215b12eaa6a229190a71adb1562c8
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
10 years agoAdd Aarch64 support and support of upgraded toolchain 69/25369/7
Ilya Palachev [Mon, 4 Aug 2014 10:59:11 +0000 (14:59 +0400)]
Add Aarch64 support and support of upgraded toolchain

1. Added spec-file qemu-accel-aarch64.spec for Aarch64 architecture
of qemu-accel. It's based on modified file qemu-accel-armv7l.spec.

2. Added support of adding new cross utilities using separate macros,
instead of hardcoded list of binaries that is hard to maintain. So
now it's possible to add/remove groups of binaries using macros.
(only in qemu-accel-aarch64.spec)

3. Added optional switch between native and cross-accelerated binfmt
mode using macro "use_binfmt_binary". Depending on its value the file
baselibs.conf is modified so that to turn on native or cross binfmt
mode (binary qemu-aarch64 provides native mode, qemu-aarch64-binfmt
provides cross-accelerated mode).
(only in qemu-accel-aarch64.spec)

4. Added macros "gcc_version" and "gcc_version_dot" to control gcc
version through macros (currently they are set directly by hardcoded
version numbers).
(in qemu-accel-aarch64.spec and qemu-accel-armv7l.spec)

5. Added post-install script for qemu-accel-aarch64 package in
baselibs.conf file.

6. Generation of redundant packages "qemu-accel-armv7l-*.aarch64.rpm"
and "qemu-accel-aarch64-*.armv7l.rpm" is avoided by commands
"targettype ... block!" in file baselibs.conf.

7. Added wrapper script also for /usr/bin/g++ (currently there is a
wrapper script only for /usr/bin/gcc). This wrapper runs native
compiler instead of cross one in case when environment variable
LD_LIBRARY_PATH is set. This is done because "If LIBRARY_PATH is set,
native gcc adds the contents to its library search list, but cross
gcc does not. So switch to all native in these situations".
(in qemu-accel-aarch64.spec and qemu-accel-armv7l.spec)

8. Added two options "-B" for each call of cross compiler (gcc or
g++) using existing wrapper script. This is done because in current
configuration of toolchain directories compiler fails to find
binutils executables. Options "-B" set direct paths to these
directories.
(in qemu-accel-aarch64.spec and qemu-accel-armv7l.spec)

9. Run native linker (/usr/bin/ld) in case when cross-accelerated
linker fails. This is the only way to build current version of gcc,
because otherwise the build fails with following error:

ld: ./gcc/liblto_plugin.so: error loading plugin:
    ./gcc/liblto_plugin.so: cannot open shared object file:
    No such file or directory

This happens because cross ld cannot use native module
liblto_plugin.so generated during the build of gcc. (It is done in
post-install script in baselibs.conf both for aarch64 and armv7l)

10. Created symlinks to files needed by native ld for the case when
we want to use it instead of cross-accelerated ld (crtbegin.o,
crtbeginS.o, crtbeginT.o, crtend.o, crtendS.o). (It is done in
post-install script in baselibs.conf both for aarch64 and armv7l)

11. Cutted off extra path (/emul/...) in the case when we want to use
native ld instead of cross-accelerated ld. It is done in post-install
script in baselibs.conf.

Change-Id: I294bc231b511c95a78cc58bcb441ac9ed56c4069
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
10 years ago[ARM v7l] Fix build for x64 host 98/20898/1 tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
Baptiste DURAND [Tue, 13 May 2014 14:28:08 +0000 (16:28 +0200)]
[ARM v7l] Fix build for x64 host

Change-Id: I8c9fd68f5c09356aa6c3c1429908d275a64d229f
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
10 years agoInstall glibc-locale files in /emul 84/18584/3 submit/tizen_common/20140425.153946 submit/tizen_common/20140513.140658
Maciej Wereski [Wed, 26 Mar 2014 14:55:18 +0000 (15:55 +0100)]
Install glibc-locale files in /emul

These files are required for some gettext tools to work properly.
Such tool is msgmerge, which fails with following message:

msgmerge: Cannot convert from "ISO-8859-1" to "UTF-8". msgmerge
relies on iconv(), and iconv() does not support this conversion.
msgmerge for nb.po failed!

Also change chmod 777 to 755 for /emul

Change-Id: Iab1fa355521856511cb8c01b7658e8d97090e7a8
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agoEnable 32 bit mode. accepted/tizen/mobile accepted/tizen_ivi_panda devel tizen_ivi_panda accepted/tizen/20131121.182550 accepted/tizen/20131122.182020 accepted/tizen/ivi/20140308.005454 accepted/tizen/ivi/panda/20140321.225633 accepted/tizen/ivi/panda/20140331.201636 accepted/tizen/ivi/panda/20140408.201606 accepted/tizen/mobile/20140310.025732 submit/tizen/20131121.094738 submit/tizen/20140307.080755 submit/tizen_ivi_panda/20140321.225745 submit/tizen_ivi_panda/20140331.202043 submit/tizen_ivi_panda/20140408.202012
Junfeng Dong [Tue, 19 Nov 2013 11:38:42 +0000 (19:38 +0800)]
Enable 32 bit mode.

Change-Id: Idb529b7d0594efd0e1b1cb7225d897903683e25c
Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
10 years agoadd the c++ include path to be identified by cross-arm-gcc driver 54/12354/1 accepted/tizen/20131118.065954 accepted/tizen/20131118.070337 accepted/tizen/20131118.174256 submit/tizen/20131118.014916 submit/tizen/20131118.070324
Bogon Kim [Thu, 14 Nov 2013 02:51:36 +0000 (11:51 +0900)]
add the c++ include path to be identified by cross-arm-gcc driver

Change-Id: I965d622595d0f73aab35401206d300a6cef30b1b
Signed-off-by: Bogon Kim <bogon82.kim@samsung.com>
11 years agoAdd post script for cross pkgs created by baselib.conf 98/11298/1 accepted/tizen/ivi/release accepted/tizen/20131025.200838 accepted/tizen/20131025.214733 accepted/tizen/20131112.015152 submit/tizen/20131025.201555
Zhang Qiang [Thu, 24 Oct 2013 03:08:24 +0000 (11:08 +0800)]
Add post script for cross pkgs created by baselib.conf

Change-Id: I31e0341ed257fad59e40374d91900b20bb8b9928
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
11 years agofixed baselibs for armv7l generation submit/tizen/20130828.210920
Anas Nashif [Wed, 28 Aug 2013 21:07:52 +0000 (17:07 -0400)]
fixed baselibs for armv7l generation

11 years agoadd baselibs.conf submit/tizen/20130828.192134
Anas Nashif [Wed, 28 Aug 2013 19:19:47 +0000 (15:19 -0400)]
add baselibs.conf

also add some debugging.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agosupport gcc 48 submit/tizen/20130827.211238
Anas Nashif [Tue, 27 Aug 2013 21:12:12 +0000 (17:12 -0400)]
support gcc 48

11 years agouse gcc 4.8 22/8822/1
Anas Nashif [Thu, 8 Aug 2013 13:13:47 +0000 (09:13 -0400)]
use gcc 4.8

11 years agoFix armv7l. 68/5568/2 accepted/tizen/20130711.115830 submit/tizen/20130711.123431
Junfeng Dong [Tue, 9 Jul 2013 07:50:41 +0000 (15:50 +0800)]
Fix armv7l.

Change-Id: I1a5649bc3512474a0bd7033ede7603077ef7ca5a
Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
11 years agoadd armv7l support accepted/tizen/20130603.222012 submit/tizen/20130603.150350
Anas Nashif [Mon, 3 Jun 2013 15:03:47 +0000 (11:03 -0400)]
add armv7l support

11 years agoadd armv7l support submit/tizen/20130603.150023 submit/tizen/20130603.150108
Anas Nashif [Mon, 3 Jun 2013 15:00:19 +0000 (11:00 -0400)]
add armv7l support

11 years agolink bin to usr/bin accepted/tizen/20130531.120156 submit/tizen/20130531.044522
Anas Nashif [Fri, 31 May 2013 04:45:19 +0000 (00:45 -0400)]
link bin to usr/bin

11 years agoAdd rpmdb to binary list accepted/tizen/20130531.025409 submit/tizen/20130530.193729
Anas Nashif [Thu, 30 May 2013 19:37:25 +0000 (15:37 -0400)]
Add rpmdb to binary list

11 years agoFix build on ARM accepted/tizen/20130530.190839 submit/tizen/20130530.115151
Anas Nashif [Thu, 30 May 2013 11:51:48 +0000 (07:51 -0400)]
Fix build on ARM

11 years agolink to right bash accepted/tizen/20130530.183320 submit/tizen/20130530.111119
Anas Nashif [Thu, 30 May 2013 11:11:16 +0000 (07:11 -0400)]
link to right bash

11 years agoadd dummy spec accepted/tizen/20130530.180357 submit/tizen/20130530.104715
Anas Nashif [Thu, 30 May 2013 10:47:03 +0000 (06:47 -0400)]
add dummy spec

11 years agoinitial master submit/tizen/20130530.104440
Anas Nashif [Wed, 21 Nov 2012 18:05:39 +0000 (10:05 -0800)]
initial