Lines Matching full:sysroot
2 // sysroot to make these tests independent of the host system.
6 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
9 // CHECK-LD-32: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
11 // CHECK-LD-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0"
12 // CHECK-LD-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/lib"
13 // CHECK-LD-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../.."
14 // CHECK-LD-32: "-L[[SYSROOT]]/lib"
15 // CHECK-LD-32: "-L[[SYSROOT]]/usr/lib"
19 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
22 // CHECK-LD-64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
27 // CHECK-LD-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0"
28 // CHECK-LD-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/lib"
29 // CHECK-LD-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../.."
30 // CHECK-LD-64: "-L[[SYSROOT]]/lib"
31 // CHECK-LD-64: "-L[[SYSROOT]]/usr/lib"
39 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
42 // CHECK-LD-64-STATIC-LIBGCC: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
47 // CHECK-LD-64-STATIC-LIBGCC: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0"
48 // CHECK-LD-64-STATIC-LIBGCC: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/lib"
49 // CHECK-LD-64-STATIC-LIBGCC: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../.."
50 // CHECK-LD-64-STATIC-LIBGCC: "-L[[SYSROOT]]/lib"
51 // CHECK-LD-64-STATIC-LIBGCC: "-L[[SYSROOT]]/usr/lib"
59 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
62 // CHECK-LD-64-STATIC: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
68 // CHECK-LD-64-STATIC: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0"
69 // CHECK-LD-64-STATIC: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/lib"
70 // CHECK-LD-64-STATIC: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../.."
71 // CHECK-LD-64-STATIC: "-L[[SYSROOT]]/lib"
72 // CHECK-LD-64-STATIC: "-L[[SYSROOT]]/usr/lib"
79 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
84 // RUN: --sysroot=%S/Inputs/multilib_32bit_linux_tree \
86 // CHECK-32-TO-32: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
88 // CHECK-32-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0"
89 // CHECK-32-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/lib/../lib32"
90 // CHECK-32-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../lib32"
91 // CHECK-32-TO-32: "-L[[SYSROOT]]/lib/../lib32"
92 // CHECK-32-TO-32: "-L[[SYSROOT]]/usr/lib/../lib32"
93 // CHECK-32-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/lib"
94 // CHECK-32-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../.."
95 // CHECK-32-TO-32: "-L[[SYSROOT]]/lib"
96 // CHECK-32-TO-32: "-L[[SYSROOT]]/usr/lib"
100 // RUN: --sysroot=%S/Inputs/multilib_32bit_linux_tree \
102 // CHECK-32-TO-64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
104 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/64"
105 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/lib/../lib64"
106 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../lib64"
107 // CHECK-32-TO-64: "-L[[SYSROOT]]/lib/../lib64"
108 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib/../lib64"
109 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0"
110 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/lib"
111 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../.."
112 // CHECK-32-TO-64: "-L[[SYSROOT]]/lib"
113 // CHECK-32-TO-64: "-L[[SYSROOT]]/usr/lib"
117 // RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree \
119 // CHECK-64-TO-64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
121 // CHECK-64-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0"
122 // CHECK-64-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/lib/../lib64"
123 // CHECK-64-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../lib64"
124 // CHECK-64-TO-64: "-L[[SYSROOT]]/lib/../lib64"
125 // CHECK-64-TO-64: "-L[[SYSROOT]]/usr/lib/../lib64"
126 // CHECK-64-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/lib"
127 // CHECK-64-TO-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../.."
128 // CHECK-64-TO-64: "-L[[SYSROOT]]/lib"
129 // CHECK-64-TO-64: "-L[[SYSROOT]]/usr/lib"
133 // RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree \
135 // CHECK-64-TO-32: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
137 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/32"
138 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/lib/../lib32"
139 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../lib32"
140 // CHECK-64-TO-32: "-L[[SYSROOT]]/lib/../lib32"
141 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib/../lib32"
142 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0"
143 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../../../x86_64-unknown-linux/lib"
144 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0/../../.."
145 // CHECK-64-TO-32: "-L[[SYSROOT]]/lib"
146 // CHECK-64-TO-32: "-L[[SYSROOT]]/usr/lib"
151 // RUN: --sysroot=%S/Inputs/multilib_32bit_linux_tree \
152 // RUN: | FileCheck --check-prefix=CHECK-64-TO-32-SYSROOT %s
153 // CHECK-64-TO-32-SYSROOT: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
154 // CHECK-64-TO-32-SYSROOT: "{{.*}}/usr/lib/gcc/x86_64-unknown-linux/4.6.0/32{{/|\\\\}}crtbegin.o"
155 // CHECK-64-TO-32-SYSROOT: "-L{{[^"]*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/32"
156 // CHECK-64-TO-32-SYSROOT: "-L[[SYSROOT]]/lib/../lib32"
157 // CHECK-64-TO-32-SYSROOT: "-L[[SYSROOT]]/usr/lib/../lib32"
158 // CHECK-64-TO-32-SYSROOT: "-L{{[^"]*}}/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0"
159 // CHECK-64-TO-32-SYSROOT: "-L[[SYSROOT]]/lib"
160 // CHECK-64-TO-32-SYSROOT: "-L[[SYSROOT]]/usr/lib"
165 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
167 // CHECK-INSTALL-DIR-32: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
176 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
178 // CHECK-INSTALL-DIR-64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
180 // CHECK-INSTALL-DIR-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-unknown-linux/4.6.0"
187 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
189 // CHECK-GCC-VERSION1: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
195 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
197 // CHECK-GCC-VERSION2: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
203 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
205 // CHECK-GCC-VERSION3: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
211 // RUN: --sysroot=%S/Inputs/basic_linux_tree \
213 // CHECK-GCC-VERSION4: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
220 // RUN: --sysroot=%S/Inputs/ubuntu_11.04_multiarch_tree \
222 // CHECK-UBUNTU-11-04: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
224 // CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5"
225 // CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../../i386-linux-gnu"
226 // CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/usr/lib/i386-linux-gnu"
227 // CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../.."
228 // CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/lib"
229 // CHECK-UBUNTU-11-04: "-L[[SYSROOT]]/usr/lib"
234 // RUN: --sysroot=%S/Inputs/ubuntu_12.04_LTS_multiarch_tree \
236 // CHECK-UBUNTU-12-04-ARM-HF: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
240 // CHECK-UBUNTU-12-04-ARM-HF: "-L[[SYSROOT]]/usr/lib/gcc/arm-linux-gnueabihf/4.6.3"
241 // CHECK-UBUNTU-12-04-ARM-HF: "-L[[SYSROOT]]/usr/lib/gcc/arm-linux-gnueabihf/4.6.3/../../../arm-linux-gnueabihf"
242 // CHECK-UBUNTU-12-04-ARM-HF: "-L[[SYSROOT]]/lib/arm-linux-gnueabihf"
243 // CHECK-UBUNTU-12-04-ARM-HF: "-L[[SYSROOT]]/usr/lib/arm-linux-gnueabihf"
244 // CHECK-UBUNTU-12-04-ARM-HF: "-L[[SYSROOT]]/usr/lib/gcc/arm-linux-gnueabihf/4.6.3/../../.."
251 // RUN: --sysroot=%S/Inputs/fedora_18_tree \
253 // CHECK-FEDORA-18-ARM-HF: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
257 // CHECK-FEDORA-18-ARM-HF: "-L[[SYSROOT]]/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2"
258 // CHECK-FEDORA-18-ARM-HF: "-L[[SYSROOT
259 // CHECK-FEDORA-18-ARM-HF: "-L[[SYSROOT]]/lib"
260 // CHECK-FEDORA-18-ARM-HF: "-L[[SYSROOT]]/usr/lib"
266 // RUN: --sysroot=%S/Inputs/ubuntu_12.04_LTS_multiarch_tree \
268 // CHECK-UBUNTU-12-04-ARM: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
272 // CHECK-UBUNTU-12-04-ARM: "-L[[SYSROOT]]/usr/lib/gcc/arm-linux-gnueabi/4.6.1"
273 // CHECK-UBUNTU-12-04-ARM: "-L[[SYSROOT]]/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../arm-linux-gnueabi"
274 // CHECK-UBUNTU-12-04-ARM: "-L[[SYSROOT]]/lib/arm-linux-gnueabi"
275 // CHECK-UBUNTU-12-04-ARM: "-L[[SYSROOT]]/usr/lib/arm-linux-gnueabi"
276 // CHECK-UBUNTU-12-04-ARM: "-L[[SYSROOT]]/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../.."
283 // RUN: --sysroot=%S/Inputs/suse_10.3_ppc64_tree \
285 // CHECK-SUSE-10-3-PPC64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
287 // CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64"
288 // CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/usr/lib/gcc/powerpc64-suse-linux/4.1.2/../../../../lib64"
289 // CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/lib/../lib64"
290 // CHECK-SUSE-10-3-PPC64: "-L[[SYSROOT]]/usr/lib/../lib64"
356 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
358 // CHECK-DEBIAN-X86: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
360 // CHECK-DEBIAN-X86: "-L[[SYSROOT]]/usr/lib/gcc/i686-linux-gnu/4.5"
361 // CHECK-DEBIAN-X86: "-L[[SYSROOT]]/usr/lib/gcc/i686-linux-gnu/4.5/../../../i386-linux-gnu"
362 // CHECK-DEBIAN-X86: "-L[[SYSROOT]]/usr/lib/i386-linux-gnu"
363 // CHECK-DEBIAN-X86: "-L[[SYSROOT]]/usr/lib/gcc/i686-linux-gnu/4.5/../../.."
364 // CHECK-DEBIAN-X86: "-L[[SYSROOT]]/lib"
365 // CHECK-DEBIAN-X86: "-L[[SYSROOT]]/usr/lib"
368 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
370 // CHECK-DEBIAN-X86-64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
372 // CHECK-DEBIAN-X86-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-linux-gnu/4.5"
373 // CHECK-DEBIAN-X86-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-linux-gnu/4.5/../../../x86_64-linux-gnu"
374 // CHECK-DEBIAN-X86-64: "-L[[SYSROOT]]/usr/lib/x86_64-linux-gnu"
375 // CHECK-DEBIAN-X86-64: "-L[[SYSROOT]]/usr/lib/gcc/x86_64-linux-gnu/4.5/../../.."
376 // CHECK-DEBIAN-X86-64: "-L[[SYSROOT]]/lib"
377 // CHECK-DEBIAN-X86-64: "-L[[SYSROOT]]/usr/lib"
380 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
382 // CHECK-DEBIAN-PPC: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
384 // CHECK-DEBIAN-PPC: "-L[[SYSROOT]]/usr/lib/gcc/powerpc-linux-gnu/4.5"
385 // CHECK-DEBIAN-PPC: "-L[[SYSROOT]]/usr/lib/gcc/powerpc-linux-gnu/4.5/../../../powerpc-linux-gnu"
386 // CHECK-DEBIAN-PPC: "-L[[SYSROOT]]/usr/lib/powerpc-linux-gnu"
387 // CHECK-DEBIAN-PPC: "-L[[SYSROOT]]/usr/lib/gcc/powerpc-linux-gnu/4.5/../../.."
388 // CHECK-DEBIAN-PPC: "-L[[SYSROOT]]/lib"
389 // CHECK-DEBIAN-PPC: "-L[[SYSROOT]]/usr/lib"
392 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
394 // CHECK-DEBIAN-PPC64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
396 // CHECK-DEBIAN-PPC64: "-L[[SYSROOT]]/usr/lib/gcc/powerpc64-linux-gnu/4.5"
397 // CHECK-DEBIAN-PPC64: "-L[[SYSROOT]]/usr/lib/gcc/powerpc64-linux-gnu/4.5/../../../powerpc64-linux-gnu"
398 // CHECK-DEBIAN-PPC64: "-L[[SYSROOT]]/usr/lib/powerpc64-linux-gnu"
399 // CHECK-DEBIAN-PPC64: "-L[[SYSROOT]]/usr/lib/gcc/powerpc64-linux-gnu/4.5/../../.."
400 // CHECK-DEBIAN-PPC64: "-L[[SYSROOT]]/lib"
401 // CHECK-DEBIAN-PPC64: "-L[[SYSROOT]]/usr/lib"
404 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
406 // CHECK-DEBIAN-MIPS: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
408 // CHECK-DEBIAN-MIPS: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5"
409 // CHECK-DEBIAN-MIPS: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5/../../../mips-linux-gnu"
410 // CHECK-DEBIAN-MIPS: "-L[[SYSROOT]]/usr/lib/mips-linux-gnu"
411 // CHECK-DEBIAN-MIPS: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5/../../.."
412 // CHECK-DEBIAN-MIPS: "-L[[SYSROOT]]/lib"
413 // CHECK-DEBIAN-MIPS: "-L[[SYSROOT]]/usr/lib"
416 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
418 // CHECK-DEBIAN-MIPSEL: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
420 // CHECK-DEBIAN-MIPSEL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5"
421 // CHECK-DEBIAN-MIPSEL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5/../../../mipsel-linux-gnu"
422 // CHECK-DEBIAN-MIPSEL: "-L[[SYSROOT]]/usr/lib/mipsel-linux-gnu"
423 // CHECK-DEBIAN-MIPSEL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5/../../.."
424 // CHECK-DEBIAN-MIPSEL: "-L[[SYSROOT]]/lib"
425 // CHECK-DEBIAN-MIPSEL: "-L[[SYSROOT]]/usr/lib"
428 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
430 // CHECK-DEBIAN-MIPS64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
432 // CHECK-DEBIAN-MIPS64: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5/64"
433 // CHECK-DEBIAN-MIPS64: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5"
434 // CHECK-DEBIAN-MIPS64: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5/../../.."
435 // CHECK-DEBIAN-MIPS64: "-L[[SYSROOT]]/lib"
436 // CHECK-DEBIAN-MIPS64: "-L[[SYSROOT]]/usr/lib"
439 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
441 // CHECK-DEBIAN-MIPS64EL: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
443 // CHECK-DEBIAN-MIPS64EL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5/64"
444 // CHECK-DEBIAN-MIPS64EL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5"
445 // CHECK-DEBIAN-MIPS64EL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5/../../.."
446 // CHECK-DEBIAN-MIPS64EL: "-L[[SYSROOT]]/lib"
447 // CHECK-DEBIAN-MIPS64EL: "-L[[SYSROOT]]/usr/lib"
450 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
452 // CHECK-DEBIAN-MIPS64-N32: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
454 // CHECK-DEBIAN-MIPS64-N32: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5/n32"
455 // CHECK-DEBIAN-MIPS64-N32: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5"
456 // CHECK-DEBIAN-MIPS64-N32: "-L[[SYSROOT]]/usr/lib/gcc/mips-linux-gnu/4.5/../../.."
457 // CHECK-DEBIAN-MIPS64-N32: "-L[[SYSROOT]]/lib"
458 // CHECK-DEBIAN-MIPS64-N32: "-L[[SYSROOT]]/usr/lib"
461 // RUN: --sysroot=%S/Inputs/debian_multiarch_tree \
463 // CHECK-DEBIAN-MIPS64EL-N32: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
465 // CHECK-DEBIAN-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5/n32"
466 // CHECK-DEBIAN-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5"
467 // CHECK-DEBIAN-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.5/../../.."
468 // CHECK-DEBIAN-MIPS64EL-N32: "-L[[SYSROOT]]/lib"
469 // CHECK-DEBIAN-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib"
474 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
478 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
482 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
486 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
488 // CHECK-ANDROID: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
490 // CHECK-ANDROID: "-L[[SYSROOT]]/usr/lib"
498 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
503 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
508 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
513 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
516 // CHECK-ANDROID-SO: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
519 // CHECK-ANDROID-SO: "-L[[SYSROOT]]/usr/lib"
527 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
532 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
537 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
542 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
545 sysroot=[[SYSROOT:[^"]+]]"
547 // CHECK-ANDROID-STATIC: "-L[[SYSROOT]]/usr/lib"
555 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
560 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
565 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
570 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \
573 // CHECK-ANDROID-PIE: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
575 // CHECK-ANDROID-PIE: "-L[[SYSROOT]]/usr/lib"
584 // RUN: --sysroot=%S/Inputs/debian_6_mips_tree \
586 // CHECK-DEBIAN-ML-MIPSEL: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
590 // CHECK-DEBIAN-ML-MIPSEL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4"
591 // CHECK-DEBIAN-ML-MIPSEL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/../../../../lib"
592 // CHECK-DEBIAN-ML-MIPSEL: "-L[[SYSROOT]]/lib/../lib"
593 // CHECK-DEBIAN-ML-MIPSEL: "-L[[SYSROOT]]/usr/lib/../lib"
594 // CHECK-DEBIAN-ML-MIPSEL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/../../.."
595 // CHECK-DEBIAN-ML-MIPSEL: "-L[[SYSROOT]]/lib"
596 // CHECK-DEBIAN-ML-MIPSEL: "-L[[SYSROOT]]/usr/lib"
600 // RUN: --sysroot=%S/Inputs/debian_6_mips_tree \
602 // CHECK-DEBIAN-ML-MIPS64EL: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
606 // CHECK-DEBIAN-ML-MIPS64EL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/64"
607 // CHECK-DEBIAN-ML-MIPS64EL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/../../../../lib64"
608 // CHECK-DEBIAN-ML-MIPS64EL: "-L[[SYSROOT]]/lib/../lib64"
609 // CHECK-DEBIAN-ML-MIPS64EL: "-L[[SYSROOT]]/usr/lib/../lib64"
610 // CHECK-DEBIAN-ML-MIPS64EL: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/../../.."
611 // CHECK-DEBIAN-ML-MIPS64EL: "-L[[SYSROOT]]/lib"
612 // CHECK-DEBIAN-ML-MIPS64EL: "-L[[SYSROOT]]/usr/lib"
616 // RUN: --sysroot=%S/Inputs/debian_6_mips_tree \
618 // CHECK-DEBIAN-ML-MIPS64EL-N32: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
622 // CHECK-DEBIAN-ML-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/n32"
623 // CHECK-DEBIAN-ML-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/../../../../lib32"
624 // CHECK-DEBIAN-ML-MIPS64EL-N32: "-L[[SYSROOT]]/lib/../lib32"
625 // CHECK-DEBIAN-ML-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib/../lib32"
626 // CHECK-DEBIAN-ML-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib/gcc/mipsel-linux-gnu/4.4/../../.."
627 // CHECK-DEBIAN-ML-MIPS64EL-N32: "-L[[SYSROOT]]/lib"
628 // CHECK-DEBIAN-ML-MIPS64EL-N32: "-L[[SYSROOT]]/usr/lib"
633 // RUN: --sysroot=%S/Inputs/freescale_ppc_tree \
635 // CHECK-FSL-PPC: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
639 // CHECK-FSL-PPC: "-L[[SYSROOT]]/usr/lib"
642 // RUN: --sysroot=%S/Inputs/freescale_ppc64_tree \
644 // CHECK-FSL-PPC64: "{{.*}}ld{{(.exe)?}}" "--sysroot=[[SYSROOT:[^"]+]]"
648 // CHECK-FSL-PPC64: "-L[[SYSROOT]]/usr/lib64/powerpc64-fsl-linux/4.6.2/../.."
652 // RUN: --sysroot=%S/Inputs/basic_linux_tree 2>&1 \
655 // RUN: --sysroot=%S/Inputs/basic_linux_tree 2>&1 \
658 // RUN: --sysroot=%S/Inputs/basic_linux_tree 2>&1 \
661 // RUN: --sysroot=%S/Inputs/basic_linux_tree 2>&1 \
666 // RUN: --sysroot=%S/Inputs/basic_linux_tree 2>&1 \
673 // RUN: --sysroot=%S/Inputs/basic_linux_tree 2>& 1 \