platform/upstream/gcc-contrib.git
4 years ago[libasansi] Add asansi-runtime-env package. 76/212876/8 accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv accepted/tizen/5.5/base/20191030.082416 accepted/tizen/5.5/base/mobile/hotfix/20201023.084608 accepted/tizen/5.5/base/wearable/hotfix/20201023.080949 accepted/tizen/base/20190901.121333 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_base/20190829.163531 tizen_5.5.m2_release
Andrey Drobyshev [Tue, 27 Aug 2019 16:38:36 +0000 (19:38 +0300)]
[libasansi] Add asansi-runtime-env package.

Change-Id: I1795b258492f7fa583c8c7a9901b0abdaf28d03c
Signed-off-by: Andrey Drobyshev <a.drobyshev@samsung.com>
4 years ago[gcov] Add gcov-force-options package. 71/208871/3 accepted/tizen/base/20190704.235733 submit/tizen_base/20190703.121846
Pavel Kopyl [Wed, 28 Mar 2018 19:59:15 +0000 (22:59 +0300)]
[gcov] Add gcov-force-options package.

Change-Id: I48c2d7afdb7e234a77c6e6606139757dc316bb2b

4 years agoDo not terminate the process with ASan on allocator returning 0 13/208613/1 accepted/tizen/base/20190629.012834 submit/tizen_base/20190627.021435
Mikhail Kashkarov [Wed, 26 Jun 2019 10:41:55 +0000 (13:41 +0300)]
Do not terminate the process with ASan on allocator returning 0

ASan allocator will not crash and return 0 in case of out-of-memory.

Currently *null* will be returned for the following cases inside internal
allocator:

- Requested size is more than 3 << 30 for 32bits and 1 << 40 for 64bits.
- Requested size overflow.
- RSS limit excided
- mmap syscall returns 0

Change-Id: Iddb84e52153449965bc6de2fd33807478db50cd3

5 years agoReplace scripts for asan-runtime-env package with files 33/195733/3 sandbox/mkashkarov/asan-runtime-env accepted/tizen/base/20190503.075137 submit/tizen_base/20190426.043255
Mikhail Kashkarov [Mon, 17 Dec 2018 16:58:11 +0000 (19:58 +0300)]
Replace scripts for asan-runtime-env package with files

Mic is now supporting %prepackages section which allows rpm installation
without executing scripts.

The main problem is that we want to place the same file /etc/ld.so.preload
with different context into different packages(asan/lsan-runtime-env) and
rpm doesn't let us do this easely:

http://lists.rpm.org/pipermail/rpm-list/2011-June/000911.html

Fix only *asan-runtime-env* package for now.

Change-Id: Ibbfc3cf2ca464022f997440161aaad3f4a56ac4c

5 years agoSynchronize <X>SAN_OPTIONS with <x>san_runtime_env variable values 34/195734/2
Mikhail Kashkarov [Mon, 17 Dec 2018 16:37:43 +0000 (19:37 +0300)]
Synchronize <X>SAN_OPTIONS with <x>san_runtime_env variable values

Generate XSAN_OPTIONS in %build stage, replace "cp + chmod" with install
commands.

Change-Id: Ie3fed76c658c07ff2e2569b84d070410e298add8

5 years agoAdd gcc-warning-build-env - GCC build environment for warning logs 96/169296/10 accepted/tizen/base/20190111.055038 submit/tizen_base/20181228.105429 submit/tizen_base/20190108.221718
Oleg Ogurtsov [Mon, 5 Feb 2018 15:28:35 +0000 (18:28 +0300)]
Add gcc-warning-build-env - GCC build environment for warning logs

Change-Id: Id18859d1a3f5ff8370a59dba2f8812bc7f73d717

5 years agoAdd GCC log wrapper 95/169295/8
Oleg Ogurtsov [Mon, 5 Feb 2018 13:05:29 +0000 (16:05 +0300)]
Add GCC log wrapper

Change-Id: I304ad9af069ffe133d23e798a2ce707704ed5dd2

5 years agoMerge "[Sanitizers] Add %_auxbuildinfo to mark sanitized packages" into tizen_base
Dongkyun Son [Fri, 28 Dec 2018 10:42:25 +0000 (10:42 +0000)]
Merge "[Sanitizers] Add %_auxbuildinfo to mark sanitized packages" into tizen_base

5 years ago[Sanitizers] Add %_auxbuildinfo to mark sanitized packages 77/193077/7
Slava Barinov [Wed, 14 Nov 2018 08:58:30 +0000 (11:58 +0300)]
[Sanitizers] Add %_auxbuildinfo to mark sanitized packages

Change-Id: I631230c077267ec44a9202f10b039a004fa83f0f
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
5 years agoDo not apply force-options to clang++ binary 28/193828/1 accepted/tizen/base/20181130.134818 submit/tizen_base/20181128.144839
Mikhail Kashkarov [Mon, 26 Nov 2018 16:39:23 +0000 (19:39 +0300)]
Do not apply force-options to clang++ binary

"clang++" binary matches "(..|g\+\+|..)$" regex which was not intended for this:
this allows to pass gcc-speciefic options to clang driver resulting in build
errors due to unknown flags.

Fix pattern matching and refactor a bit.

Change-Id: I3fe0cb335f118e61e08399f6bed41232a0c84e17
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
5 years agopackaging: set %arm(armv7l and armv7hl) to esan_arch 10/191610/3 accepted/tizen/base/20181109.114834 submit/tizen_base/20181105.081624
Dongkyun Son [Fri, 19 Oct 2018 03:54:58 +0000 (12:54 +0900)]
packaging: set %arm(armv7l and armv7hl) to esan_arch

Change-Id: I37194c905e1dcecb8264b4c0d449cc0575ef3f01
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
5 years ago[Sanitizers] Enable build with thumb frame pointer. 37/189137/1
Denis Khalikov [Fri, 3 Aug 2018 09:54:16 +0000 (12:54 +0300)]
[Sanitizers] Enable build with thumb frame pointer.

Change-Id: Ibdd7004dcf26febe92feba75d2ed31443c0719a9

5 years ago[ESan] EfficiencySanitizer support packages. 55/168855/4 accepted/tizen_5.0_base tizen_5.0_base accepted/tizen/5.0/base/20181101.090452 accepted/tizen/base/20180720.112025 submit/tizen_5.0_base/20181101.000001 submit/tizen_base/20180720.055539
Denis Khalikov [Fri, 26 Jan 2018 10:43:17 +0000 (13:43 +0300)]
[ESan] EfficiencySanitizer support packages.

Add esan-runtime-env, esan-build-env and
esan-force-options packages.

Change-Id: Ibd4deaf217092e4c4067ec408d176e7227369680

5 years agopackaging: add "fast_unwind_on_fatal=1" to asan_runtime_options 97/184397/2 accepted/tizen/base/20180720.111957 submit/tizen_base/20180719.091532
Dongkyun Son [Tue, 17 Jul 2018 23:53:35 +0000 (08:53 +0900)]
packaging: add "fast_unwind_on_fatal=1" to asan_runtime_options

Change-Id: Ic4ce07fadd8978a329a1ea02a558852a70050c6e
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 years agopackaging: add marm option to asan_force_options 00/175100/4 accepted/tizen/base/20180622.191829 submit/tizen_base/20180621.081209
Dongkyun Son [Mon, 9 Apr 2018 00:01:57 +0000 (09:01 +0900)]
packaging: add marm option to asan_force_options

Frame-pointer-based unwinding does not work on Thumb.

Note that binary size will be bigger, but backtraces will be readable.

Change-Id: I60d9bbfaaac8ed5ebe2525d5a8b99eec5139c8e6
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 years agopackaging: do not registers the SEGV handler in ASan runtime. 50/176950/1 accepted/tizen/base/20180427.142226 submit/tizen_base/20180427.075312
Dongkyun Son [Tue, 24 Apr 2018 08:29:52 +0000 (17:29 +0900)]
packaging: do not registers the SEGV handler in ASan runtime.

There is "ASAN:DEADLYSIGNAL" report which is not necessary information
in Tizen. Basially, signal handler is registered and managed by
crash-manager in Tizen.

handle_segv: Controls custom tool's SEGV handler
0 - do not registers the handler,
1 - register the handler and allow user to set own,
2 - registers the handler and block user from changing it).

Change-Id: I84449c3e65a8bd7cbec82432dcbce1c749dbde3c
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 years agoFind package name with hyphen in %asan_incompatible_pkgs 03/175903/1 accepted/tizen/base/20180420.170845 submit/tizen_base/20180417.072816
Chan Lee [Fri, 13 Apr 2018 07:59:42 +0000 (16:59 +0900)]
Find package name with hyphen in %asan_incompatible_pkgs

find.string fuction can not find string with hyphen
because hyphen is regarded as special character.
This commit makes find.string function check all strings as plain text.

Change-Id: I5464938953cb373135e993134aa238e1974e1ee6
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
6 years ago[ASan] Create a blacklist for ASan build 19/173419/3 accepted/tizen/base/20180413.181200 submit/tizen_base/20180412.024621
Slava Barinov [Wed, 21 Mar 2018 08:52:38 +0000 (11:52 +0300)]
[ASan] Create a blacklist for ASan build

If the package is added to %asan_incompatible_pkgs in project config, the macro
%gcc_unforce_options will be executed before build.

This approach can be applied to some of packages which are not intended to
build with ASan and disabling ASan flags is enough.

Change-Id: I12af731714768f3c207fa115fb78efec88ba177b
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
6 years ago[TSan] Add new runtime flag "run_under_qemu". 21/159921/6 sandbox/chanleebf/test accepted/tizen/base/20171208.204013 accepted/tizen/base/20180416.213934 submit/tizen_base/20171207.085008 submit/tizen_base/20180416.141818
Denis Khalikov [Mon, 13 Nov 2017 17:48:14 +0000 (20:48 +0300)]
[TSan] Add new runtime flag "run_under_qemu".

This flag allows to manage cross build for
binaries with TSan instrumentation.

Change-Id: I41b1cca0506c566f2070f9c17ca68945a3d707f5

6 years ago[TSan] Add tsan-force-options, tsan-runtime-env. 77/156677/5
Denis Khalikov [Thu, 19 Oct 2017 09:25:31 +0000 (12:25 +0300)]
[TSan] Add tsan-force-options, tsan-runtime-env.

For this moment tsan-runtime-env works without
preloading libtsan, because of huge memory consumption
by libtsan, at least 1:4. So, adding libtsan to ld.so.preload
will require a huge VM space available, because libtsan
has interceptors for allocators as well as libasan.

In this case I see only one way to enable TSan for DSO:

Build an executable with TSan, which requires DSO we want
to execute. In this case compiler will add section .preinit with
TSan initialization and rltd will call this section early than .init
section for other DSO.

Change-Id: I0cccb8c447287731a7c2b9f09f84a4a490d52d22

6 years agoAdd ISan related options and isan-force-options package 03/159303/2 accepted/tizen/base/20171117.154046 submit/tizen_base/20171114.100800
Ivan Baravy [Mon, 25 Sep 2017 17:24:53 +0000 (20:24 +0300)]
Add ISan related options and isan-force-options package

Change-Id: Ibb835c856939f953e03b2f687417a861d9d9c3a7
Signed-off-by: Ivan Baravy <i.baravy@samsung.com>
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
6 years agoFix lsan-force-options, lsan-runtime-env. 37/151637/1 accepted/tizen/base/20171027.152143 submit/tizen_base/20171024.003248
Michail Kashkarov [Wed, 20 Sep 2017 18:02:00 +0000 (21:02 +0300)]
Fix lsan-force-options, lsan-runtime-env.

Append -marm -Wa,-mimplicit-it=arm, -ldl, -lpthread to
lsan-force-options, fix lsan-runtime-env preun script.

Change-Id: If45e9337e78b87c61c308e5eb84b44e33489f868

6 years ago[TTC-6] packaging: Enable gcc-contrib package 57/147457/4 accepted/tizen/base/20170920.065336 submit/tizen_base/20170919.080038
Denis Khalikov [Tue, 22 Aug 2017 08:08:58 +0000 (11:08 +0300)]
[TTC-6] packaging: Enable gcc-contrib package

All scripts related to toolchain moved from
gcc package to gcc-contrib package.

Change-Id: I52019814fe8c4173241d91982e3200da88918593
Signed-off-by: Denis Khalikov <d.khalikov@partner.samsung.com>
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
6 years agoInitial empty repository master
Tizen Infrastructure [Tue, 22 Aug 2017 00:02:17 +0000 (00:02 +0000)]
Initial empty repository