blob: c050873ea18d0cc37224aee8cb43b3a97304fddd [file] [log] [blame]
Brian Silverman7b8899e2018-06-30 19:19:24 -07001# GENERATED FILE. DO NOT EDIT
2# Generated by tools/cpp/gen_crosstool.py
Brian Silverman12b3fc52015-10-11 19:38:33 -04003major_version: "local"
4minor_version: ""
5default_target_cpu: "same_as_host"
Brian Silverman12b3fc52015-10-11 19:38:33 -04006default_toolchain {
Austin Schuh23da18b2015-10-11 20:52:49 -07007 cpu: "roborio"
8 toolchain_identifier: "roborio_linux"
9}
Austin Schuh23da18b2015-10-11 20:52:49 -070010default_toolchain {
Brian Silverman12b3fc52015-10-11 19:38:33 -040011 cpu: "k8"
Austin Schuh23da18b2015-10-11 20:52:49 -070012 toolchain_identifier: "k8_linux"
Brian Silverman12b3fc52015-10-11 19:38:33 -040013}
Brian Silverman12b3fc52015-10-11 19:38:33 -040014default_toolchain {
15 cpu: "armeabi-v7a"
16 toolchain_identifier: "stub_armeabi-v7a"
17}
Brian Silverman0d57fc82016-01-24 21:02:53 -050018default_toolchain {
19 cpu: "armhf-debian"
20 toolchain_identifier: "clang_linux_armhf"
21}
Brian Silverman8b638692017-06-26 23:10:26 -070022default_toolchain {
23 cpu: "cortex-m4f"
24 toolchain_identifier: "cortex-m4f"
25}
Brian Silverman6c8b88b2018-09-03 18:17:02 -070026default_toolchain {
27 cpu: "cortex-m4f-k22"
28 toolchain_identifier: "cortex-m4f-k22"
29}
Brian Silverman12b3fc52015-10-11 19:38:33 -040030toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -070031 toolchain_identifier: "stub_armeabi-v7a"
32 host_system_name: "armeabi-v7a"
33 target_system_name: "armeabi-v7a"
34 target_cpu: "armeabi-v7a"
35 target_libc: "armeabi-v7a"
36 compiler: "compiler"
Brian Silverman12b3fc52015-10-11 19:38:33 -040037 abi_version: "armeabi-v7a"
38 abi_libc_version: "armeabi-v7a"
Brian Silverman7b8899e2018-06-30 19:19:24 -070039 tool_path {
40 name: "ar"
41 path: "/bin/false"
42 }
43 tool_path {
44 name: "compat-ld"
45 path: "/bin/false"
46 }
47 tool_path {
48 name: "cpp"
49 path: "/bin/false"
50 }
51 tool_path {
52 name: "dwp"
53 path: "/bin/false"
54 }
55 tool_path {
56 name: "gcc"
57 path: "/bin/false"
58 }
59 tool_path {
60 name: "gcov"
61 path: "/bin/false"
62 }
63 tool_path {
64 name: "ld"
65 path: "/bin/false"
66 }
67 tool_path {
68 name: "nm"
69 path: "/bin/false"
70 }
71 tool_path {
72 name: "objcopy"
73 path: "/bin/false"
74 }
75 tool_path {
76 name: "objdump"
77 path: "/bin/false"
78 }
79 tool_path {
80 name: "strip"
81 path: "/bin/false"
82 }
Brian Silverman12b3fc52015-10-11 19:38:33 -040083 supports_gold_linker: false
Brian Silverman7b8899e2018-06-30 19:19:24 -070084 supports_thin_archives: false
85 needsPic: true
86 builtin_sysroot: ""
Brian Silverman12b3fc52015-10-11 19:38:33 -040087 supports_normalizing_ar: false
88 supports_start_end_lib: false
Brian Silverman7b8899e2018-06-30 19:19:24 -070089 supports_interface_shared_objects: false
90 supports_incremental_linker: false
91 supports_fission: false
Brian Silverman12b3fc52015-10-11 19:38:33 -040092}
Brian Silverman12b3fc52015-10-11 19:38:33 -040093toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -070094 toolchain_identifier: "k8_linux"
95 host_system_name: "local"
96 target_system_name: "k8"
97 target_cpu: "k8"
98 target_libc: "local"
99 compiler: "clang"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400100 abi_version: "local"
101 abi_libc_version: "local"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700102 tool_path {
103 name: "ar"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800104 path: "clang_6p0/x86_64-linux-gnu-ar"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700105 }
106 tool_path {
107 name: "compat-ld"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800108 path: "clang_6p0/x86_64-linux-gnu-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700109 }
110 tool_path {
111 name: "cpp"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800112 path: "clang_6p0/x86_64-linux-gnu-cpp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700113 }
114 tool_path {
115 name: "dwp"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800116 path: "clang_6p0/x86_64-linux-gnu-dwp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700117 }
118 tool_path {
119 name: "gcc"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800120 path: "clang_6p0/x86_64-linux-gnu-clang-6.0"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700121 }
122 tool_path {
123 name: "gcov"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800124 path: "clang_6p0/x86_64-linux-gnu-gcov"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700125 }
126 tool_path {
127 name: "ld"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800128 path: "clang_6p0/x86_64-linux-gnu-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700129 }
130 tool_path {
131 name: "nm"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800132 path: "clang_6p0/x86_64-linux-gnu-nm"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700133 }
134 tool_path {
135 name: "objcopy"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800136 path: "clang_6p0/x86_64-linux-gnu-objcopy"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700137 }
138 tool_path {
139 name: "objdump"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800140 path: "clang_6p0/x86_64-linux-gnu-objdump"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700141 }
142 tool_path {
143 name: "strip"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800144 path: "clang_6p0/x86_64-linux-gnu-strip"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700145 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400146 supports_gold_linker: false
Brian Silverman12b3fc52015-10-11 19:38:33 -0400147 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -0700148 needsPic: true
Brian Silverman60606c92020-01-15 22:45:04 -0800149 compiler_flag: "--sysroot=external/amd64_debian_sysroot"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800150 compiler_flag: "-nostdinc"
151 compiler_flag: "-isystem"
Brian Silverman60606c92020-01-15 22:45:04 -0800152 compiler_flag: "external/amd64_debian_sysroot/usr/include/c++/7"
153 compiler_flag: "-isystem"
154 compiler_flag: "external/amd64_debian_sysroot/usr/include/x86_64-linux-gnu/c++/7"
155 compiler_flag: "-isystem"
156 compiler_flag: "external/amd64_debian_sysroot/usr/include/c++/8/backward"
157 compiler_flag: "-isystem"
158 compiler_flag: "external/amd64_debian_sysroot/usr/lib/gcc/x86_64-linux-gnu/8/include"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800159 compiler_flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800160 compiler_flag: "external/clang_6p0_repo/usr/lib/llvm-6.0/lib/clang/6.0.0/include"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800161 compiler_flag: "-isystem"
Brian Silverman60606c92020-01-15 22:45:04 -0800162 compiler_flag: "external/amd64_debian_sysroot/usr/include/x86_64-linux-gnu"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800163 compiler_flag: "-isystem"
Brian Silverman60606c92020-01-15 22:45:04 -0800164 compiler_flag: "external/amd64_debian_sysroot/usr/include"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700165 compiler_flag: "-D__STDC_FORMAT_MACROS"
166 compiler_flag: "-D__STDC_CONSTANT_MACROS"
167 compiler_flag: "-D__STDC_LIMIT_MACROS"
168 compiler_flag: "-D_FILE_OFFSET_BITS=64"
169 compiler_flag: "-DAOS_ARCHITECTURE_arm_frc"
170 compiler_flag: "-U_FORTIFY_SOURCE"
171 compiler_flag: "-D_FORTIFY_SOURCE=1"
172 compiler_flag: "-fstack-protector"
173 compiler_flag: "-fPIE"
174 compiler_flag: "-fcolor-diagnostics"
175 compiler_flag: "-fmessage-length=80"
176 compiler_flag: "-fmacro-backtrace-limit=0"
177 compiler_flag: "-Wall"
178 compiler_flag: "-Wextra"
179 compiler_flag: "-Wpointer-arith"
180 compiler_flag: "-Wstrict-aliasing"
181 compiler_flag: "-Wcast-qual"
182 compiler_flag: "-Wcast-align"
183 compiler_flag: "-Wwrite-strings"
184 compiler_flag: "-Wtype-limits"
185 compiler_flag: "-Wsign-compare"
186 compiler_flag: "-Wformat=2"
187 compiler_flag: "-Werror"
188 compiler_flag: "-fno-omit-frame-pointer"
189 compiler_flag: "-pipe"
190 compiler_flag: "-ggdb3"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800191 linker_flag: "-nodefaultlibs"
Brian Silverman60606c92020-01-15 22:45:04 -0800192 linker_flag: "--sysroot=external/amd64_debian_sysroot"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400193 linker_flag: "-lstdc++"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800194 linker_flag: "-lc"
195 linker_flag: "-lgcc"
196 linker_flag: "-lgcc_s"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800197 linker_flag: "-Bexternal/clang_6p0_repo/usr/bin/"
198 linker_flag: "-Ltools/cpp/clang_6p0/clang_more_libs"
Brian Silverman60606c92020-01-15 22:45:04 -0800199 linker_flag: "-Lexternal/amd64_debian_sysroot/usr/lib/gcc/x86_64-linux-gnu/7/"
200 linker_flag: "-Lexternal/amd64_debian_sysroot/usr/lib/x86_64-linux-gnu/"
201 linker_flag: "-Lexternal/amd64_debian_sysroot/usr/lib/"
202 linker_flag: "-Lexternal/amd64_debian_sysroot/lib/x86_64-linux-gnu/"
203 linker_flag: "-Lexternal/amd64_debian_sysroot/lib/"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700204 linker_flag: "-no-canonical-prefixes"
205 linker_flag: "-fuse-ld=gold"
206 linker_flag: "-Wl,-z,relro,-z,now"
207 linker_flag: "-lm"
208 linker_flag: "-Wl,--build-id=md5"
209 linker_flag: "-Wl,--hash-style=gnu"
210 linker_flag: "-Wl,--warn-execstack"
211 linker_flag: "-Wl,--detect-odr-violations"
212 objcopy_embed_flag: "-I"
213 objcopy_embed_flag: "binary"
214 compilation_mode_flags {
215 mode: OPT
216 compiler_flag: "-O2"
217 compiler_flag: "-DNDEBUG"
218 compiler_flag: "-ffunction-sections"
219 compiler_flag: "-fdata-sections"
220 linker_flag: "-Wl,--gc-sections"
221 }
222 linking_mode_flags {
223 mode: DYNAMIC
224 }
James Kuszmaul3ae42262019-11-08 12:33:41 -0800225 cxx_builtin_include_directory: "%package(@clang_6p0_repo//usr)%/lib/llvm-6.0/lib/clang/6.0.0/include"
Brian Silverman60606c92020-01-15 22:45:04 -0800226 cxx_builtin_include_directory: "%package(@amd64_debian_sysroot//usr)%/include"
227 cxx_builtin_include_directory: "%package(@amd64_debian_sysroot//usr)%/lib/gcc/x86_64-linux-gnu/7/include"
228 cxx_builtin_include_directory: "%package(@amd64_debian_sysroot//usr)%/lib/gcc/x86_64-linux-gnu/7/include-fixed"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700229 builtin_sysroot: ""
230 unfiltered_cxx_flag: "-no-canonical-prefixes"
231 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
232 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
233 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
234 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
James Kuszmaul3ae42262019-11-08 12:33:41 -0800235 unfiltered_cxx_flag: "-Wno-varargs"
236 unfiltered_cxx_flag: "-Wno-null-pointer-arithmetic"
237 unfiltered_cxx_flag: "-Wno-mismatched-new-delete"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700238 supports_normalizing_ar: false
239 supports_start_end_lib: false
240 supports_interface_shared_objects: false
241 supports_incremental_linker: false
242 supports_fission: false
Brian Silverman12b3fc52015-10-11 19:38:33 -0400243 feature {
244 name: "opt"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400245 flag_set {
246 action: "preprocess-assemble"
247 action: "c-compile"
248 action: "c++-compile"
249 action: "c++-header-parsing"
250 action: "c++-header-preprocessing"
251 action: "c++-module-compile"
252 flag_group {
253 flag: "-DAOS_DEBUG=0"
254 }
255 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700256 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400257 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400258 feature {
259 name: "dbg"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400260 flag_set {
261 action: "preprocess-assemble"
262 action: "c-compile"
263 action: "c++-compile"
264 action: "c++-header-parsing"
265 action: "c++-header-preprocessing"
266 action: "c++-module-compile"
267 flag_group {
268 flag: "-DAOS_DEBUG=1"
269 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500270 flag_group {
271 flag: "-fno-omit-frame-pointer"
272 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400273 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700274 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400275 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400276 feature {
277 name: "fastbuild"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400278 flag_set {
279 action: "preprocess-assemble"
280 action: "c-compile"
281 action: "c++-compile"
282 action: "c++-header-parsing"
283 action: "c++-header-preprocessing"
284 action: "c++-module-compile"
285 flag_group {
286 flag: "-DAOS_DEBUG=0"
287 }
288 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700289 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400290 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400291 feature {
292 name: "all_modes"
293 flag_set {
Austin Schuha20ae722015-11-01 12:29:38 -0800294 action: "preprocess-assemble"
295 action: "assemble"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400296 action: "c-compile"
297 flag_group {
298 flag: "-std=gnu99"
299 }
300 }
301 flag_set {
302 action: "c++-compile"
303 action: "c++-header-parsing"
304 action: "c++-header-preprocessing"
305 action: "c++-module-compile"
306 flag_group {
James Kuszmaul3ae42262019-11-08 12:33:41 -0800307 flag: "-std=gnu++1z"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400308 }
Brian Silverman23a1b342015-10-11 23:44:09 -0400309 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400310 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700311 feature {
312 name: "pie_for_linking"
313 flag_set {
314 action: "c++-link-executable"
315 flag_group {
316 flag: "-pie"
317 }
318 }
319 enabled: true
320 }
321}
322toolchain {
323 toolchain_identifier: "roborio_linux"
324 host_system_name: "roborio"
325 target_system_name: "roborio"
326 target_cpu: "roborio"
327 target_libc: "roborio"
328 compiler: "gcc"
329 abi_version: "roborio"
330 abi_libc_version: "roborio"
331 tool_path {
332 name: "ar"
333 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ar"
334 }
335 tool_path {
Austin Schuhf6b94632019-02-02 22:11:27 -0800336 name: "as"
337 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-as"
338 }
339 tool_path {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700340 name: "compat-ld"
341 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
342 }
343 tool_path {
344 name: "cpp"
345 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp"
346 }
347 tool_path {
348 name: "dwp"
349 path: "/bin/false"
350 }
351 tool_path {
352 name: "gcc"
353 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc"
354 }
355 tool_path {
356 name: "gcov"
357 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
358 }
359 tool_path {
360 name: "ld"
361 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
362 }
363 tool_path {
364 name: "nm"
365 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm"
366 }
367 tool_path {
368 name: "objcopy"
369 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy"
370 }
371 tool_path {
372 name: "objdump"
373 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump"
374 }
375 tool_path {
376 name: "strip"
377 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip"
378 }
379 supports_gold_linker: false
380 supports_thin_archives: false
381 needsPic: true
Brian Silverman7b8899e2018-06-30 19:19:24 -0700382 linker_flag: "-lstdc++"
383 linker_flag: "-Ltools/cpp/arm-frc-linux-gnueabi/libs"
384 linker_flag: "-no-canonical-prefixes"
385 linker_flag: "-Wl,-z,relro,-z,now"
386 linker_flag: "-lm"
387 linker_flag: "-pass-exit-codes"
388 linker_flag: "-Wl,--build-id=md5"
389 linker_flag: "-Wl,--hash-style=gnu"
390 objcopy_embed_flag: "-I"
391 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700392 linking_mode_flags {
393 mode: DYNAMIC
394 }
James Kuszmaul3ae42262019-11-08 12:33:41 -0800395 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include)%"
396 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include-fixed)%"
397 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/arm-frc2020-linux-gnueabi)%"
398 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/backward)%"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700399 builtin_sysroot: ""
400 unfiltered_cxx_flag: "-no-canonical-prefixes"
401 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
402 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
403 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
404 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
405 supports_normalizing_ar: false
406 supports_start_end_lib: false
407 supports_interface_shared_objects: false
408 supports_incremental_linker: false
409 supports_fission: false
Austin Schuh23da18b2015-10-11 20:52:49 -0700410 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700411 name: "compile_flags1"
412 flag_set {
413 action: "assemble"
414 action: "preprocess-assemble"
415 action: "c-compile"
416 action: "c++-compile"
417 action: "c++-header-parsing"
418 action: "c++-module-compile"
419 action: "c++-module-codegen"
420 action: "lto-backend"
421 action: "clif-match"
422 flag_group {
James Kuszmaul3ae42262019-11-08 12:33:41 -0800423 flag: "--sysroot=external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi"
Austin Schuhef147de2018-10-27 21:19:00 -0700424 flag: "-nostdinc"
425 flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800426 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include"
Austin Schuhef147de2018-10-27 21:19:00 -0700427 flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800428 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/lib/gcc/arm-frc2020-linux-gnueabi/7.3.0/include-fixed"
Austin Schuhf6b94632019-02-02 22:11:27 -0800429 }
430 }
431 flag_set {
James Kuszmaulebdeaf52019-05-22 20:31:25 -0700432 action: "assemble"
433 action: "preprocess-assemble"
434 action: "c++-compile"
435 action: "c++-header-parsing"
436 action: "c++-header-preprocessing"
437 flag_group {
438 flag: "-fno-canonical-system-headers"
439 }
440 }
441 flag_set {
Austin Schuhf6b94632019-02-02 22:11:27 -0800442 action: "c++-compile"
443 action: "c++-header-parsing"
444 action: "c++-module-compile"
445 action: "c++-module-codegen"
446 flag_group {
Austin Schuhef147de2018-10-27 21:19:00 -0700447 flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800448 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0"
Austin Schuhf6b94632019-02-02 22:11:27 -0800449 flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800450 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/arm-frc2020-linux-gnueabi"
Austin Schuhf6b94632019-02-02 22:11:27 -0800451 flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800452 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include/c++/7.3.0/backward"
Austin Schuhf6b94632019-02-02 22:11:27 -0800453 }
454 }
455 flag_set {
456 action: "assemble"
457 action: "preprocess-assemble"
458 action: "c-compile"
459 action: "c++-compile"
460 action: "c++-header-parsing"
461 action: "c++-module-compile"
462 action: "c++-module-codegen"
463 action: "lto-backend"
464 action: "clif-match"
465 flag_group {
466 flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800467 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2020-linux-gnueabi/usr/include"
Austin Schuhef147de2018-10-27 21:19:00 -0700468 flag: "-mfpu=neon"
469 flag: "-D__STDC_FORMAT_MACROS"
470 flag: "-D__STDC_CONSTANT_MACROS"
471 flag: "-D__STDC_LIMIT_MACROS"
472 flag: "-D_FILE_OFFSET_BITS=64"
473 flag: "-DAOS_ARCHITECTURE_arm_frc"
474 flag: "-U_FORTIFY_SOURCE"
475 flag: "-fstack-protector"
476 flag: "-fPIE"
477 flag: "-fdiagnostics-color=always"
478 flag: "-Wall"
479 flag: "-Wextra"
480 flag: "-Wpointer-arith"
481 flag: "-Wstrict-aliasing"
482 flag: "-Wcast-qual"
Austin Schuhef147de2018-10-27 21:19:00 -0700483 flag: "-Wwrite-strings"
484 flag: "-Wtype-limits"
485 flag: "-Wsign-compare"
486 flag: "-Wformat=2"
487 flag: "-Werror"
488 flag: "-Wunused-local-typedefs"
Brian Silverman21280c72019-12-18 20:26:12 -0800489 flag: "-Wno-psabi"
Austin Schuhef147de2018-10-27 21:19:00 -0700490 flag: "-fno-omit-frame-pointer"
491 flag: "-D__has_feature(x)=0"
492 flag: "-pipe"
493 flag: "-ggdb3"
494 }
495 }
496 enabled: true
497 }
498 feature {
Austin Schuh23da18b2015-10-11 20:52:49 -0700499 name: "opt"
Austin Schuh23da18b2015-10-11 20:52:49 -0700500 flag_set {
Austin Schuhef147de2018-10-27 21:19:00 -0700501 action: "assemble"
502 action: "preprocess-assemble"
503 action: "c-compile"
504 action: "c++-compile"
505 action: "c++-module-compile"
506 action: "objc-compile"
507 action: "objc++-compile"
508 action: "c++-header-parsing"
509 action: "linkstamp-compile"
510 flag_group {
511 flag: "-O2"
512 flag: "-DNDEBUG"
513 flag: "-D_FORTIFY_SOURCE=1"
514 flag: "-ffunction-sections"
515 flag: "-fdata-sections"
516 }
517 }
518 flag_set {
519 action: "c++-link-executable"
520 action: "c++-link-nodeps-dynamic-library"
521 action: "c++-link-dynamic-library"
522 flag_group {
523 flag: "-Wl,--gc-sections"
524 }
525 }
526 implies: "opt_post"
527 }
528 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700529 name: "dependency_file"
530 flag_set {
531 action: "assemble"
532 action: "preprocess-assemble"
533 action: "c-compile"
534 action: "c++-compile"
535 action: "c++-module-compile"
536 action: "objc-compile"
537 action: "objc++-compile"
538 action: "c++-header-parsing"
539 action: "clif-match"
540 flag_group {
541 flag: "-MD"
542 flag: "-MF"
543 flag: "%{dependency_file}"
544 }
545 expand_if_all_available: "dependency_file"
546 }
547 }
548 feature {
549 name: "random_seed"
550 flag_set {
551 action: "c++-compile"
552 action: "c++-module-codegen"
553 action: "c++-module-compile"
554 flag_group {
555 flag: "-frandom-seed=%{output_file}"
556 expand_if_all_available: "output_file"
557 }
558 }
559 }
560 feature {
561 name: "pic"
562 flag_set {
563 action: "assemble"
564 action: "preprocess-assemble"
565 action: "linkstamp-compile"
566 action: "c-compile"
567 action: "c++-compile"
568 action: "c++-module-codegen"
569 action: "c++-module-compile"
570 flag_group {
571 flag: "-fPIC"
572 }
573 expand_if_all_available: "pic"
574 }
575 }
576 feature {
577 name: "preprocessor_defines"
578 flag_set {
579 action: "preprocess-assemble"
580 action: "linkstamp-compile"
581 action: "c-compile"
582 action: "c++-compile"
583 action: "c++-header-parsing"
584 action: "c++-module-compile"
585 action: "clif-match"
586 flag_group {
587 flag: "-D%{preprocessor_defines}"
588 iterate_over: "preprocessor_defines"
589 }
590 }
591 }
592 feature {
593 name: "include_paths"
594 flag_set {
595 action: "preprocess-assemble"
596 action: "c-compile"
597 action: "c++-compile"
598 action: "c++-header-parsing"
599 action: "c++-header-preprocessing"
600 action: "c++-module-compile"
601 flag_group {
602 flag: "-iquote"
603 flag: "%{quote_include_paths}"
604 iterate_over: "quote_include_paths"
605 }
606 flag_group {
607 flag: "-I%{include_paths}"
608 iterate_over: "include_paths"
609 }
610 flag_group {
611 flag: "-isystem"
612 flag: "%{system_include_paths}"
613 iterate_over: "system_include_paths"
614 }
615 }
616 }
617 feature {
618 name: "opt_post"
619 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700620 action: "preprocess-assemble"
621 action: "c-compile"
622 action: "c++-compile"
623 action: "c++-header-parsing"
624 action: "c++-header-preprocessing"
625 action: "c++-module-compile"
626 flag_group {
627 flag: "-DAOS_DEBUG=0"
628 }
629 }
630 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700631 feature {
632 name: "dbg"
Austin Schuh23da18b2015-10-11 20:52:49 -0700633 flag_set {
634 action: "preprocess-assemble"
635 action: "c-compile"
636 action: "c++-compile"
637 action: "c++-header-parsing"
638 action: "c++-header-preprocessing"
639 action: "c++-module-compile"
640 flag_group {
641 flag: "-DAOS_DEBUG=1"
642 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500643 flag_group {
644 flag: "-fno-omit-frame-pointer"
645 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700646 }
647 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700648 feature {
649 name: "fastbuild"
Austin Schuh23da18b2015-10-11 20:52:49 -0700650 flag_set {
651 action: "preprocess-assemble"
652 action: "c-compile"
653 action: "c++-compile"
654 action: "c++-header-parsing"
655 action: "c++-header-preprocessing"
656 action: "c++-module-compile"
657 flag_group {
658 flag: "-DAOS_DEBUG=0"
659 }
660 }
661 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700662 feature {
663 name: "all_modes"
664 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700665 action: "preprocess-assemble"
666 action: "assemble"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500667 action: "c-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700668 flag_group {
669 flag: "-std=gnu99"
670 }
671 }
672 flag_set {
673 action: "c++-compile"
674 action: "c++-header-parsing"
675 action: "c++-header-preprocessing"
676 action: "c++-module-compile"
677 flag_group {
James Kuszmaul3ae42262019-11-08 12:33:41 -0800678 flag: "-std=gnu++1z"
Austin Schuhf6b94632019-02-02 22:11:27 -0800679 flag: "-fno-sized-deallocation"
Austin Schuh23da18b2015-10-11 20:52:49 -0700680 }
681 }
682 flag_set {
683 action: "preprocess-assemble"
684 action: "assemble"
685 action: "c++-link"
686 action: "c++-compile"
687 action: "c++-header-parsing"
688 action: "c++-header-preprocessing"
689 action: "c++-module-compile"
690 action: "c-compile"
691 flag_group {
Austin Schuh23da18b2015-10-11 20:52:49 -0700692 flag: "-pthread"
693 }
694 }
Austin Schuhef147de2018-10-27 21:19:00 -0700695 enabled: true
Austin Schuh23da18b2015-10-11 20:52:49 -0700696 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700697 feature {
698 name: "pie_for_linking"
699 flag_set {
700 action: "c++-link-executable"
701 flag_group {
702 flag: "-pie"
703 }
704 }
705 enabled: true
706 }
707}
708toolchain {
709 toolchain_identifier: "clang_linux_armhf"
710 host_system_name: "linux"
711 target_system_name: "arm_a15"
712 target_cpu: "armhf-debian"
713 target_libc: "glibc_2.19"
714 compiler: "clang"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800715 abi_version: "clang_6.0"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700716 abi_libc_version: "glibc_2.19"
717 tool_path {
718 name: "ar"
719 path: "linaro_linux_gcc/arm-linux-gnueabihf-ar"
720 }
721 tool_path {
722 name: "compat-ld"
723 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
724 }
725 tool_path {
726 name: "cpp"
727 path: "linaro_linux_gcc/clang_bin/clang"
728 }
729 tool_path {
730 name: "dwp"
731 path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp"
732 }
733 tool_path {
734 name: "gcc"
735 path: "linaro_linux_gcc/clang_bin/clang"
736 }
737 tool_path {
738 name: "gcov"
739 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
740 }
741 tool_path {
742 name: "ld"
743 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
744 }
745 tool_path {
746 name: "nm"
747 path: "linaro_linux_gcc/arm-linux-gnueabihf-nm"
748 }
749 tool_path {
750 name: "objcopy"
751 path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy"
752 }
753 tool_path {
754 name: "objdump"
755 path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump"
756 }
757 tool_path {
758 name: "strip"
759 path: "linaro_linux_gcc/arm-linux-gnueabihf-strip"
760 }
761 supports_gold_linker: false
762 supports_thin_archives: true
763 needsPic: true
764 compiler_flag: "-target"
765 compiler_flag: "armv7a-arm-linux-gnueabif"
Brian Silvermanbf4c1312020-01-12 11:35:45 -0800766 compiler_flag: "--sysroot=external/armhf_debian_rootfs"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700767 compiler_flag: "-mfloat-abi=hard"
768 compiler_flag: "-mfpu=vfpv3-d16"
769 compiler_flag: "-nostdinc"
770 compiler_flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800771 compiler_flag: "external/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1/include"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700772 compiler_flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800773 compiler_flag: "external/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1/include-fixed"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700774 compiler_flag: "-isystem"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800775 compiler_flag: "external/linaro_linux_gcc_repo/arm-linux-gnueabihf/include/c++/7.4.1/arm-linux-gnueabihf"
776 compiler_flag: "-isystem"
777 compiler_flag: "external/linaro_linux_gcc_repo/arm-linux-gnueabihf/include/c++/7.4.1"
778 compiler_flag: "-isystem"
779 compiler_flag: "external/linaro_linux_gcc_repo/include/c++/7.4.1/arm-linux-gnueabihf"
780 compiler_flag: "-isystem"
781 compiler_flag: "external/linaro_linux_gcc_repo/include/c++/7.4.1"
782 compiler_flag: "-isystem"
Brian Silvermanbf4c1312020-01-12 11:35:45 -0800783 compiler_flag: "external/armhf_debian_rootfs/usr/include"
784 compiler_flag: "-isystem"
785 compiler_flag: "external/armhf_debian_rootfs/usr/include/arm-linux-gnueabihf"
Austin Schuhe84c3ed2019-12-14 15:29:48 -0800786 compiler_flag: "-isystem"
787 compiler_flag: "external/org_frc971/third_party"
Austin Schuh23da18b2015-10-11 20:52:49 -0700788 compiler_flag: "-D__STDC_FORMAT_MACROS"
789 compiler_flag: "-D__STDC_CONSTANT_MACROS"
790 compiler_flag: "-D__STDC_LIMIT_MACROS"
791 compiler_flag: "-D_FILE_OFFSET_BITS=64"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700792 compiler_flag: "-DAOS_ARCHITECTURE_armhf"
Austin Schuh23da18b2015-10-11 20:52:49 -0700793 compiler_flag: "-U_FORTIFY_SOURCE"
794 compiler_flag: "-fstack-protector"
795 compiler_flag: "-fPIE"
Austin Schuh23da18b2015-10-11 20:52:49 -0700796 compiler_flag: "-fdiagnostics-color=always"
Austin Schuh23da18b2015-10-11 20:52:49 -0700797 compiler_flag: "-Wall"
798 compiler_flag: "-Wextra"
Austin Schuh23da18b2015-10-11 20:52:49 -0700799 compiler_flag: "-Wpointer-arith"
Brian Silverman594be0d2015-10-31 17:56:23 -0400800 compiler_flag: "-Wstrict-aliasing"
Austin Schuh23da18b2015-10-11 20:52:49 -0700801 compiler_flag: "-Wcast-qual"
802 compiler_flag: "-Wcast-align"
803 compiler_flag: "-Wwrite-strings"
804 compiler_flag: "-Wtype-limits"
805 compiler_flag: "-Wsign-compare"
806 compiler_flag: "-Wformat=2"
807 compiler_flag: "-Werror"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500808 compiler_flag: "-Wunused-local-typedefs"
Austin Schuh23da18b2015-10-11 20:52:49 -0700809 compiler_flag: "-fno-omit-frame-pointer"
Austin Schuh23da18b2015-10-11 20:52:49 -0700810 compiler_flag: "-pipe"
Brian Silvermand2540402015-11-28 18:35:00 -0500811 compiler_flag: "-ggdb3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500812 linker_flag: "-target"
813 linker_flag: "armv7a-arm-linux-gnueabif"
Brian Silvermanbf4c1312020-01-12 11:35:45 -0800814 linker_flag: "--sysroot=external/armhf_debian_rootfs"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500815 linker_flag: "-lstdc++"
816 linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs"
Brian Silvermanbf4c1312020-01-12 11:35:45 -0800817 linker_flag: "-Lexternal/armhf_debian_rootfs/usr/lib/gcc/arm-linux-gnueabihf/8"
818 linker_flag: "-Lexternal/armhf_debian_rootfs/lib/arm-linux-gnueabihf"
819 linker_flag: "-Lexternal/armhf_debian_rootfs/usr/lib/arm-linux-gnueabihf"
820 linker_flag: "-Lexternal/armhf_debian_rootfs/lib"
821 linker_flag: "-Lexternal/armhf_debian_rootfs/usr/lib"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800822 linker_flag: "-Lexternal/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1"
823 linker_flag: "-Bexternal/linaro_linux_gcc_repo/lib/gcc/arm-linux-gnueabihf/7.4.1"
824 linker_flag: "-Bexternal/linaro_linux_gcc_repo/arm-linux-gnueabihf/bin"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500825 linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700826 linker_flag: "-no-canonical-prefixes"
827 linker_flag: "-Wl,-z,relro,-z,now"
828 linker_flag: "-lm"
829 linker_flag: "-Wl,--build-id=md5"
830 linker_flag: "-Wl,--hash-style=gnu"
831 objcopy_embed_flag: "-I"
832 objcopy_embed_flag: "binary"
833 compilation_mode_flags {
834 mode: OPT
835 compiler_flag: "-O2"
836 compiler_flag: "-DNDEBUG"
837 compiler_flag: "-D_FORTIFY_SOURCE=1"
838 compiler_flag: "-ffunction-sections"
839 compiler_flag: "-fdata-sections"
840 linker_flag: "-Wl,--gc-sections"
841 }
842 linking_mode_flags {
843 mode: DYNAMIC
844 }
James Kuszmaul3ae42262019-11-08 12:33:41 -0800845 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//include)%"
Brian Silvermanbf4c1312020-01-12 11:35:45 -0800846 cxx_builtin_include_directory: "%package(@armhf_debian_rootfs//usr/include)%"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800847 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//include)%/c++/7.4.1"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800848 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//lib/gcc/arm-linux-gnueabihf/7.4.1/include)%"
849 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//lib/gcc/arm-linux-gnueabihf/7.4.1/include-fixed)%"
850 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_repo//arm-linux-gnueabihf/include)%/c++/7.4.1"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700851 builtin_sysroot: ""
852 unfiltered_cxx_flag: "-no-canonical-prefixes"
853 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
James Kuszmaul3ae42262019-11-08 12:33:41 -0800854 unfiltered_cxx_flag: "-Wno-mismatched-new-delete"
855 unfiltered_cxx_flag: "-Wno-null-pointer-arithmetic"
856 unfiltered_cxx_flag: "-Wno-varargs"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700857 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
858 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
859 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
860 supports_normalizing_ar: true
861 supports_start_end_lib: false
862 supports_interface_shared_objects: false
863 supports_incremental_linker: false
864 supports_fission: false
Brian Silverman0d57fc82016-01-24 21:02:53 -0500865 feature {
866 name: "opt"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500867 flag_set {
868 action: "preprocess-assemble"
869 action: "c-compile"
870 action: "c++-compile"
871 action: "c++-header-parsing"
872 action: "c++-header-preprocessing"
873 action: "c++-module-compile"
874 flag_group {
875 flag: "-DAOS_DEBUG=0"
876 }
877 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700878 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500879 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500880 feature {
881 name: "dbg"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500882 flag_set {
883 action: "preprocess-assemble"
884 action: "c-compile"
885 action: "c++-compile"
886 action: "c++-header-parsing"
887 action: "c++-header-preprocessing"
888 action: "c++-module-compile"
889 flag_group {
890 flag: "-DAOS_DEBUG=1"
891 }
892 flag_group {
893 flag: "-fno-omit-frame-pointer"
894 }
895 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700896 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500897 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500898 feature {
899 name: "fastbuild"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500900 flag_set {
901 action: "preprocess-assemble"
902 action: "c-compile"
903 action: "c++-compile"
904 action: "c++-header-parsing"
905 action: "c++-header-preprocessing"
906 action: "c++-module-compile"
907 flag_group {
908 flag: "-DAOS_DEBUG=0"
909 }
910 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700911 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500912 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500913 feature {
914 name: "all_modes"
915 flag_set {
916 action: "preprocess-assemble"
917 action: "assemble"
918 action: "c-compile"
919 flag_group {
920 flag: "-std=gnu99"
921 }
922 }
923 flag_set {
924 action: "c++-compile"
925 action: "c++-header-parsing"
926 action: "c++-header-preprocessing"
927 action: "c++-module-compile"
928 flag_group {
James Kuszmaul3ae42262019-11-08 12:33:41 -0800929 flag: "-std=gnu++1z"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500930 }
931 }
932 flag_set {
933 action: "preprocess-assemble"
934 action: "assemble"
935 action: "c++-link"
936 action: "c++-compile"
937 action: "c++-header-parsing"
938 action: "c++-header-preprocessing"
939 action: "c++-module-compile"
940 action: "c-compile"
941 flag_group {
Brian Silverman0d57fc82016-01-24 21:02:53 -0500942 flag: "-pthread"
943 }
944 }
945 }
Austin Schuh137d9452018-07-07 15:42:36 -0700946 feature {
947 name: "pie_for_linking"
Austin Schuh137d9452018-07-07 15:42:36 -0700948 flag_set {
949 action: "c++-link-executable"
950 flag_group {
951 flag: "-pie"
952 }
953 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700954 enabled: true
Austin Schuh137d9452018-07-07 15:42:36 -0700955 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500956}
Brian Silverman8b638692017-06-26 23:10:26 -0700957toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700958 toolchain_identifier: "cortex-m4f"
959 host_system_name: "local"
960 target_system_name: "cortex-m4f"
961 target_cpu: "cortex-m4f"
962 target_libc: "cortex-m4f"
963 compiler: "gcc"
Brian Silverman8b638692017-06-26 23:10:26 -0700964 abi_version: "cortex-m4f"
965 abi_libc_version: "cortex-m4f"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700966 tool_path {
967 name: "ar"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700968 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700969 }
970 tool_path {
971 name: "compat-ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700972 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700973 }
974 tool_path {
975 name: "cpp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700976 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700977 }
978 tool_path {
979 name: "dwp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700980 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700981 }
982 tool_path {
983 name: "gcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700984 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700985 }
986 tool_path {
987 name: "gcov"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700988 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700989 }
990 tool_path {
991 name: "ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700992 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700993 }
994 tool_path {
995 name: "nm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700996 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700997 }
998 tool_path {
999 name: "objcopy"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001000 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001001 }
1002 tool_path {
1003 name: "objdump"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001004 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001005 }
1006 tool_path {
1007 name: "strip"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001008 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001009 }
Brian Silverman8b638692017-06-26 23:10:26 -07001010 supports_gold_linker: false
Brian Silverman8b638692017-06-26 23:10:26 -07001011 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -07001012 needsPic: false
1013 compiler_flag: "-D__STDC_FORMAT_MACROS"
1014 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1015 compiler_flag: "-D__STDC_LIMIT_MACROS"
1016 compiler_flag: "-D__MK64FX512__"
1017 compiler_flag: "-DF_CPU=120000000"
1018 compiler_flag: "-Wl,--gc-sections"
1019 compiler_flag: "-D__have_long32"
1020 compiler_flag: "-fstack-protector"
1021 compiler_flag: "-mcpu=cortex-m4"
1022 compiler_flag: "-mfpu=fpv4-sp-d16"
1023 compiler_flag: "-mthumb"
1024 compiler_flag: "-mfloat-abi=hard"
1025 compiler_flag: "-fno-strict-aliasing"
1026 compiler_flag: "-fmessage-length=80"
1027 compiler_flag: "-fmax-errors=20"
1028 compiler_flag: "-Wall"
1029 compiler_flag: "-Wextra"
1030 compiler_flag: "-Wpointer-arith"
1031 compiler_flag: "-Wcast-qual"
1032 compiler_flag: "-Wwrite-strings"
1033 compiler_flag: "-Wtype-limits"
1034 compiler_flag: "-Wsign-compare"
1035 compiler_flag: "-Wformat=2"
1036 compiler_flag: "-Werror"
1037 compiler_flag: "-Wstrict-aliasing=2"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001038 compiler_flag: "-Wno-misleading-indentation"
1039 compiler_flag: "-Wno-int-in-bool-context"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001040 compiler_flag: "-Wdouble-promotion"
1041 compiler_flag: "-pipe"
1042 compiler_flag: "-g"
1043 compiler_flag: "-fno-common"
1044 compiler_flag: "-ffreestanding"
1045 compiler_flag: "-fbuiltin"
1046 linker_flag: "-no-canonical-prefixes"
1047 linker_flag: "-mcpu=cortex-m4"
1048 linker_flag: "-mfpu=fpv4-sp-d16"
1049 linker_flag: "-mthumb"
1050 linker_flag: "-mfloat-abi=hard"
1051 linker_flag: "-fno-strict-aliasing"
1052 linker_flag: "--specs=nano.specs"
1053 linker_flag: "-lgcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001054 linker_flag: "-lstdc++_nano"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001055 linker_flag: "-lm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001056 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001057 linker_flag: "-Tmotors/core/kinetis_512_256.ld"
1058 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman8b638692017-06-26 23:10:26 -07001059 objcopy_embed_flag: "-I"
1060 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001061 compilation_mode_flags {
1062 mode: OPT
1063 compiler_flag: "-O2"
1064 compiler_flag: "-finline-functions"
1065 compiler_flag: "-ffast-math"
1066 compiler_flag: "-funroll-loops"
1067 compiler_flag: "-DNDEBUG"
1068 compiler_flag: "-ffunction-sections"
1069 linker_flag: "-Wl,--gc-sections"
1070 }
1071 linking_mode_flags {
1072 mode: FULLY_STATIC
1073 }
1074 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1075 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1076 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1077 cxx_builtin_include_directory: "/usr/include/newlib"
1078 builtin_sysroot: ""
1079 unfiltered_cxx_flag: "-no-canonical-prefixes"
1080 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1081 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1082 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1083 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1084 supports_normalizing_ar: false
1085 supports_start_end_lib: false
1086 supports_interface_shared_objects: false
1087 supports_incremental_linker: false
1088 supports_fission: false
Brian Silverman8b638692017-06-26 23:10:26 -07001089 feature {
1090 name: "dbg"
Brian Silverman8b638692017-06-26 23:10:26 -07001091 flag_set {
1092 action: "preprocess-assemble"
1093 action: "c-compile"
1094 action: "c++-compile"
1095 action: "c++-header-parsing"
1096 action: "c++-header-preprocessing"
1097 action: "c++-module-compile"
1098 flag_group {
1099 flag: "-fno-omit-frame-pointer"
1100 }
1101 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001102 implies: "all_modes"
Brian Silverman8b638692017-06-26 23:10:26 -07001103 }
Brian Silverman8b638692017-06-26 23:10:26 -07001104 feature {
1105 name: "opt"
1106 implies: "all_modes"
1107 }
1108 feature {
1109 name: "fastbuild"
1110 implies: "all_modes"
1111 }
Brian Silverman8b638692017-06-26 23:10:26 -07001112 feature {
1113 name: "all_modes"
1114 flag_set {
1115 action: "preprocess-assemble"
1116 action: "assemble"
1117 action: "c-compile"
1118 flag_group {
1119 flag: "--std=gnu99"
1120 }
1121 }
1122 flag_set {
1123 action: "c++-compile"
1124 action: "c++-header-parsing"
1125 action: "c++-header-preprocessing"
1126 action: "c++-module-compile"
1127 flag_group {
James Kuszmaul3ae42262019-11-08 12:33:41 -08001128 flag: "--std=gnu++1z"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001129 flag: "-fno-exceptions"
1130 flag: "-fno-rtti"
1131 }
1132 }
1133 }
1134 feature {
1135 name: "include_paths"
1136 flag_set {
1137 action: "preprocess-assemble"
1138 action: "c-compile"
1139 action: "c++-compile"
1140 action: "c++-header-parsing"
1141 action: "c++-header-preprocessing"
1142 action: "c++-module-compile"
1143 flag_group {
1144 flag: "-iquote"
1145 flag: "%{quote_include_paths}"
1146 iterate_over: "quote_include_paths"
1147 }
1148 flag_group {
1149 flag: "-I%{include_paths}"
1150 iterate_over: "include_paths"
1151 }
1152 flag_group {
1153 flag: "-I"
1154 flag: "%{system_include_paths}"
1155 iterate_over: "system_include_paths"
1156 }
1157 }
1158 }
1159}
1160toolchain {
1161 toolchain_identifier: "cortex-m4f-k22"
1162 host_system_name: "local"
1163 target_system_name: "cortex-m4f-k22"
1164 target_cpu: "cortex-m4f-k22"
1165 target_libc: "cortex-m4f-k22"
1166 compiler: "gcc"
1167 abi_version: "cortex-m4f-k22"
1168 abi_libc_version: "cortex-m4f-k22"
1169 tool_path {
1170 name: "ar"
1171 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
1172 }
1173 tool_path {
1174 name: "compat-ld"
1175 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1176 }
1177 tool_path {
1178 name: "cpp"
1179 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
1180 }
1181 tool_path {
1182 name: "dwp"
1183 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
1184 }
1185 tool_path {
1186 name: "gcc"
1187 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
1188 }
1189 tool_path {
1190 name: "gcov"
1191 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
1192 }
1193 tool_path {
1194 name: "ld"
1195 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1196 }
1197 tool_path {
1198 name: "nm"
1199 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
1200 }
1201 tool_path {
1202 name: "objcopy"
1203 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
1204 }
1205 tool_path {
1206 name: "objdump"
1207 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
1208 }
1209 tool_path {
1210 name: "strip"
1211 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
1212 }
1213 supports_gold_linker: false
1214 supports_thin_archives: false
1215 needsPic: false
1216 compiler_flag: "-D__STDC_FORMAT_MACROS"
1217 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1218 compiler_flag: "-D__STDC_LIMIT_MACROS"
1219 compiler_flag: "-D__MK22FX512__"
1220 compiler_flag: "-DF_CPU=120000000"
1221 compiler_flag: "-Wl,--gc-sections"
1222 compiler_flag: "-D__have_long32"
1223 compiler_flag: "-fstack-protector"
1224 compiler_flag: "-mcpu=cortex-m4"
1225 compiler_flag: "-mfpu=fpv4-sp-d16"
1226 compiler_flag: "-mthumb"
1227 compiler_flag: "-mfloat-abi=hard"
1228 compiler_flag: "-fno-strict-aliasing"
1229 compiler_flag: "-fmessage-length=80"
1230 compiler_flag: "-fmax-errors=20"
1231 compiler_flag: "-Wall"
1232 compiler_flag: "-Wextra"
1233 compiler_flag: "-Wpointer-arith"
1234 compiler_flag: "-Wcast-qual"
1235 compiler_flag: "-Wwrite-strings"
1236 compiler_flag: "-Wtype-limits"
1237 compiler_flag: "-Wsign-compare"
1238 compiler_flag: "-Wformat=2"
1239 compiler_flag: "-Werror"
1240 compiler_flag: "-Wstrict-aliasing=2"
1241 compiler_flag: "-Wno-misleading-indentation"
1242 compiler_flag: "-Wno-int-in-bool-context"
1243 compiler_flag: "-Wdouble-promotion"
1244 compiler_flag: "-pipe"
1245 compiler_flag: "-g"
1246 compiler_flag: "-fno-common"
1247 compiler_flag: "-ffreestanding"
1248 compiler_flag: "-fbuiltin"
1249 linker_flag: "-no-canonical-prefixes"
1250 linker_flag: "-mcpu=cortex-m4"
1251 linker_flag: "-mfpu=fpv4-sp-d16"
1252 linker_flag: "-mthumb"
1253 linker_flag: "-mfloat-abi=hard"
1254 linker_flag: "-fno-strict-aliasing"
1255 linker_flag: "--specs=nano.specs"
1256 linker_flag: "-lgcc"
1257 linker_flag: "-lstdc++_nano"
1258 linker_flag: "-lm"
1259 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001260 linker_flag: "-Tmotors/core/kinetis_512_128.ld"
1261 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001262 objcopy_embed_flag: "-I"
1263 objcopy_embed_flag: "binary"
1264 compilation_mode_flags {
1265 mode: OPT
1266 compiler_flag: "-O2"
1267 compiler_flag: "-finline-functions"
1268 compiler_flag: "-ffast-math"
1269 compiler_flag: "-funroll-loops"
1270 compiler_flag: "-DNDEBUG"
1271 compiler_flag: "-ffunction-sections"
1272 linker_flag: "-Wl,--gc-sections"
1273 }
1274 linking_mode_flags {
1275 mode: FULLY_STATIC
1276 }
1277 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1278 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1279 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1280 cxx_builtin_include_directory: "/usr/include/newlib"
1281 builtin_sysroot: ""
1282 unfiltered_cxx_flag: "-no-canonical-prefixes"
1283 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1284 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1285 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1286 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1287 supports_normalizing_ar: false
1288 supports_start_end_lib: false
1289 supports_interface_shared_objects: false
1290 supports_incremental_linker: false
1291 supports_fission: false
1292 feature {
1293 name: "dbg"
1294 flag_set {
1295 action: "preprocess-assemble"
1296 action: "c-compile"
1297 action: "c++-compile"
1298 action: "c++-header-parsing"
1299 action: "c++-header-preprocessing"
1300 action: "c++-module-compile"
1301 flag_group {
1302 flag: "-fno-omit-frame-pointer"
1303 }
1304 }
1305 implies: "all_modes"
1306 }
1307 feature {
1308 name: "opt"
1309 implies: "all_modes"
1310 }
1311 feature {
1312 name: "fastbuild"
1313 implies: "all_modes"
1314 }
1315 feature {
1316 name: "all_modes"
1317 flag_set {
1318 action: "preprocess-assemble"
1319 action: "assemble"
1320 action: "c-compile"
1321 flag_group {
1322 flag: "--std=gnu99"
1323 }
1324 }
1325 flag_set {
1326 action: "c++-compile"
1327 action: "c++-header-parsing"
1328 action: "c++-header-preprocessing"
1329 action: "c++-module-compile"
1330 flag_group {
James Kuszmaul3ae42262019-11-08 12:33:41 -08001331 flag: "--std=gnu++1z"
Brian Silverman8b638692017-06-26 23:10:26 -07001332 flag: "-fno-exceptions"
1333 flag: "-fno-rtti"
1334 }
1335 }
1336 }
Brian Silverman8b638692017-06-26 23:10:26 -07001337 feature {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001338 name: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001339 flag_set {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001340 action: "preprocess-assemble"
1341 action: "c-compile"
1342 action: "c++-compile"
1343 action: "c++-header-parsing"
1344 action: "c++-header-preprocessing"
1345 action: "c++-module-compile"
Brian Silverman8b638692017-06-26 23:10:26 -07001346 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001347 flag: "-iquote"
1348 flag: "%{quote_include_paths}"
1349 iterate_over: "quote_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001350 }
1351 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001352 flag: "-I%{include_paths}"
1353 iterate_over: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001354 }
1355 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001356 flag: "-I"
1357 flag: "%{system_include_paths}"
1358 iterate_over: "system_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001359 }
1360 }
1361 }
1362}