Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f797b76

Browse files
committedFeb 24, 2022
Attempt to fix CI
1 parent 3068364 commit f797b76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎test/elf/compressed-debug-info-i386.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -x
22
export LANG=
33
set -e
44
CC="${CC:-cc}"
@@ -14,19 +14,19 @@ mkdir -p $t
1414

1515
which dwarfdump >& /dev/null || { echo skipped; exit; }
1616

17-
cat <<EOF | $CXX -c -o $t/a.o -g -gz=zlib-gnu -xc++ - -m32
17+
cat <<EOF | $CXX -m32 -c -o $t/a.o -g -gz=zlib-gnu -xc++ -
1818
int main() {
1919
return 0;
2020
}
2121
EOF
2222

23-
cat <<EOF | $CXX -c -o $t/b.o -g -gz=zlib -xc++ - -m32
23+
cat <<EOF | $CXX -m32 -c -o $t/b.o -g -gz=zlib -xc++ -
2424
int foo() {
2525
return 0;
2626
}
2727
EOF
2828

29-
$CC -B. -o $t/exe $t/a.o $t/b.o -m32
29+
$CXX -B. -m32 -o $t/exe $t/a.o $t/b.o
3030
dwarfdump $t/exe > /dev/null
3131
readelf --sections $t/exe | fgrep -q .debug_info
3232

0 commit comments

Comments
 (0)
Please sign in to comment.