File tree 3 files changed +16
-2
lines changed
ci/docker/linux-tested-targets
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ ENV RUST_CONFIGURE_ARGS \
32
32
--musl-root-x86_64=/musl-x86_64 \
33
33
--musl-root-i686=/musl-i686
34
34
35
- # FIXME should also test i686-unknown-linux-musl
36
35
ENV SCRIPT \
37
36
python2.7 ../x.py test \
38
37
--target x86_64-unknown-linux-musl \
38
+ --target i686-unknown-linux-musl \
39
39
--target i586-unknown-linux-gnu \
40
40
&& \
41
41
python2.7 ../x.py dist \
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ cp lib/libunwind.a /musl-x86_64/lib
57
57
# for x86_64 again)
58
58
rm -rf *
59
59
# for i686
60
- CFLAGS=" $CFLAGS -m32 -g " CXXFLAGS=" $CXXFLAGS -m32 -g " cmake ../libunwind-release_37 \
60
+ CFLAGS=" $CFLAGS -m32" CXXFLAGS=" $CXXFLAGS -m32" cmake ../libunwind-release_37 \
61
61
-DLLVM_PATH=/build/llvm-release_37 \
62
62
-DLIBUNWIND_ENABLE_SHARED=0
63
63
make -j10
Original file line number Diff line number Diff line change @@ -17,6 +17,20 @@ pub fn target() -> TargetResult {
17
17
base. pre_link_args . push ( "-m32" . to_string ( ) ) ;
18
18
base. pre_link_args . push ( "-Wl,-melf_i386" . to_string ( ) ) ;
19
19
20
+ // The unwinder used by i686-unknown-linux-musl, the LLVM libunwind
21
+ // implementation, apparently relies on frame pointers existing... somehow.
22
+ // It's not clear to me why nor where this dependency is introduced, but the
23
+ // test suite does not pass with frame pointers eliminated and it passes
24
+ // with frame pointers present.
25
+ //
26
+ // If you think that this is no longer necessary, then please feel free to
27
+ // ignore! If it still passes the test suite and the bots then sounds good
28
+ // to me.
29
+ //
30
+ // This may or may not be related to this bug:
31
+ // https://llvm.org/bugs/show_bug.cgi?id=30879
32
+ base. eliminate_frame_pointer = false ;
33
+
20
34
Ok ( Target {
21
35
llvm_target : "i686-unknown-linux-musl" . to_string ( ) ,
22
36
target_endian : "little" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments