summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-06-16Fix update-alternatives call in baselibs.confsubmit/tizen_wearable/20150617.000000submit/tizen_tv/20150617.000000submit/tizen_mobile/20150617.000000submit/tizen_common/20150616.131936submit/tizen_3.0.2015.q2_common/20150616.131924submit/tizen/20150616.132010accepted/tizen/wearable/20150617.082247accepted/tizen/tv/20150617.082235accepted/tizen/mobile/20150617.082220accepted/tizen/common/20150616.134547accepted/tizen/3.0.2015.q2/common/20150616.134034tizen_3.0.2015.q2_commonaccepted/tizen_3.0.2015.q2_commonYury Usishchev1-4/+4
Change-Id: I4c61814eebc62fbfb7051bb2ef5a7c4eb84a067b Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
2015-06-16accelerate also pkg-config and filesubmit/tizen_common/20150616.103540submit/tizen_3.0.2015.q2_common/20150616.103558submit/tizen/20150616.103524accepted/tizen/wearable/20150616.105309accepted/tizen/tv/20150616.105258accepted/tizen/mobile/20150616.105244accepted/tizen/common/20150616.104515accepted/tizen/3.0.2015.q2/common/20150616.104458Ilya Palachev1-0/+2
This helps to reduce build time on up to 4 seconds for packages that use cmake build scripts. Since this is a typical use case, a lot of server time will be saved. Also we added one workaround for old mkbaselibs bug in baselibs.conf Change-Id: I523aa90907d27cfcd7887834d09a4b08a3fa5967 Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
2015-06-16Add cmake to accelerate the buildIlya Palachev3-3/+9
Change-Id: I3db1307bc755af87f594e8c5927c649e3e9a342b Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
2015-04-13Install cross LTO plugin when installing qemu-accelsubmit/tizen_common/20150616.095732submit/tizen_3.0.2015.q2_common/20150616.095826accepted/tizen/common/20150616.100059accepted/tizen/3.0.2015.q2/common/20150616.100208Nikolai Bozhenov4-0/+74
So that binutils can work with LTO objects without additional flags in qemu-accel mode Change-Id: Ic50d79a6453a51ca39e7dc6b251190e70304dae2
2015-04-06Do not install msm.sosubmit/tizen_wearable/20150521.010049submit/tizen_tv/20150521.010036submit/tizen_mobile/20150521.010058submit/tizen_common/20150518.122814accepted/tizen/wearable/20150521.063957accepted/tizen/tv/20150521.074602accepted/tizen/mobile/20150521.074718accepted/tizen/common/20150520.164525Yury Usishchev3-6/+6
msm.so from cross-install was not used Change-Id: Ib01a3a02e831e3df3156a02b4f87c5b45e60a85c Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
2015-01-21Add auto-generation of spec-files and enable Gold linkersubmit/tizen_wearable/20150204.011455submit/tizen_wearable/20150202.034712submit/tizen_tv/20150204.012408submit/tizen_mobile/20150204.011944submit/tizen_mobile/20150129.000000submit/tizen_ivi/20150206.082313submit/tizen_common/20150127.143638accepted/tizen/wearable/20150204.014316accepted/tizen/tv/20150206.074816accepted/tizen/mobile/20150205.042648accepted/tizen/common/20150127.151353tizen_3.0.2015.q1_commontizen_3.0.2014.q4_commonIlya Palachev10-698/+641
Rationale: ========== 1. There is a big mess (target-dependent or legacy) in our spec-files for qemu-accel packages, and it's hard to maintain it. 2. Cross Gold linker must be enabled, because some packages want to use LTO build (crosswalk). Changes: ======== * pre_checkin.sh : New pre-checkin script. ------------------------------------------ Please, run this script in "package" directory before creating a commit for qemu-accel package. It copies qemu-accel.spec.in to qemu-accel-*.spec files and replaces the following macros to target-dependent ones: - EMULATED_ARCH_LONG - EMULATED_ARCH_SHORT - EMULATED_ARCH_SYNONIM - EMULATED_ARCH_TRIPLE_SHORT - EMULATED_ARCH_TRIPLE_LONG Corresponding RPM macros are defined in each spec-file independently, and these 5 lines are the only 5 lines on which these spec-files differ. They are: +----------------------------+---------------------------+---------------------+ | Macro | Value | Value | | | for armv7l | for aarch64 | +----------------------------+---------------------------+---------------------+ | EMULATED_ARCH_LONG | armv7l | aarch64 | +----------------------------+---------------------------+---------------------+ | EMULATED_ARCH_SHORT | arm | aarch64 | +----------------------------+---------------------------+---------------------+ | EMULATED_ARCH_SYNONIM | arm | arm64 | +----------------------------+---------------------------+---------------------+ | EMULATED_ARCH_TRIPLE_SHORT | arm-tizen-linux-gnueabi | aarch64-tizen-linux | +----------------------------+---------------------------+---------------------+ | EMULATED_ARCH_TRIPLE_LONG | armv7l-tizen-linux-gnueabi| aarch64-tizen-linux | +----------------------------+---------------------------+---------------------+ * qemu-accel.spec.in : New spec-file template. ---------------------------------------------- All spec-files should be generated from that. Our version of qemu-accel had been inherited from OpenSUSE long time ago, and since that time nobody worried about the fact that they must not have target-dependent code (which is hard to maintain). This template was written based on latest versions of qemu-accel-aarch64.spec and qemu-accel-armv7l.spec, so that to get all needed actions from both of them. + The support for Gold linker was added, since it is now needed by crosswalk, and cross-*-binutils package now can provide *-ld.gold binaries. + The support for cross elfutils was added, since native eu-strip fails on gold-linked binaries for unknown reason (under qemu). + The support for cross XSLT was added, since it helps to reduce build time of systemd from 701s to 407s * gcc-wrapper.sh : New script. ------------------------------ Used at run-time as a wrapper for gcc, g++ and other compiler names. Before that it was generated via spec-file. Once it becomes more and more complex, it looks better to separate it to independent file. Target-dependent things are generated into script wrapper-config.sh, which is generated via spec-file. * ld-wrapper.sh : New script. ---------------------------- Ditto for ld and ld.gold. * qemu-accel-aarch64.spec : Auto-generated from qemu-accel.spec.in ------------------------------------------------------------------ * qemu-accel-armv7l.spec : Ditto -------------------------------- * baselibs.conf : Changed corresponding to new spec-file policy --------------------------------------------------------------- Removed legacy enabling/disabling of binfmt mode, because we added it for debugging purposes during the enabling of aarch64 build. Now it's not needed. Binaries /usr/bin/qemu-* now are not packed in qemu-accel-* packages, because they conflict with qemu-linux-user-cross-* package. If needed files /usr/bin/qemu-* do not exist, post-install script creates symbolic links as follows: /usr/bin/qemu-* -> /qemu/qemu-* * qemu-accel.spec : Removed --------------------------- The current structure of OBS packages looks as follows: qemu-accel (build disabled) | +---- (linkpac) ----> qemu-accel-armv7l (build enabled) | +---- (linkpac) ----> qemu-accel-aarch64 (build enabled) qemu-accel.spec is not used at all, so it looks better to delete it at all. In this case we will have state "excluded" for it. * qemu-accel-armv7l.changes : Removed ------------------------------------- All changes are now tracked via Git, so it's not needed to duplicate them here. * qemu-accel-armv7hl-rpmlintrc : Removed ---------------------------------------- This file was added to workaround rpmlint errors. But now we have no rpmlint errors (just warnings), and this file is not needed now. Change-Id: Ifb15d69ec83ec8bcf6ade52bdc4ca960aff481ce Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
2015-01-19remove unused filesLi Jinjing3-655/+0
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>
2015-01-19Remove egrep from the list of binaries to patchtizen_3.0_ivi_releasesubmit/tizen_tv/20150120.000001submit/tizen_mobile/20150123.000000submit/tizen_ivi/20150119.000000submit/tizen_common/20150119.092527submit/tizen_common/20150119.092201submit/tizen_3.0_ivi/20150120.070535submit/tizen_3.0_ivi/20150120.012249submit/tizen/20150119.120537accepted/tizen/wearable/20150122.071935accepted/tizen/tv/20150122.091211accepted/tizen/tv/20150122.091138accepted/tizen/mobile/20150126.012139accepted/tizen/mobile/20150122.091634accepted/tizen/ivi/20150126.030003accepted/tizen/ivi/20150120.015337accepted/tizen/common/20150119.092719accepted/tizen/3.0/ivi/20150120.102818accepted/tizen_iviaccepted/tizen_3.0_iviStephane Desneux5-20/+20
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>
2014-12-03packaging: create aarch64 package from i586, toosubmit/tizen_ivi/20150116.424242submit/tizen/20141204.050808accepted/tizen/mobile/20141204.110125accepted/tizen/ivi/20141208.070341accepted/tizen/common/20141204.104414tizen_3.0_iviMarkus Lehtonen1-1/+1
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>
2014-09-19clean spec filetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20141119.444444submit/tizen_ivi/20141119.333333submit/tizen_ivi/20141119.052506submit/tizen_common/20140919.160051accepted/tizen/ivi/20141119.110953accepted/tizen/common/20140919.160436tizen_3.0.2014.q3_commonaccepted/tizen_3.0.2014.q3_commonRonan Le Martret1-9/+15
- improve rpmlint score Change-Id: I0c494c6483055bc181b152b720e64623d8ca8305 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-09-15packaging: adapt to lib/lib64 directory structuresubmit/tizen/20140917.124329accepted/tizen/ivi/20140926.185945accepted/tizen/common/20140918.093154tizen_3.0.m14.3_iviaccepted/tizen_3.0.m14.3_iviIlya Palachev2-12/+3
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>
2014-09-01fix libnsl usagesubmit/tizen_common/20140901.141656accepted/tizen/common/20140901.141740Stephane Desneux1-0/+1
Change-Id: I6572087f43e27ce051d099f7b77c45b55c20b59f Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
2014-09-01baselibs: fix rpm macro usage in regenerated post sectionsubmit/tizen_common/20140901.131435accepted/tizen/common/20140901.131759Stephane Desneux1-1/+1
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>
2014-08-29Trying to fix undefined macro our_pathsubmit/tizen_common/20140901.075125accepted/tizen/common/20140901.080223José Bollo1-2/+2
Change-Id: Ibd89d6f7fbc4e5ce056139b38d9f393f66ba4c5f Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
2014-08-14packaging: fix build inconsistency in qemu-accel.specsubmit/tizen_common/20140827.165803submit/tizen_common/20140827.125321accepted/tizen/common/20140827.165838accepted/tizen/common/20140827.125732Stephane Desneux1-5/+5
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>
2014-08-12Fix wrapper script of cross ld executablesubmit/tizen_common/20140814.021031submit/tizen/20140812.112543Ilya Palachev2-5/+7
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>
2014-08-08Add Aarch64 support and support of upgraded toolchainIlya Palachev3-23/+551
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>
2014-05-13[ARM v7l] Fix build for x64 hosttizen_3.0.m14.3_ivi_releasetizen_3.0.m14.2_ivi_releaseBaptiste DURAND1-1/+8
Change-Id: I8c9fd68f5c09356aa6c3c1429908d275a64d229f Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
2014-04-11Install glibc-locale files in /emulsubmit/tizen_common/20140513.140658submit/tizen_common/20140425.153946Maciej Wereski4-8/+36
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>
2013-11-19Enable 32 bit mode.submit/tizen_ivi_panda/20140408.202012submit/tizen_ivi_panda/20140331.202043submit/tizen_ivi_panda/20140321.225745submit/tizen/20140307.080755submit/tizen/20131121.094738accepted/tizen/mobile/20140310.025732accepted/tizen/ivi/panda/20140408.201606accepted/tizen/ivi/panda/20140331.201636accepted/tizen/ivi/panda/20140321.225633accepted/tizen/ivi/20140308.005454accepted/tizen/20131122.182020accepted/tizen/20131121.182550tizen_ivi_pandadevelaccepted/tizen_ivi_pandaaccepted/tizen/mobileJunfeng Dong2-10/+23
Change-Id: Idb529b7d0594efd0e1b1cb7225d897903683e25c Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
2013-11-14add the c++ include path to be identified by cross-arm-gcc driversubmit/tizen/20131118.070324submit/tizen/20131118.014916accepted/tizen/20131118.174256accepted/tizen/20131118.070337accepted/tizen/20131118.065954Bogon Kim1-1/+4
Change-Id: I965d622595d0f73aab35401206d300a6cef30b1b Signed-off-by: Bogon Kim <bogon82.kim@samsung.com>
2013-10-24Add post script for cross pkgs created by baselib.confsubmit/tizen/20131025.201555accepted/tizen/20131112.015152accepted/tizen/20131025.214733accepted/tizen/20131025.200838accepted/tizen/ivi/releaseZhang Qiang1-0/+41
Change-Id: I31e0341ed257fad59e40374d91900b20bb8b9928 Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
2013-08-28fixed baselibs for armv7l generationsubmit/tizen/20130828.210920Anas Nashif1-1/+1
2013-08-28add baselibs.confsubmit/tizen/20130828.192134Anas Nashif3-1/+11
also add some debugging. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2013-08-27support gcc 48submit/tizen/20130827.211238Anas Nashif1-6/+6
2013-08-08use gcc 4.8Anas Nashif1-6/+6
2013-07-10Fix armv7l.submit/tizen/20130711.123431accepted/tizen/20130711.115830Junfeng Dong2-10/+28
Change-Id: I1a5649bc3512474a0bd7033ede7603077ef7ca5a Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
2013-06-03add armv7l supportsubmit/tizen/20130603.150350accepted/tizen/20130603.222012Anas Nashif1-0/+281
2013-06-03add armv7l supportsubmit/tizen/20130603.150108submit/tizen/20130603.150023Anas Nashif1-0/+3
2013-05-31link bin to usr/binsubmit/tizen/20130531.044522accepted/tizen/20130531.120156Anas Nashif2-0/+4
2013-05-30Add rpmdb to binary listsubmit/tizen/20130530.193729accepted/tizen/20130531.025409Anas Nashif2-2/+5
2013-05-30Fix build on ARMsubmit/tizen/20130530.115151accepted/tizen/20130530.190839Anas Nashif2-5/+26
2013-05-30link to right bashsubmit/tizen/20130530.111119accepted/tizen/20130530.183320Anas Nashif3-222/+4
2013-05-30add dummy specsubmit/tizen/20130530.104715accepted/tizen/20130530.180357Anas Nashif1-0/+261
2012-11-21initialsubmit/tizen/20130530.104440masterAnas Nashif4-0/+831