Dear Tizen developers,

Currently we are using two host environments, as you know, i586 and x86_64.
But, with i586, there are many kinds of requirements and problems.
So I’d like to fix host architecture to x86_64 only.
Please note that, it’s for only cross build environment for arm target not i586 
and x86_64 target.

This change is applied from Dec 12 to all Tizen:3.0:* and Tizen:* project.
Please see the details below.

Changes
========

fix host architecture to x86_64 when using qemu / qemu-accel / python-accel for 
arm target.
It affects,
- Tizen:3.0:Base and Tizen:3.0:[Mobile/Wearable/Common/IVI/TV]
- Tizen:Base and Tizen:[Mobile/Wearable/Common/IVI/TV]

Reasons
========

1. dotnet requirement
- They must use x86_64 qemu / accel to build their some packages such as coreclr
2. 64bit target requirement
- It is necessary to use x86_64 qemu / accel for 64bit target.
3. Toolchain development
- It’s hard to manage memory with i586 qemu / accel because Some toolchain 
technology such as LTO, Sanitizer family development
needs large memory.
4. chromium-efl build failure
- Same as 3). because sometimes it needs large memory to build.
 
Issues & Solutions
===================
 
1. It doesn’t support i586 host
- x86_64 qemu / qemu-accel / python-accel packages are installed to host, and 
they cannot be executed on i586 architecture.
- Strongly recommended reinstalling x86_64 OS
- For i586 GBS users, there is a guide using x86 qemu / qemu-accel / python 
accel. Please see the below guide
- For i586 OSC users, I’m sorry I can’t help them. Please reinstall x86_64 OS.
 
Change date
============
Next week (12/12~)
 
 
GBS build guide for i586 GBS user
===================================
 
1. copy build conf to local directory
- You can find build conf at the below download server,
  : e.g., for target-TM1, [hash]-build.conf.gz in 
http://download.tizen.org/snapshots/tizen/mobile/latest/repos/target-
TM1/packages/repodata/
- Or you can use below build conf after building once,
  : /var/tmp/[userid]-gbs/[profile name in .gbs.conf].conf 
  : [build root in .gbs.conf]/local/BUILD-ROOTS/scratch.*/[profile name in 
.gbs.conf].conf
 
2. modify build_hostarch like below
------------------------------------------------
…
- %define build_hostarch x86_64
+ %define build_hostarch x86
Macros:
- %build_hostarch x86_64
+ %build_hostarch x86
:Macros
…
------------------------------------------------

3. gbs build with local build conf
------------------------------------------------
$ gbs build -A [arch] -D [build conf path/name]
------------------------------------------------

- e.g., 
------------------------------------------------ 
$ gbs build -A armv7l -D ./public_3.0_mobile_tm1.conf
------------------------------------------------

- Or you can add ‘buildconf’ in .gbs.conf like,
------------------------------------------------
[profile.profile name]
+ buildconf = [build conf path/name] 
------------------------------------------------

Thanks,
Chan Lee


_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to