aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/testdata/cros_hardened_golden/gcc_maincc_target_specific.json
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/testdata/cros_hardened_golden/gcc_maincc_target_specific.json')
-rw-r--r--compiler_wrapper/testdata/cros_hardened_golden/gcc_maincc_target_specific.json170
1 files changed, 85 insertions, 85 deletions
diff --git a/compiler_wrapper/testdata/cros_hardened_golden/gcc_maincc_target_specific.json b/compiler_wrapper/testdata/cros_hardened_golden/gcc_maincc_target_specific.json
index 63b7da18..fcf769b8 100644
--- a/compiler_wrapper/testdata/cros_hardened_golden/gcc_maincc_target_specific.json
+++ b/compiler_wrapper/testdata/cros_hardened_golden/gcc_maincc_target_specific.json
@@ -1,18 +1,8 @@
[
{
- "wd": "/tmp/stable",
- "wrapper": {
- "cmd": {
- "path": "./x86_64-cros-linux-gnu-gcc",
- "args": [
- "main.cc"
- ]
- }
- },
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./x86_64-cros-linux-gnu-gcc.real",
"--sysroot=/usr/x86_64-cros-linux-gnu",
@@ -21,7 +11,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
@@ -31,25 +21,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./x86_64-cros-eabi-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./x86_64-cros-linux-gnu-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./x86_64-cros-eabi-gcc.real",
"--sysroot=/usr/x86_64-cros-eabi",
@@ -58,7 +48,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
@@ -68,25 +58,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./x86_64-cros-win-gnu-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./x86_64-cros-eabi-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./x86_64-cros-win-gnu-gcc.real",
"--sysroot=/usr/x86_64-cros-win-gnu",
@@ -95,7 +85,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
@@ -105,25 +95,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./armv7m-cros-linux-gnu-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./x86_64-cros-win-gnu-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./armv7m-cros-linux-gnu-gcc.real",
"--sysroot=/usr/armv7m-cros-linux-gnu",
@@ -132,7 +122,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-static-libgcc",
"-mthumb",
"main.cc",
@@ -141,25 +131,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./armv7m-cros-eabi-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./armv7m-cros-linux-gnu-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./armv7m-cros-eabi-gcc.real",
"--sysroot=/usr/armv7m-cros-eabi",
@@ -168,7 +158,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
@@ -177,25 +167,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./armv7m-cros-win-gnu-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./armv7m-cros-eabi-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./armv7m-cros-win-gnu-gcc.real",
"--sysroot=/usr/armv7m-cros-win-gnu",
@@ -204,7 +194,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-static-libgcc",
"-mthumb",
"main.cc",
@@ -213,25 +203,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./armv8m-cros-linux-gnu-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./armv7m-cros-win-gnu-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./armv8m-cros-linux-gnu-gcc.real",
"--sysroot=/usr/armv8m-cros-linux-gnu",
@@ -240,7 +230,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-static-libgcc",
"-mthumb",
"main.cc",
@@ -249,25 +239,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./armv8m-cros-eabi-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./armv8m-cros-linux-gnu-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./armv8m-cros-eabi-gcc.real",
"--sysroot=/usr/armv8m-cros-eabi",
@@ -276,7 +266,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-fno-omit-frame-pointer",
"-static-libgcc",
"main.cc",
@@ -285,25 +275,25 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
- },
- {
+ ],
"wd": "/tmp/stable",
"wrapper": {
"cmd": {
- "path": "./armv8m-cros-win-gnu-gcc",
"args": [
"main.cc"
- ]
+ ],
+ "path": "./armv8m-cros-eabi-gcc"
}
- },
+ }
+ },
+ {
"cmds": [
{
"cmd": {
- "path": "/usr/bin/ccache",
"args": [
"./armv8m-cros-win-gnu-gcc.real",
"--sysroot=/usr/armv8m-cros-win-gnu",
@@ -312,7 +302,7 @@
"-Wno-maybe-uninitialized",
"-fcommon",
"-fstack-protector-strong",
- "-D_FORTIFY_SOURCE=2",
+ "-D_FORTIFY_SOURCE=3",
"-static-libgcc",
"-mthumb",
"main.cc",
@@ -321,9 +311,19 @@
"env_updates": [
"CCACHE_DIR=/var/cache/distfiles/ccache",
"CCACHE_UMASK=002"
- ]
+ ],
+ "path": "/usr/bin/ccache"
}
}
- ]
+ ],
+ "wd": "/tmp/stable",
+ "wrapper": {
+ "cmd": {
+ "args": [
+ "main.cc"
+ ],
+ "path": "./armv8m-cros-win-gnu-gcc"
+ }
+ }
}
]